Page 1 of 3
How to remove the engineer /crew from the cab ?

Posted:
Thu Mar 01, 2018 7:49 pm
by LA1IMPALA
so is it possible ?
Re: How to remove the engineer /crew from the cab ?

Posted:
Thu Mar 01, 2018 8:09 pm
by CArailroader
Yes it is! The engineer and fireman are found in an engine's bin file. Delete that portion and they dissappear.
Re: How to remove the engineer /crew from the cab ?

Posted:
Thu Mar 01, 2018 8:10 pm
by BNSFdude
Find the driver or whatever child objects and delete them from the bin.
Re: How to remove the engineer /crew from the cab ?

Posted:
Thu Mar 01, 2018 11:30 pm
by TheTeenageFoamer
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.
Re: How to remove the engineer /crew from the cab ?

Posted:
Fri Mar 02, 2018 5:32 pm
by LA1IMPALA
Re: How to remove the engineer /crew from the cab ?

Posted:
Mon Mar 05, 2018 11:27 pm
by LA1IMPALA
....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.
Re: How to remove the engineer /crew from the cab ?

Posted:
Tue Mar 06, 2018 12:42 am
by Chacal
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.
Re: How to remove the engineer /crew from the cab ?

Posted:
Tue Mar 06, 2018 9:42 am
by ChrisOnline
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????
Re: How to remove the engineer /crew from the cab ?

Posted:
Tue Mar 06, 2018 3:03 pm
by latimers
Mike Simpson's RW_Tools will do this for you.
Re: How to remove the engineer /crew from the cab ?

Posted:
Tue Mar 06, 2018 6:04 pm
by mikesimpson
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
Re: How to remove the engineer /crew from the cab ?

Posted:
Wed Mar 14, 2018 10:08 pm
by LA1IMPALA
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
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 ?
Re: How to remove the engineer /crew from the cab ?

Posted:
Wed Mar 14, 2018 11:19 pm
by ChrisOnline
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
Re: How to remove the engineer /crew from the cab ?

Posted:
Thu Mar 15, 2018 5:25 pm
by mikesimpson
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:-

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
Re: How to remove the engineer /crew from the cab ?

Posted:
Thu Mar 15, 2018 7:25 pm
by jalsina
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.
Re: How to remove the engineer /crew from the cab ?

Posted:
Thu Mar 15, 2018 7:46 pm
by ChrisOnline
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!)