Page 1 of 1

Changing these couplings.

Unread postPosted: Mon Jun 17, 2013 11:32 pm
by spartantrain32
Any ideas on how i would change the couplings on here to U.S couplings?

Re: Changing these couplings.

Unread postPosted: Tue Jun 18, 2013 5:09 am
by GreatNortherner
Hi,

Changing couplers on rolling stock is actually quite simple, you only need to edit two small parts in the car's BIN file (with RW_Tools, for example).

Load the car's BIN file and look for the code below, near the top of the file. These entries reference the coupler model that gets used, in the example below this is from Sherman Hill. To change the couplers you only need to edit the parts that I highlighted in red, change them so they reference the coupler you would like to use. Or copy/paste from another railcar and overwrite the entries that are present in your current files.

<FrontCouplingBlueprintID>
<iBlueprintLibrary-cAbsoluteBlueprintID>
<BlueprintSetID>
<iBlueprintLibrary-cBlueprintSetID>
<Provider d:type="cDeltaString">RSC</Provider>
<Product d:type="cDeltaString">ShermanHill</Product>
</iBlueprintLibrary-cBlueprintSetID>
</BlueprintSetID>
<BlueprintID d:type="cDeltaString">RailVehicles\Couplings\Buckeye\Type-E\buckeye_type_e_coupling.xml</BlueprintID>
</iBlueprintLibrary-cAbsoluteBlueprintID>
</FrontCouplingBlueprintID>
<RearCouplingBlueprintID>
<iBlueprintLibrary-cAbsoluteBlueprintID>
<BlueprintSetID>
<iBlueprintLibrary-cBlueprintSetID>
<Provider d:type="cDeltaString">RSC</Provider>
<Product d:type="cDeltaString">ShermanHill</Product>
</iBlueprintLibrary-cBlueprintSetID>
</BlueprintSetID>
<BlueprintID d:type="cDeltaString">RailVehicles\Couplings\Buckeye\Type-E\buckeye_type_e_coupling.xml</BlueprintID>
</iBlueprintLibrary-cAbsoluteBlueprintID>
</RearCouplingBlueprintID>

EDIT... with the line indentations of the code it would look like this:
Code: Select all
               <FrontCouplingBlueprintID>
                  <iBlueprintLibrary-cAbsoluteBlueprintID>
                     <BlueprintSetID>
                        <iBlueprintLibrary-cBlueprintSetID>
                           <Provider d:type="cDeltaString">RSC</Provider>
                           <Product d:type="cDeltaString">ShermanHill</Product>
                        </iBlueprintLibrary-cBlueprintSetID>
                     </BlueprintSetID>
                     <BlueprintID d:type="cDeltaString">RailVehicles\Couplings\Buckeye\Type-E\buckeye_type_e_coupling.xml</BlueprintID>
                  </iBlueprintLibrary-cAbsoluteBlueprintID>
               </FrontCouplingBlueprintID>
               <RearCouplingBlueprintID>
                  <iBlueprintLibrary-cAbsoluteBlueprintID>
                     <BlueprintSetID>
                        <iBlueprintLibrary-cBlueprintSetID>
                           <Provider d:type="cDeltaString">RSC</Provider>
                           <Product d:type="cDeltaString">ShermanHill</Product>
                        </iBlueprintLibrary-cBlueprintSetID>
                     </BlueprintSetID>
                     <BlueprintID d:type="cDeltaString">RailVehicles\Couplings\Buckeye\Type-E\buckeye_type_e_coupling.xml</BlueprintID>
                  </iBlueprintLibrary-cAbsoluteBlueprintID>
               </RearCouplingBlueprintID>

Re: Changing these couplings.

Unread postPosted: Tue Jun 18, 2013 9:32 pm
by spartantrain32
Thank you :D


What all programs can i use to edit .bin files?

Re: Changing these couplings.

Unread postPosted: Tue Jun 18, 2013 11:37 pm
by bpetit
spartantrain32 wrote:Thank you :D


What all programs can i use to edit .bin files?


RWTools would be the easiest but I use Notepad

You need to convert the bin to xml to do that you need to find the serz.exe in your railworks folder. Drag the bin over serz, and you should have an xml where the bin is.

Re: Changing these couplings.

Unread postPosted: Wed Jun 19, 2013 10:14 pm
by spartantrain32
then just save the changes to the xml file?

Re: Changing these couplings.

Unread postPosted: Wed Jun 19, 2013 10:21 pm
by Chacal
Save the xml, then drag it over serz.exe to turn it back into a.bin.
Or just use RW-Tools, believe me it is worth it.

Re: Changing these couplings.

Unread postPosted: Wed Jun 19, 2013 10:23 pm
by spartantrain32
i know. lol i really want these ore cars with u.s couplings.