Sid Meier's Railroads!

Sid Meier's Railroads!

Nulano Aug 21, 2014 @ 7:32am
4
3
4
1
Fix crashing with the Manual LAA Fix (64bit Win) = "manual 3GB enable"
I have rewritten this guide as a Steam guide with screenshots: http://steamcommunity.com/sharedfiles/filedetails/?id=1349679487
Please follow that guide instead of this discussion, as it has more details.

=========================
=========================

OLD VERSION OF THIS POST FOR HISTORICAL PURPOSES

Originally posted by Nulano:

If you have trouble with text, there is a video version in post #75 (not made by me).

Many people around here have been suggesting using a 3GB enabler for SMR (such as this one http://forums.steampowered.com/forums/showthread.php?t=1090651 ), however I didn't trust any of them. Then I randomly found a hidden function of a program and that lead me to a manual solution that should always work.

Requirements:
- A hex editor (I recomend HxD - http://mh-nexus.de/en/downloads.php?product=HxD )

Steps:
1) Open railroads.exe in your hex editor. (Open your Steam installation folder - usually "C:\Program Files (x86)\Steam" then navigate to "<STEAM>\steamapps\common\Sid Meier's Railroads")
2) Find the two consecutive bytes "0F 01" near the top. My exe had them at offset 0x014E (in HxD that's row 00000140 and column 0E), but your exe might be different (but most likely not).
3) Replace the 0F with 2F by clicking to the left of the number and pressing 2
4) You should now have "2F 01".
5) Save, and you're done!

If you can't see these two bytes, try adding 20 to the byte at 0x014E, it might work (or just say that the executable is invalid, it won't make your PC explode :) ). Otherwise I'd be glad to take a look at your exe (don't forget to change the value back!), it might teach me something (my main interest is programming).
Last edited by Nulano; Apr 20, 2018 @ 5:12am
< >
Showing 61-75 of 186 comments
Ymei Feb 3, 2016 @ 1:35pm 
Obrigada! Ajudou bastante, ele não fecha mais!
Thanks from Brasil.
Win. 8.1 (x64)
how the heck do you know this stuff!!!

amazing
Nulano Feb 9, 2016 @ 4:38am 
Originally posted by SGT-Craig:
how the heck do you know this stuff!!!

amazing
It is easy! :P
Iceira Feb 16, 2016 @ 12:35am 
nulano
is it possible to locate cargo wagon exchange speed
i have notice game is simple to slow to change content
if you change 8 wagons it simple take to long a time
its 8 wagon cars removed time and then you add wagons also and reloading goods
its take over a month ( no stations in the world work that slowly )
and no i have no idea where it can be change or if even modfied

ps
and i dont know either if anyone has ever fix this before
Last edited by Iceira; Feb 16, 2016 @ 12:44am
Nulano Feb 16, 2016 @ 7:00am 
Originally posted by Iceira:
nulano
is it possible to locate cargo wagon exchange speed
i have notice game is simple to slow to change content
if you change 8 wagons it simple take to long a time
its 8 wagon cars removed time and then you add wagons also and reloading goods
its take over a month ( no stations in the world work that slowly )
and no i have no idea where it can be change or if even modfied

ps
and i dont know either if anyone has ever fix this before

I've not checked this, but I think you would modify the values in "Sid Meier's Railroads\Assets\XML\RRT_Depots.xml".
You would look for the values <iLoadUnloadTurnTime>number</iLoadUnloadTurnTime>.
It should be 4, 2, 1 in order. You could try to change these. (Less is faster; I think they have to be positive whole numbers)

But I would rather recommend that you upgrade you stations (Depot -> Station -> Terminal) or keep the wagons on the train (e.g. Coal Mine [4xCoal] -> Some City [4x Coal] -> Coal Mine).
Iceira Feb 16, 2016 @ 8:06am 
Originally posted by Nulano:
Originally posted by Iceira:
nulano
is it possible to locate cargo wagon exchange speed
i have notice game is simple to slow to change content
if you change 8 wagons it simple take to long a time
its 8 wagon cars removed time and then you add wagons also and reloading goods
its take over a month ( no stations in the world work that slowly )
and no i have no idea where it can be change or if even modfied

ps
and i dont know either if anyone has ever fix this before

I've not checked this, but I think you would modify the values in "Sid Meier's Railroads\Assets\XML\RRT_Depots.xml".
You would look for the values <iLoadUnloadTurnTime>number</iLoadUnloadTurnTime>.
It should be 4, 2, 1 in order. You could try to change these. (Less is faster; I think they have to be positive whole numbers)

But I would rather recommend that you upgrade you stations (Depot -> Station -> Terminal) or keep the wagons on the train (e.g. Coal Mine [4xCoal] -> Some City [4x Coal] -> Coal Mine).

already terminals but look how longtime it take a switchyard to change wagons + reload its almost a month, that is a joke , i was try to cut throat a ai but he keep steal/take my goods
so i think it should be change but then i did the wagon change but it took ages and i blocked stations so long, its just not balanced enough then i thought of you if this was a hadcode bit change for insted change aka a day and then train while move fast and no wares to enemy ai
Arcadian Del Sol Mar 4, 2016 @ 3:55pm 
Originally posted by Nulano:
- A hex editor (I recomend HxD - http://mh-nexus.de/en/downloads.php?product=HxD )

Steps:
1) Open railroads.exe in your hex editor. (Open your Steam installation folder - usually "C:\Program Files (x86)\Steam" then navigate to "<STEAM>\steamapps\common\Sid Meier's Railroads")
2) Find the two consecutive bytes "0F 01" near the top (they might be reversed, I'm not sure). My exe had them at offset 0x014E (in HxD that's row 00000140 and column 0E), but your's may wary (most likely not).
3) Replace the 0F with 2F by clicking to the left of the number and pressing 2
4) Save, and you're done!

I followed these instructions and my crashing to desktop problem was solved permanently. Thank you, OP.
Last edited by Arcadian Del Sol; Mar 4, 2016 @ 3:56pm
ANARCHY May 20, 2016 @ 7:26am 
Running Windows 10 64-bit. but not running Steam version, cannot find any of the bytes Nulano is on about like 0F 01 or 0x014E...
Running v1.1
Nulano May 20, 2016 @ 8:50am 
Originally posted by ANARCHY:
Running Windows 10 64-bit. but not running Steam version, cannot find any of the bytes Nulano is on about like 0F 01 or 0x014E...
Running v1.1
Please paste here the first 0x200 (512) bytes - that is all until the 00000200 row.
To do that, just open the file in HxD, select numbers on the left up to the row 00000200, then copy-paste here.
This is simillar to what TheBestofHell12 did in post #29.
Last edited by Nulano; May 20, 2016 @ 8:51am
JP326420 May 21, 2016 @ 9:05am 
Found it and changed it pretty easily thanks to your instructions and link to the hex editor. Still crashing on Win10 x64. Something seems to trigger it because when I load the auto-save it crashes at the same spot, before 1 min which is the auto-save interval. Usually around an hour into it, I think something else might be wrong with the game as well.
Iceira May 24, 2016 @ 9:41am 
Originally posted by JP326420:
Found it and changed it pretty easily thanks to your instructions and link to the hex editor. Still crashing on Win10 x64. Something seems to trigger it because when I load the auto-save it crashes at the same spot, before 1 min which is the auto-save interval. Usually around an hour into it, I think something else might be wrong with the game as well.

Nulano fix is not everything you most do correctly, several ingame building issue with tracks and dont make loop track possible so train goes around the world to get to its stations, and this has nothing to do with this great fix that seem to have help alot of ppl.

there is several steam post with this most do so CTD can be avoided if even possible. watchout for trains that keep fumble around tracks that keep change directions that is worst clue that this game is already has issue the way you build it. and can cause crash even with delete trains depend on error impact, sorry this is experience player that learn this over time, and problem again is we all have diffrent hardware in how strong the pc and even drivers to the pc can also be a issue here.

i only see this in a end game where all town and resources is in use and 100% emptyed so max train and map 4 tracks system from all towns is in use. then i start to see this odd missing route on some train that loose its way. ( route or memory is simple deleted as bug on train )
Last edited by Iceira; May 24, 2016 @ 9:43am
ciscobell Jun 12, 2016 @ 10:18pm 
Nulano, thank you many time over!! This fix seems to have worked for me as well. I was able to play a couple of hours with no crashes. Completely different than before. And the fix was actually quite easy to implement. Thanks again :D
Last edited by ciscobell; Jun 12, 2016 @ 10:19pm
Nulano Jun 13, 2016 @ 6:01am 
Originally posted by ciscobell:
Nulano, thank you many time over!! This fix seems to have worked for me as well. I was able to play a couple of hours with no crashes. Completely different than before. And the fix was actually quite easy to implement. Thanks again :D
Always glad to be of help! :)
blasphemor Jul 2, 2016 @ 3:53pm 
Originally posted by Nulano:
Many people around here have been suggesting using a 3GB enabler for SMR (such as this one http://forums.steampowered.com/forums/showthread.php?t=1090651 ), however I didn't trust any of them. Then I randomly found a hidden function of a program and that lead me to a manual solution that should always work.

Requirements:
- A hex editor (I recomend HxD - http://mh-nexus.de/en/downloads.php?product=HxD )

Steps:
1) Open railroads.exe in your hex editor. (Open your Steam installation folder - usually "C:\Program Files (x86)\Steam" then navigate to "<STEAM>\steamapps\common\Sid Meier's Railroads")
2) Find the two consecutive bytes "0F 01" near the top (they might be reversed, I'm not sure). My exe had them at offset 0x014E (in HxD that's row 00000140 and column 0E), but your's may wary (most likely not).
3) Replace the 0F with 2F by clicking to the left of the number and pressing 2
4) Save, and you're done!

If you can't see these two bytes, try adding 20 to the byte at 0x014E, it might work (or just say that the executable is invalid, it won't make your PC explode :) ). Otherwise I'd be glad to take a look at your exe (don't forget to change the value back!), it might teach me something (my main interest is programming).

Edit: Since I can no longer be bother to link to this thread every time someone asks, I made a short link: http://www.nulano.eu/*laa


FYI - I also did this and it works perfectly, no more crashes. Using Win 10 GTX970m, 16 gigs, i7. Prior to doing this it was practically unplayable. Now I can plan as long as I want with no probs.
Royal Raven Jul 5, 2016 @ 10:21am 
I did a video on how to do the LAA fix. If you guys want to use the video for reference you can.
https://www.youtube.com/watch?v=1ooCGF-4Us0
< >
Showing 61-75 of 186 comments
Per page: 1530 50