Errors and Error Messages

MSTS Fails to Respond To ANY Keyboard Commands

One of the "original" errors/problems encountered when using MSTS.

The fix is simple: browse to your MSTS\Global folder and delete/move/rename "startup.mpg": it's not required and deleting it has no downsides at all.

MSTS Fails to Respond To Keyboard Commands to Apply Brake

This is an error that seems to have cropped up only with some MSTS installations on Vista and Windows 7.

  1. Click on "Computer" (or open Explorer). Browse to your MSTS folder. Right-click and select "Properties".
  2. Under "Attributes", if it's not set to read-only, select read-only and click "apply".
  3. Either way, the MSTS folder is now set to read-only. Now unselect "read-only" and click "ok".
  4. Start MSTS. Under "Options", Click on "keyboard". It's set to steam. Now click on the key to change: we want the "Increase Train Brake" key. Press the apostrophe key.

    The box clears - no character is shown. But that's ok.

  5. Click "Save".
  6. Now repeat the process for "Diesel" and "Electric", remembering to "Save" each time
  7. Problem fixed forever.

MSTS Activity Editor Locks Up As Soon As You Move The Map

This is an error that seems to occur with some graphics cards.

  1. Right-click anywhere on the Desktop and select "Properties".
  2. A new window, "Display Properties" appears. Left-click on "Settings"
  3. Under Color Quality, select Medium (16-bit) and click ok.

  4. Activity Editor should now work ok.

Windows 7 seems to handle the reduction in resolution required automatically and elegantly: I've never had to alter the screen settings manually.

MSTS Activity Editor "Loses" AI/Static Consists

MSTS Activity Editor "Loses" AI/Static Consists - they exist, but they don't show up in the AE. This error is caused by corrupt registry keys.

Click here for advice on repairing your registry settings if you're using Windows 7.

Read on here if you're using Windows XP.

  1. Click Start | Run | Type in "regedit" Ok (arrows 1, 2, 3):

  2. Expand HKEY_LOCAL_MACHINE
  3. Expand Software
  4. Scroll down to, and expand Microsoft
  5. Scroll down to, and expand Microsoft Games
  6. Expand Train Simulator
  7. Click on HWRenderer. In the right-hand window, click, then shift-click to select all registry keys starting with "AE_". Right-click and select "Delete".

  8. Close the Regedit window (click on red "x"). The AE registry keys will be regenerated next time you start Activity Editor.

Activity Crashes on Pressing F11 or Pop-Up

This is caused by too many sounds in your activity.

The cure is to install Carlo Santucci's soundcfg.dat file. Click on Read More for full explanation and sound config file download.

Error Reading Train Database file xxxx.eng

This has to be the most common error message I receive enquiries about.

It usually doesn't interfere with running MSTS, and you can click "Yes" to continue, but every time you start or stop an activity or open the Activity Editor you're confronted with this message. The activities that use this item of rolling stock usually can't be run either. I get 2-3 emails a week asking me where this error came from and how to get rid of it.

The glib one-line answer is "this error message means that there is a consist asking for a non-existent piece of rollingstock."

Well, that's really helpful isn't it? I'm going to show you how to track down and eliminate these errors using Mike Simpson's incredible Swiss-Army knife fix-everything program, Route Riter (versions 7.0.50 or higher)..

Here's a quick answer if the error message contains a reference to lines 90-190 (or thereabouts), it's generally a locomotive with lighting set up for the MSTS-Bin patch being used on a default installation of MSTS.

Error Message - Train World Initialization Failed

Reason #1: If the route uses Kosmos environments, you may need to check the "Textured Sky" option in MSTS | Options | Advanced Display.

Reason #2: "Train World Initialization Failed" means something is missing/corrupted in the \envfiles folder, so you could try copying the \envfiles folder from \train simulator\template to see if that fixes it. In a similar vein, the installme.bat file may not have run correctly or to completion when installing a new route. Try running it again, watching for multiple "1 File(s) Copied" messages.
(Jim "Sniper" Ward)

Reason #3: If you have an AI train which has been parked on a siding behind a red light, as described in Method #2 of making an AI train stop at a terminal station, and you save the activity after the train has stopped, when you try to reload the activity, you will get "Train World Initialization Failed", EVERY time.

Unfortunately, the solution is to remove the AI train from the activity. MSTS seems to be incapable of restarting with a "stopped" AI train.
(Barry Galbraith)

Error Message - Can't Add Car (uid:20000n) to world

This error often occurs when testing the new wagon in a consist after reskinning or otherwise modifying the model.

Errors starting with uid:20000n are active consist failures: The last digit (n) tells you the position in the consist (0=leading unit, 3=fourth unit, etc.).

This is usually caused by

  • an error within the model - polycount, corrupt compression, texture error if reskinning, etc;
  • removal of a shape file from its MSTS folder after the consist has been created - various registry cleaners and anti-virus programs have been implicated in this removal; finally
  • editing a loose consist which may make it too long and one or more vehicles becomes positioned off-track.

Error Message - Unable To Save Path

You may be missing one or more of the following folders in your route: TRAFFIC, PATHS, SERVICES, ACTIVITIES. If any of these folders are missing create them with the File | New | Folder command in Windows Explorer.

Special note to route-builders creating Clickteam installers for distribution of their route: When setting up your install files, note that InstallCreator or the older InstallMaker do not copy empty folders. This affects TRAFFIC, PATHS, SERVICES, ACTIVITIES folders in many distributed routes.

The fix is to create a non-empty file called say blank.fil  - note file must have something in it eg "This file required for installer to work correctly - you may now delete it".  The folder will then be copied into the installer.

Note: The option in InstallCreator in Files Tab, Misc Tab for "Do not install file, but create directory" was broken in the free versions with build numbers less than 17 (current build is 31, so upgrading your Clickteam InstallCreator will solve this problem).
(Yuri Sos)

Xcopy Is Not Recognised

The Command Prompt window (DOS window to some) says "Xcopy is not recognised as an internal or external command, operable program or batch file".

Batch files generally run well inside XP Pro and higher (exceptions: "Choice" for conditional batch files no longer works, needs a "%%" switch instead, among other differences).

Press Start | All Programs | Accessories | Command prompt.
In the Command Prompt window, type Xcopy /? <enter>. It should find Xcopy and list all the parameters.
If it doesn't, your computer path may be corrupted.

In the Command Prompt Window, type path <enter>. It should show your computer path:

path=c:\windows\system32;c:\windows;c:\windows\system32\
(Replace c: with your drive partition if it's not drive C:)

If you need to correct the path, press Start | right-click My Computer | Properties | Advanced | Environment Variables | Path | Edit.. Make your changes as above then exit.
This error correction was originally published by William Sieffert.

Error Message - Region load error - parent PointsIndicator does not exist

You have exceeded the number of consists that your msts installation can handle (ca. 1100) and you may need to run a utility called Trainstore. Trainstore fools msts into thinking you have a lot less loaded than you actually have by moving anything not needed for a particular activity out of the msts folder into Store. This gets the consist count down to a reasonable level again.

Error Message - Failed to Load Material Palette

Ensure that "lightmat.pal" exists in the Global\Shapes folder. Click here to download this zipped file (562 bytes) if you've accidentally deleted it.

Photoshop users also get Photoshop-related icons showing inside the Activities and Path folders of MSTS (as the .PAL and .ACT may be associated with Photoshop on installation); double-clicking on an act or pat file in a MSTS subfolder accidentally fires up Photoshop with subsequent error message that the material palette / the samples file was damaged and could not be loaded (which is logical, as an MSTS .file is not an Adobe Photoshop Material Pallette!). Deleting it then results in the above error message.
{Marc Nelson, Lukas A Lusser}

Error Message - Failed to load gui_font<IDS_FONT_2/>

The problem is one of the registry entries. The registry must point to a complete and valid MSTS installation - doesn't matter if it's your main MSTS installation or a mini-MSTS.

Background: my MSTS is a combination of the standard MSTS installation along with several mini-MSTS installations. Setting up appropriate shortcuts for each mini-MSTS, I'm able to run trains or edit any route (main or mini) without touching the registry values. I DO need to change the registry to be able to install an APK (see hhttp://msts.steam4me.net/Route_Riter/unpack_apk.html). All of this has worked without any issues till now.

I'd been working on beta-testing some new Route_Riter (RR) features and I wanted to be able to test some features regarding rollingstock adjustments without jeopardising my standard or mini-route setups. I set up a TEST folder with a global SOUND folder, a ROUTE folder with the tiny Timesaver route (RR crashes on startup if there's no Route in an MSTS installation), a TRAINS (includiing TRAINSET and CONSISTS) folder with the rollingstock appropriately placed. In this particular test module, RR uses the registry settings to point to the appropriate set of ENG/WAG files to be tested.

RR only looks for train.exe when you do a registry change, so I copied only train.exe into the top TEST folder and then used RR's registry change feature to point to the TEST folder. The beta-test went ok. But now I got the "Failed...." error message: I got it in all my MSTS installations - main and minis: both in running the sims and trying to use the editors/tools.

As soon as I used RR to point to a complete MSTS installation (main or mini), the problem went away.
(Yuri Sos - originally posted 13 July 2006 on UKTS)

Error Message - Failed To Initialize Activity Manager

This appears to be a major MSTS-killer! The "Mother Of All MSTS Errors!". There is no known cure, save re-installation. As of September 2008, I've suggested you try this: delete your Global folder, replace it with your backup Global folder (you did make a backup of your Global folder when you installed MSTS, didn't you?), then re-install Xtracks, Newroads and/or UKFinescale (if you use these add-ons). I've had only ONE person report success with this method; no-one else to my knowledge has ever found the cause or cure for this error. Restoring registry keys doesn't appear to work. Failing that, move all your routes and trains away from MSTS, UNINSTALL MSTS, delete any remaining MSTS folders and re-install MSTS. (You may find Re-installing MSTS helpful).

Many MSTS users have spent many many hours trying to locate this source of this error without success. Typically, Conbuilder's and Route_Riter's test routines find no errors. One user found that it was caused by a corrupt WAG file, but all too often this error occurs right across all routes and all models in MSTS - doesn't seem to matter whether you have default-MSTS or MSTS-Bin, whether you use Trainstore or not.

If you can't locate the source of the error within a couple of hours (and I'd love to hear from you if you do - see "Contact me" on Home Page)), give up, re-install MSTS and then carefully add back each add-on route and item of rolling stock, testing each as you install them.

Activity Unpack Fix

When you download a packaged activity from the web and try to install it using TSUnpack, you will see an error "unable to open packaged activity".

This is caused by a registry error that is simple to fix.

Simply download this installer written by Thomas Tydal. Save it somewhere (say the Desktop); right-click on the .exe file and "Run As Administrator" (this file modifies the Registry, so it needs to be and run as an Administrator) once:

You can now unpack activities.

 

Error Message - Expected more files, package damaged!

This error means that the the route folder name was different from the route id when the activity was packaged in Activity Editor. The folder name (eg EUROPE1) and the RouteID (found in the .trk file, eg europe1.trk should have line RouteID (EUROPE1 ) ) have to be exactly the same for the activity packager to work correctly. If there is a difference, only the consists used in the activity will be packaged.

When unpacking an activity, Tsunpack and MSTS use only the RouteID for identification.

Error Message - Failed to initialize car <200nnn> Rigidbody

These errors are caused by placing a consist on a siding for which it is too long or over a set of points (switches). Open Activity Editor, select the Activity and click on "Verify Starting State". This will show you where the error is. When you look at static consists on the sidings it may not be apparent that there is a car off the end of the siding because a car off the end IS NOT VISIBLE. You have to move the consist to see any car off the end. There is no way to relate the error message to one of the loose consists.

You will, at this point, need to check each and every loose consist by moving it slightly away from the siding end to see if another car appears, the one that may be hidden. Also get to know the exact car count of the loose consists you are placing so you can count the cars showing as a double check. {Vince Cockeram}

Move the consist so that it fits on the track properly and re-run "Verify Starting State".

Error Message - Failed To Load Activity Header

This error message is caused by

  1. the route's *.trk file extension has been renamed, does not exist at all, or the route's name has been changed. Open the .act file and check the RouteID line. It should exactly match the Route folder name; or
     
  2. an activity file that doesn't contain any information other that the file identifier (SIMISA@@@@@@@@@@JINX0a0t______). This is often caused by the Activity Editor locking up when trying to save or re-save an activity. Check the .act file - it will most likely be empty. Delete and rebuild. Paths, services and consists used by that activity will be intact.

Error Message - Failed To Locate A Required File

This error message ""Failed to locate a required file in your installation. You may need to re-install train simulator" is usually caused by a shortcut pointing to an invalid installation of MSTS or an incorrect location. Most commonly seen after creation of mini-routes and subsequent faulty Registry entries.

Error Message - Failed To Initialize Heading Tape

This error message is caused by a missing or corrupt "ACleanTrack1.ace" and / or "ACleanTrack2.ace". "Read More" for discussion and solution.

Error Message - Component Picformat32.ocx or one of its dependencies is missing

This error message may suddenly appear when trying to start Conbuilder or Route_Riter, even after these programs having been running error-free for months or years.

picformat32.ocx is missing

Your first reaction may be to re-register the .ocx by typing this command into a DOS/Command Line prompt: regsvr32.exe picformat32.ocx

If this doesn't correct the problem, it may well be that your anti-virus program has taken a dislike to the picformat32.ocx file (which has been around since 2003). Simply set your a/v program to "ignore" or "whitelist" picformat32.ocx and the problem will go away.

picformat32.ocx ignored

Movement in the Route Editor is very sluggish

Usually occurs when you've just started building a new route.

Simply place a Sound-Source on the Start Tile and the problem is fixed.

Error Message - Continuation between "tsection.dat"(local) and global "tsection.dat"(old) is not correct-- Function failed

This message occurs when running TsUtils. This means that route was built using the default tsection.dat file, located in the Global folder, whereas you currently have the standardised tsection.dat file installed. In order to run the TSUtils check you will need to get hold of the original MSTS default tsection.dat file, make a copy of the current standardised tsection.dat file and replace it with the default.

Sound Source Placement Error Causes MSTS to Crash

Values for the x- and z- coordinates in the Position line in .WS files that are outside the range -1024 to +1024 will cause the simulation to crash without warning. Lukas Lusser discovers the cause of the problem and Mike Simpson fixes it with Route_Riter.