Train Simulator – Adding Missing HUD Speed Limits via XML

Train Simulator – Adding Missing HUD Speed Limits via XML 1 - steamlists.com
Train Simulator – Adding Missing HUD Speed Limits via XML 1 - steamlists.com
Are hidden speed limit changes causing you grief? This details a (possible) fix!

 
 

Introduction

I first encountered the problem of missing speed limits on the WCML South, playing the 2K22 scenario (Milton Keynes to London Euston, in the Class 350/2). Two obvious speed changes missing from the HUD were the Restricted speed section on the approach to Bletchley station (due to engineering works in the scenario) and the 75mph limit shortly after the same station. The speed limits functioned correctly and were applied in-game, but did not show on the HUD, meaning no advance warning was given and I was caught out completely. 
 
Train Simulator - Adding Missing HUD Speed Limits via XML 
 
This is obviously deeply frustrating, particularly for newer players that don’t have full experience of the track ahead of them. Reading around, I saw many complaints about these apparently-hidden speed limit changes, but no advice on how to fix them (beyond “git gud”, obviously!). Fortunately, I was able to solve this problem via a relatively simple fix, detailed in the rest of this Guide. 
 
 
 

Finding and Editing the RouteProperties XML File

By changing a single variable in the RouteProperties.xml file, I was able to add the missing speed limits to the HUD. The steps to do this are as follows: 

  1. Using 7-Zip (or a similar utility), find the RailWorks directory under your overall Steam directory, then find the relevant route sub-directory under RailWorks → Content → Routes. These will all have machine-readable names, and will contain a MainContent.ap (Asset Pack) file for the route, plus any Workshop/third-party scenarios/content which you have installed for that route. 
  2. Open (but don’t extract) the .ap file in 7-Zip, and look for the RouteProperties.xml file. You can open this to double-check that you’re in the correct route directory. 
  3. Save a copy of this XML file somewhere safe as a backup, then open it in a suitable editor (e.g. Notepad++, Spyder, etc.) and save a third copy under a new name to disable its edit protection. This will become our “fixed” file. 
  4. In the fixed file, look for the HasSpeedsigns variable towards the end of the file. If this variable is 1, set it to 0, as shown in the screenshot below. Save the change. 
     
    Train Simulator - Adding Missing HUD Speed Limits via XML 
  5. Go back to the route directory and save a copy of the fixed .xml file alongside the .ap file. This new file version will then override the version contained in the .ap file, without having to manually replace it and repack the .ap file. This edit will also be stable if the .ap files are reset when verified through Steam.

Train Simulator - Adding Missing HUD Speed Limits via XML 
 
The screenshot above shows the same scenario being played with this fix in place. As you can see, both the 10mph limit for the engineering works and the 75mph limit past Bletchley station are now properly displayed. 
 
 
 

Conclusion & Acknowledgements

This is only one possible fix for the issue outlined at the start of this guide. Because everyone’s system and TS installation is different, I cannot guarantee this fix will work for you, nor can I provide personal tech support. But if you encounter phantom speed limits as I did, it’s worth checking in on the RouteProperties file if you haven’t already. 
 
I am grateful to jalsina for originally posting the XML-based solution https://steamcommunity.com/app/24010/discussions/3/135509472111550091/, and to æterna for detailing how to override .ap contents with new file versions, as described https://steamcommunity.com/sharedfiles/filedetails/?id=1687935462
 
Thank you for reading this guide – now get out there and highball it! 
 
— SternguardJake 
 

Written by SternguardJake

Hope you enjoy the Guide about Train Simulator – Adding Missing HUD Speed Limits via XML, if you think we should add extra information or forget something, please let us know via comment below, and we will do our best to fix or update as soon as possible!
 
 
 
 


1 Comment

  1. Thanks for posting this. I actually noticed individual speed limit signs in the HUD missing from right after I started playing Train Sim. They are really random sometimes. There’s an old one I always get on the “Midnight Magnet” run at Borie West or Borie 2 or something where there will be a track switch, and that is the one HUD speed on that scenario that just never displays for me. I don’t play it often enough to remember, so I usually take about -600 for speeding there as a result.

Leave a Reply

Your email address will not be published.


*