Sid Meier's Railroads!

Sid Meier's Railroads!

Crashes, Event Viewer
This is what is causing the crash: I re downloaded the 2005 library both 32 and 64.

looking for help:


Faulting application name: RailRoads.exe, version: 1.1.0.0, time stamp: 0x458836db
Faulting module name: MSVCR71.dll, version: 7.10.3052.4, time stamp: 0x3e561eac
Exception code: 0xc0000005
Fault offset: 0x000029c1
Faulting process id: 0x1760
Faulting application start time: 0x01daf81ce417135a
Faulting application path: E:\SteamLibrary\steamapps\common\Sid Meier's Railroads\RailRoads.exe
Faulting module path: E:\SteamLibrary\steamapps\common\Sid Meier's Railroads\MSVCR71.dll
Report Id: c5e4fdcd-8927-4ec1-9a9b-c3042d6f31c0
Faulting package full name:
Faulting package-relative application ID:

It seems to be a problem with the 2005 distributive pack that denies the game because its accessing memory its not supposed to have, in this case VRM, which I attempted the hex edit fix but that didn't work, I downloaded and fixed my distributable library, only version of 2005 library i can't dl is i64 version, but the x86 (32) and x64 are both recommended. If anyone knows how to fix the denial of access with the game it would fix the problem.
< >
Showing 1-13 of 13 comments
What? That is not enough information to diagnose the error, you are missing the memory offset that was being accessed.

Looking at address 0x000029c1 in MSVCR71.dll with a disassembler, I can see that it is a memory copy operation in the standard function memmove.
A classic reason for such a crash is attempting to copy memory to or from a nullptr, which can be caused (among other things) by the game running out of memory.
The crash is highly unlikely to be caused by the memmove function in MSVCR71.dll; if it were, it would most likely crash before you even get to the main menu.

But since you haven't provided the crash dump nor the arguments to the faulting instruction (and maybe Windows didn't even save them), it is impossible to diagnose this further and confirm whether it is a nullptr or a different address, and which part of the game code called memmove.

(I am not one of the game developers; this is just what I would check at work if I had to diagnose such a crash report.)
Oh, and the game uses x86 (32-bit). You don't need x64 for this game, and you will definitely not manage to get ia64 running on your computer.
Well, I tried a new game, in various compatibility modes. I picked finally a os that came out a couple years before the game I think. It provided game stability, but would have large hands when building rail-lines as it would I guess computate the new route information; when later into the game of say ,excess 15 trains.

I changed the 2f... tried different compatibility. Closed other running programs. I manually installed the 2005 distributable library. I put the game in Compatibility mode Vista, no game crash, but the game would in later stages have large pauses when doing specific tasks, like doubling or building an extra line in congested lines, after the long hang, the game would play normal speed. Altering route info, or buying stuff never caused any hang, alternative in the current os there was never any hanging, but would crash. Moving the anti aliasing graphics up would cause a crash from menu.

Ultimately I just lowered the graphics, compatibility mode vista, reinstalled 2005 library, and used the hex editor to change the ..~0140 location. THe last thing that worked was Vista mode, windows 7 still had a crash. The crash was reproducible with my auto save file, so it was pretty quick. Meh, I don't know if its fixed, but finally completed one game, lol From start to finish zero crashes, no reloading. Except from breaking from the game.
Even Vista is newer than this game. According to Wikipedia, it launched in November 2006, whereas this game launched October 16, 2006.

And yeah, the game is full of issues and sometimes crashes even with the hex edit change. Frequent autosaves are an absolute must.

But without the hex change, it crashes a lot more often. I was getting crashes every 5-10 minutes in some maps until I found that.
The crashes every 2-3 minutes on Windows 11. Unfortunately, I'm going to ask for a refund.
Originally posted by user241101:
The crashes every 2-3 minutes on Windows 11. Unfortunately, I'm going to ask for a refund.
Have you tried following the mentioned guide?
https://steamcommunity.com/sharedfiles/filedetails/?id=1349679487
Still crashes occasionally even with that LAA manual fix.
Something interesting, though I'm not sure how helpful...

I run the game on Linux through Proton (no patches or LAA fixes) and I've never had the game crash on me like it did on Windows. Not even once. I've no idea why, and I understand that switching to Linux isn't a practical solution, but I thought I'd share anyway.
Originally posted by chimeforest:
Something interesting, though I'm not sure how helpful...

I run the game on Linux through Proton (no patches or LAA fixes) and I've never had the game crash on me like it did on Windows. Not even once. I've no idea why, and I understand that switching to Linux isn't a practical solution, but I thought I'd share anyway.
It looks like Proton applies an equivalent patch by default.

https://github.com/ValveSoftware/Proton/blob/f1933d3f9cde5b9fdd357f53cf509f7fee362ade/README.md?plain=1#L300:
Force Wine to enable the LARGE_ADDRESS_AWARE flag for all executables. Enabled by default.

Looking into it further, it seems to be enabled by default since Proton 5.0-4: https://github.com/ValveSoftware/Proton/commit/f96c8d6e6a10725fa50e12a03238e76a817cf5f2
That also matches the reports on ProtonDB (no crash reports since Proton 5.0-9)
Originally posted by Nulano:
It looks like Proton applies an equivalent patch by default.

Ah, excellent! That makes sense.
Thanks for digging into the details and explaining it =]
Originally posted by G N ⊕ M E:
https://steamcommunity.com/sharedfiles/filedetails/?id=3689288993

I would use the 4GB LAA not the 3GB memory patch

https://github.com/ageekhere/Definitive-SMR-Launcher/tree/main/steam

I would use RailRoads_LAA_OpenSpy as it uses the 4GB LAA and uses the openspy servers for multiplayer.
Originally posted by thecore:
Originally posted by G N ⊕ M E:
https://steamcommunity.com/sharedfiles/filedetails/?id=3689288993

I would use the 4GB LAA not the 3GB memory patch

https://github.com/ageekhere/Definitive-SMR-Launcher/tree/main/steam

I would use RailRoads_LAA_OpenSpy as it uses the 4GB LAA and uses the openspy servers for multiplayer.

Custom maps can still crash though.
< >
Showing 1-13 of 13 comments
Per page: 1530 50