How to remove the engineer /crew from the cab ?

Help and support forum for Mike Simpson's RW Tools

Moderator: mikesimpson

How to remove the engineer /crew from the cab ?

Unread postby LA1IMPALA » Thu Mar 01, 2018 7:49 pm

so is it possible ?
User avatar
LA1IMPALA
 
Posts: 21
Joined: Sat Feb 01, 2014 10:08 pm

Re: How to remove the engineer /crew from the cab ?

Unread postby CArailroader » Thu Mar 01, 2018 8:09 pm

Yes it is! The engineer and fireman are found in an engine's bin file. Delete that portion and they dissappear.
CArailroader
 
Posts: 480
Joined: Fri Sep 16, 2016 9:16 pm
Location: California

Re: How to remove the engineer /crew from the cab ?

Unread postby BNSFdude » Thu Mar 01, 2018 8:10 pm

Find the driver or whatever child objects and delete them from the bin.
Anthony Wood
Audio Engineer - Searchlight Simulations
User avatar
BNSFdude
 
Posts: 2721
Joined: Tue Nov 29, 2011 1:46 am

Re: How to remove the engineer /crew from the cab ?

Unread postby TheTeenageFoamer » Thu Mar 01, 2018 11:30 pm

Yes it is possible! In the locomotives .bin file, there is a line of text that usually contains the words: Driver01, and Driver02 (if it has two people in the cab) you just remove or just put xx in the file path.
-TheTeenageFoamer
User avatar
TheTeenageFoamer
 
Posts: 783
Joined: Sun Oct 18, 2015 1:37 pm

Re: How to remove the engineer /crew from the cab ?

Unread postby LA1IMPALA » Fri Mar 02, 2018 5:32 pm

thanks BNSFdude , Berkshirefan765, CArailroader !!howdy!! !*salute*! **!!bow!!** *!lol!*
User avatar
LA1IMPALA
 
Posts: 21
Joined: Sat Feb 01, 2014 10:08 pm

Re: How to remove the engineer /crew from the cab ?

Unread postby LA1IMPALA » Mon Mar 05, 2018 11:27 pm

....and the newer scenarios are in a compressed .ap file. I opened it with WinRAR or 7zip , I extracted all the files , actually you just need to extract the locomotive name.bin, then use RW TOOLS "open ts2016 file" works with ts2018 to open the locomotive name.bin use find and replace look for driver, prefix driver with xx. BTW backup your whole trainsim folder first to another location before doing anything. somewhere in RWTOOLS there is an option to open .ap files, I have not found it.
then after done w/ editing add back the locomotivename.bin to the .ap archive.
User avatar
LA1IMPALA
 
Posts: 21
Joined: Sat Feb 01, 2014 10:08 pm

Re: How to remove the engineer /crew from the cab ?

Unread postby Chacal » Tue Mar 06, 2018 12:42 am

LA1IMPALA wrote:then after done w/ editing add back the locomotivename.bin to the .ap archive.


NO! NO! NO!
Don't do this last step.
The whole .ap file system is designed so you can extract a file to its intended destination (create the necessary folders, or just use RW-Tools), modify it, and the game will use your modified file instead of the one in the .ap file.
If you ever mess up, you can delete your file and the game will revert back to the one in the .ap.
Never change an .ap file.
Over the hill and gathering speed
Chacal
Site Admin
 
Posts: 6516
Joined: Tue Jul 05, 2011 1:11 pm
Location: Quebec, Canada

Re: How to remove the engineer /crew from the cab ?

Unread postby ChrisOnline » Tue Mar 06, 2018 9:42 am

And I am going to repeat, repeat, repeat. Do NOT unpack the whole .ap file, just drag the required file(s) out to edit. Place them in the same file structure as in the .ap file (RW_Tools allows you to do this)

As Chacal says, as long as they are placed in the correct file structure (outside the .ap file) then they will be read by the program INSTEAD of the version within the .ap file

By the way, a tip . . . open an .ap file with your favorite zip software, and set that as the default - so when you click on .ap file, it automatically opens in a window showing the file structure

This is my hobby horse and I wish developers would stop giving instructions saying "extract the .ap file". NO NO NO!!!!!!!

Perhaps it needs a headline message pinned to the top of every page????
ChrisOnline
 
Posts: 330
Joined: Tue Oct 02, 2012 11:47 am

Re: How to remove the engineer /crew from the cab ?

Unread postby latimers » Tue Mar 06, 2018 3:03 pm

Mike Simpson's RW_Tools will do this for you.
latimers
 
Posts: 145
Joined: Thu Jul 26, 2012 9:29 pm
Location: Auckland, New Zealand

Re: How to remove the engineer /crew from the cab ?

Unread postby mikesimpson » Tue Mar 06, 2018 6:04 pm

As Bob says above, select the Loco in RW_Tools Asset Editor, click the button 'Display Child Entries' select 'Driver' and delete this item and it will do all of the work for you, no need to manually edit the .bin file.

Mike
mikesimpson
 
Posts: 364
Joined: Sun Feb 15, 2009 4:49 pm

Re: How to remove the engineer /crew from the cab ?

Unread postby LA1IMPALA » Wed Mar 14, 2018 10:08 pm

And I am going to repeat, repeat, repeat. Do NOT unpack the whole .ap file, just drag the required file(s) out to edit. Place them in the same file structure as in the .ap file (RW_Tools allows you to do this)
so I open the .ap file in WinRAR and find the locomotive.bin file and extract it outside of the .ap file and leave it there and edit? so far I have been able to remove the driver(s) by using the find and replace in RW Tools, putting xx in front of driver...except for drivers that have the coveralls on usually driving an SD40 UP Locomotive in Sherman hill and Ohio steel. For some reason they can't be stopped !*hp*!

As Bob says above, select the Loco in RW_Tools Asset Editor, click the button 'Display Child Entries' select 'Driver' and delete this item and it will do all of the work for you, no need to manually edit the .bin file.

i have the loco.bin file selected in left window, when i click "display child entries" i get the prompt " no rolling stock selected"

what programing language is TS written in ?
User avatar
LA1IMPALA
 
Posts: 21
Joined: Sat Feb 01, 2014 10:08 pm

Re: How to remove the engineer /crew from the cab ?

Unread postby ChrisOnline » Wed Mar 14, 2018 11:19 pm

The .bin files are just compressed .xml files, not a language as such.

You might find it easier to just drag the .bin file the .ap file (INTO THE SAME FILE STRUCTURE as inside the .ap file), then right click it and open with RW_Tools (set that as a default for future use), then you have the whole .xml code to edit - with a find facility. The driver/engineer entries are towards the end, you have to delete the whole "child" entry block (carefully, because if you get it wrong it will probably crash when run)

For example, the two blocks of code to be REMOVED in the Marias Pass ES44DC are as follows:
Code: Select all
                  <cEntityContainerBlueprint-sChild d:id="37943904">
                     <ChildName d:type="cDeltaString">Driver01</ChildName>
                     <BlueprintID>
                        <iBlueprintLibrary-cAbsoluteBlueprintID>
                           <BlueprintSetID>
                              <iBlueprintLibrary-cBlueprintSetID>
                                 <Provider d:type="cDeltaString">RSC</Provider>
                                 <Product d:type="cDeltaString">MariasPass</Product>
                              </iBlueprintLibrary-cBlueprintSetID>
                           </BlueprintSetID>
                           <BlueprintID d:type="cDeltaString">RailVehicles\Diesel\ES44DC\BNSF\Driver\ES44 Driver.xml</BlueprintID>
                        </iBlueprintLibrary-cAbsoluteBlueprintID>
                     </BlueprintID>
                     <Matrix>
                        <cHcRMatrix4x4>
                           <Element>
                              <e d:type="sFloat32" d:alt_encoding="000000A05DF7EFBF" d:precision="string">-0.998946</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="00000080067FA7BF" d:precision="string">-0.045891</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="000000000000F03F" d:precision="string">1</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="00000080067FA73F" d:precision="string">0.045891</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="000000A05DF7EFBF" d:precision="string">-0.998946</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="00000000439DF03F" d:precision="string">1.03839</e>
                              <e d:type="sFloat32" d:alt_encoding="00000020BB0B0540" d:precision="string">2.63073</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000031B91D40" d:precision="string">7.43085</e>
                              <e d:type="sFloat32" d:alt_encoding="000000000000F03F" d:precision="string">1</e>
                           </Element>
                        </cHcRMatrix4x4>
                     </Matrix>
                     <ParentNodeName d:type="cDeltaString"></ParentNodeName>
                  </cEntityContainerBlueprint-sChild>


and then immediately after that, a second block for Driver 02
ChrisOnline
 
Posts: 330
Joined: Tue Oct 02, 2012 11:47 am

Re: How to remove the engineer /crew from the cab ?

Unread postby mikesimpson » Thu Mar 15, 2018 5:25 pm

Or to make it really easy, just unpack the .bin file from the .ap archive if it is in one (note that using some zip programs to do this renders the extracted .bin file 'read only' so you must then change it to read/write to edit it - RW_Tools does this for you if you use it to extract the .bin file).

Select the .bin file in RW_Tools Edit Assets option as per the following:-

Image

Go to the highlighted buttons in the order of 'Display Child Entries', 'Driver01/Driver02' then 'Remove selected child entries' after which you can rename your new driverless loco by adding '_nd' to its name.

Mike
mikesimpson
 
Posts: 364
Joined: Sun Feb 15, 2009 4:49 pm

Re: How to remove the engineer /crew from the cab ?

Unread postby jalsina » Thu Mar 15, 2018 7:25 pm

Does RW_Tools allow to duplicate a child (to be edited later).
An example for doing that would be the old F units that have no conductor. I have done this in many F units but totally manual, by duplicating the child in the bin and editing it.
Intel i7-7900K (3.60 GHz) - ASUS Prime Z390A - 32 GB DDR4 RAM 2400 MHz
GPU EVGA GTX-1060 OC 6GB at 1920x1080, 144 Hz - Monitor ASUS VG-248QE
System Windows 11 Pro in WD SSD 500 GB. Games in Inland 1Tb M.2 NVMe PCIe
User avatar
jalsina
 
Posts: 2015
Joined: Sun Jul 05, 2015 8:32 pm

Re: How to remove the engineer /crew from the cab ?

Unread postby ChrisOnline » Thu Mar 15, 2018 7:46 pm

Can't speak for RW_Tools doing it, but you can certainly have as many people in the cab (for instance) as you wish - as long as each set of coordinates in the matrix is different (otherwise they will all be on top of each other!)
ChrisOnline
 
Posts: 330
Joined: Tue Oct 02, 2012 11:47 am

Next

Return to RW Tools

Who is online

Users browsing this forum: No registered users and 1 guest