Category Archives: Tips&Tricks

SMR Troubleshooting

Download:

Sid Meier’s Railroads has a long history of crashing. We’ve had fixes yes, but many of them are buried in ancient forum topics. This article summarizes the various bugs and known fixes. It should relieve nearly all known issues with Sid Meiers Railroad. It is organized into two sections, general fixes for bugs that effect the SMR game engine and ‘Custom map fixes’, for bugs that create defective custom maps. The majority of crashes are caused by ‘General’ bugs since these are defects in the users install of SMR while ‘custom map’ bugs are problems with the map itself.

General Fixes

Install Patch 1.10
Prior to 1.10 SMR was still a very unstable game. Updating SMR to 1.10 is critical. You do not need to install the 1.01 patch before 1.10 since 1.10 contains all the changes 1.01 had. Blame Firaxis for the close version numbers. If you were having problems and SMR was not updated to 1.10, then stop reading this article and update it. The 1.10 patch download.

3GB Enabler
Large maps logically use more RAM, unfortunately by default Railroads.exe only uses 2GB which means it will crash when it tries to use more than this. The 3GB Enabler allows Railroads.exe to use more than 2GB. If your experiencing crashes while playing large maps follow SMR Simple’s guide on installing the 3GB Enabler.

Empty the maps folder
Most maps cannot be installed while another custom map is present. This includes the ‘Holiday scenario’ official custom map. Make sure to clean out other custom maps before installing a new map, use the ‘How to empty “my games/sid meiers railroads”‘ guide.

Stock maps will crash while SAM or CIC maps are installed
If you have any SAM or CIC maps installed you will not be able to play the normal stock maps that originaly were included in SMR. To play stock maps again simply remove the SAM or CIC map.

Custom Map Fixes

Random Crashes due to Events.xml
Any map which uses a customized list of Goods must use an Events.xml which  does not contian any events that reference Goods which the map does not contian.  Should a random event come up which needs a good the map does not include in goods.xml the game will crash.  Because these crashes are random they are the most painful and mysterious to debug.

3GB Enabler Fix for Windows Vista & 7

Download:

The 3GB enabler is an awesome utility that has a magic tendency to fix one of the last remaining outstanding of Sid Meiers Railroads instability. While the process could hardly be much simpler with the script there is one rather nasty reliance; for 32bit versions of windows you need to manually tell windows to allow 3GB enabler to work. Traditionally this was done by use the 3GB switch in boot.ini. Unfortunately Windows Vista and 7 no longer use the boot.ini, but don’t worry users of Vista & 7 32bit, Microsoft didn’t leave you high and dry.

I came across the solution after Sam brought the quandary to my attention. The solution is actually quite simple, go to the start menu and in the search box type ‘cmd’, don’t hit enter. Wait until ‘cmd.exe.’ appears on the menu and then right click and select “run as administrator”. Then run this command:

BCDEDIT.EXE /Set IncreaseUserVa 2900

You can copy and paste that into the command prompt by using the right click menu, keyboard shortcuts CTRL+C and CTRL+V don’t work in the command line. Then restart for the changes to take effect.

Once you have done this and used the 3GB Enabler you should be able to play Sid Meiers Railroads crash free, so have fun and watch what time it is.

Note: Users of 64bit OSes don’t need to do this step and can use the 3GB enabler directly.

Play larger maps, 3GB enabler

Download:

Sometimes Sid Meier’s Railroads simply crashes for no fault of the player or the map maker. When this happens it is likely because the game ran out of memory and when it went to go do that one more thing it found that it couldn’t, so it crashes.

Luckily there is a fix for this. It is called the 3GB enabler and was originally made for another game that suffered from this bug, Stalker. I have edited the files so that they work with RailRoads.exe. Download the files from the bottom of this post and make sure you read the Readme I have copy pasted here:

Edit: If you are running the 32bit versions of Windows Vista or 7 you must skip the “Directions” section and instead follow this post to make 3GB enabler work under Vista & 7 due to the lack of boot.ini.

****** VERY IMPORTANT: IF YOU ARE USING AN x64 OPERATING SYSTEM: SKIP THE “DIRECTIONS” SECTION.

Introduction:

This is for intermediate to advanced Windows users.
Follow the instructions carefully…the risk is minimal, as long as you backup your RailRoads.exe.

This will enable RailRoads to use over 2GB of memory in the application space.  It uses conventional tools using a batch file so everyone can see nothing suspicious goes on.
This tool will automatically set the header in the RailRoads.exe so that it can address more than 2GB memory.
Normally XP will only address up to 2GB memory for applications and 2Gb for the kernel.
If we add a boot.ini switch /3GB, then XP is allowed to address up to 3GB for applications.
But unfortunately only applications that are enabled with “IMAGE_FILE_LARGE_ADDRESS_AWARE” header can utilize more than 2GB of the space.

I highly recommend you look at some official information here at microsoft:
http://www.microsoft.com/whdc/system/platform/server/PAE/PAEmem.mspx

_______________________________________

Directions:

First you need to tell XP/Vista that it can use more than 2GB of RAM for applications.
Manually edit your boot.ini file by adding ” /3GB /Userva=2900″ to your boot.ini (no quotes).
Your boot.ini is normally read only and you will need to change that temporarily while you edit it.
To do this, right-click the file and untick “Read Only”. After editing the file, restore the Read-only status.
To Edit it manually you can find it on the root of your system drive or
go to system properties/advanced tab, settings under ‘startup and recovery’ section, then hit edit.

Mine looks like:  multi(0)disk(0)rdisk(0)partition(1)\WINDOWS=”Windows XP Professional” /FASTDETECT /NOEXECUTE=OPTIN /3GB /Userva=2900

Yours maybe different, the only thing you should change is add ” /3GB /Userva=2900″.

_______________________________________

Now for the tool to enable RailRoads to use more than 2GB…

*** Important: First make a backup original of you RailRoads.exe, by renaming the copy to Oblivion.exe.original ***

The tool will add the “LARGE_ADDRESS_AWARE” header for you to your executable.
Copy RailRoads.exe to this folder.
Doubleclick startme.bat then the menu walks you through.
1) Hit the A key to add the large address header.
2) Press any key to continue.
3) When back at main menu hit ‘V’ to output the headers in text so you can see the values.
4) Now you can check to see if it is enabled.  Scroll to the top and look for section “FILE HEADER VALUES”. Look for a line in that section that says “Application can handle large (>2GB) addresses”.  It’s the tenth line down in that section.  If you see that line then the executable is now enabled for >2GB, you are done.
5) Copy the enabled RailRoads.exe back to your Sid Meier’s Railroads! folder.
6) To avoid any strange issues with future patches, I suggest you rename your 3GB capable RailRoads.exe to something else like RailRoads3GB.exe, then make a shortcut to it on your desktop.  In the meanwhile, keep the original where it belongs and you will avoid any possible patching or online issues.

At anytime if you want to remove the large address header then you can restore you original backed up exe or use the app and use the Remove function and it will remove the header.  Once you run (R) to remove the header you have the original exe back, the MD5 hashes do match.

No strange side effects have been witnessed, but glad I can play some big games now.

Alright, since you have read the above this link will download the 3GB enabler edited for Sid Meiers Railroads. Do not forget to listen to the readme’s warning and skip the “directions” section of the instructions if you have a 64Bit operating system.

Enabling the in-game map editor

Download:

Once you have played a number of custom maps you will likely want to try and make your own. Luckily after the 1.1 patch Fraxis enabled added in-game map editor. This editor is not enabled by default nor is there any option in the game to enable it. Instead you have to edit your settings.ini file. You must add a line to your Settings.ini file found in your user data folder which by default is C:\Documents and Settings\My Documents\My Games\Sid Meier’s Railroads!.  To do this open Settings.ini in notepad and add EditorEnabled = 1 on a new line in the [User Settings] section. Then start th game again and there will be a “Map Editor” option in the main menu.

Once you have created your map do not forget to post it in the forum, so that it can be included in the map list.

Happy map making!