Page 1 of 1
Adding fuel to britomart
Posted: Mon Aug 25, 2008 8:52 pm
by rfranken
I am trying to increase the level of coal in Kevin Martin's eccelent model of Britomart. It only carries 168 pounds in the coal bin, and if I drive for more than twenty minutes, I've run out. I've gone into the Britomart.xtml file and increased the capacity from 1.0 to 1000.0, but when I go into krs, the level's still always at 168.
Thanks,
Robert
Re: Adding fuel to britomart
Posted: Tue Aug 26, 2008 7:46 pm
by t1metraveller
Hi Robert,
Not sure where you're finding the 1.0 value that you're changing to 1000. The coal level for the Britomart is 0.075000.
In the CargoComponent section of the Britomart.xml file (down near the bottom):
<Capacity d:type="sFloat32">0.075000</Capacity>
Changing to 1.000 will result in 2,240 lbs. of coal. Also be sure to delete the blueprints.pak file for this unit just in case.
Important! Additionally, be aware that if you have already placed the unit in a scenario, you will probably need to delete the unit and re "place" it, then resave the scenario for it to effect the new value change. The scenario.bin file for the particular scenario that the Britomart is in contains unit information for it, including fuel levels for the "placed" unit. And though you change it in the Britomart.xml file, the scenario.bin value will not be changed and will still hold the old value.
Good luck.
Bill
Re: Adding fuel to britomart
Posted: Wed Aug 27, 2008 3:33 am
by rfranken
I just tried changing the value to 1.000000, but it doesn't seem to do much good. I tried deleting the train and putting it back in in scenarios. There might have been a couple of scenarios I missed, could that have made a difference? I even made new scenarios, but it still sticks at 167.

Here's part of the Britomart.xtml doc that I changed.
d:type="sFloat32">1.000000</Capacity>
<BulkFreightType d:type="cDeltaString">CoalFuel</BulkFreightType>
<AnimationId d:type="cDeltaString"></AnimationId>
Thank you so much for your input.
Re: Adding fuel to britomart
Posted: Wed Aug 27, 2008 7:59 am
by AndiS
Normally, it should be Britomart.xtml, and you know that you need to convert it back to .bin using serz.exe again, do you?
I don't know the Britomart, but maybe there are different versions (different liveries, setups, what not) and you happen to edit a different one than you are placing.
Re: Adding fuel to britomart
Posted: Wed Aug 27, 2008 1:59 pm
by t1metraveller
Yes, AndiS is right, you should make sure the Britomart.bin file is edited too, as I believe the game will use the .bin file over the .xml file.
Be sure to remember to delete the blueprints.pak file after this edit.
If you do edit the scenario.bin file, the lines should look like this after you have edited the fuel level. The 1.0000 is the new coal value, and the 100.0000 is the water:
<cCargoComponent d:id="471906688">
<IsPreLoaded d:type="cDeltaString">eFalse</IsPreLoaded>
<InitialLevel>
<e d:type="sFloat32" d:alt_encoding="000000000000F03F" d:precision="string">1.0000</e>
<e d:type="sFloat32" d:alt_encoding="0000000000005940" d:precision="string">100.0000</e>
</InitialLevel>
</cCargoComponent>
Bill
Re: Adding fuel to britomart
Posted: Wed Aug 27, 2008 11:48 pm
by rfranken
It seems that I have overlooked the need to change the file to a .bin file. Where can I get instructions to how to use serz.exe? When I open britomart.bin, it's mostly in jibberish. I must have missed reading a manual somewhere...
Thanks for your help,
Robert
Re: Adding fuel to britomart
Posted: Thu Aug 28, 2008 12:37 am
by AndiS
Usage of serz.exe:
0) Make a backup of the whole Britomat folder!!!
1) Locate it, I guess it is in the Rail Simulator folder. Keep the window with this folder open.
2) In another window, go to the folder with your BIN file.
3) Drag the BIN file onto the serz.exe icon. You will find a XML file in the folder where the BIN is.
4) Edit the XML file carefully, using notepad in your case. Be sure not to modify anything other than the one number.
5) Drag the XML file onto the serz.exe icon. You will see the modification date of the BIN file change.
Now try it out, repeat as required.
Re: Adding fuel to britomart
Posted: Thu Aug 28, 2008 1:52 am
by rfranken
It worked!
Thank you so much, you've been great.
Robert