Train Simulator 2019 on Linux


Valve announced a new version of Steam Play back in August, with a newer Proton engine and substantial work done to Wine:

… we’ve continued to look for ways to make more titles easily accessible to Linux users. … So, two years ago, we started an effort to improve the quality and performance of Windows compatibility solutions for Steam games.

As a result of this work, today we are releasing the Beta of a new and improved version of Steam Play to all Linux users! It includes a modified distribution of Wine, called Proton, to provide compatibility with Windows game titles.

This was huge news. Games are about the last reason many of us begrugingly kept Windows around. So naturally, the first question that came to all of our minds: can it run Dovetail’s Train Simulator 2019? Short answer, yes!

Trying Train Simulator

Here we have everyone’s favourite steam locomotive in one of the many yards of Marias Pass. I can’t get enough of that LNER reflective apple green paint.

And the inside of a JNR 105 Series on the Wakayama-Sakurai Line:

Preparing the target machine

My testing setup is a fresh install of Ubuntu 18.10 on my budget gaming rig. If you also have an Nvidia card, grab the most recent drivers:

# add-apt-repository ppa:graphics-drivers
# apt-get update
# apt-cache search nvidia-drivers
# apt-get install nvidia-driver-396

Then install Steam for Linux:

# apt-get install steam-installer

Starting this will bootstrap Steam. Once installed, you’ll need to enable Steam Play for all games:

  1. Open Steam, and click the Steam menu.
  2. Click Settings.
  3. Click Steam Play in the sidebar.
  4. Confirm Enable Steam Play for supported titles is checked.
  5. Under Advanced, check Enable Steam Play for all titles.

At the time of writing, the Compatibility tool could just be left at Proton 3.7-8, though it may be worth trying a new stable one if it exists from the dropdown.

Installing the game

Train Simulator 2019 almost works out of the box, though with some visual issues with bodies of water. The only roadblock is asset files need to be extracted, or the game will fail to load them.

Following Goliathfan’s excellent guide, you can extract as per below. My Steam install was in a slightly different place by default, so:

$ find ~/.steam/steam/steamapps/common/RailWorks/ \
    -name "*.ap" -execdir unzip '{}' ';'

I got a bunch of errors when first launching the game and trying a Quick Drive scenario. Quitting the game, running the above again, then starting again seemed to resolve it. Maybe the first launch fetched more assets.

I haven’t tried the 64-bit version yet.

There you have it

Now we just need this on FreeBSD, so I can pull out of Philadelphia on my Acela Express in style.

Author bio and support


Ruben Schade is a technical writer and infrastructure architect in Sydney, Australia who refers to himself in the third person in bios. Hi!

The site is powered by Hugo, FreeBSD, and OpenZFS on OrionVM, everyone’s favourite bespoke cloud infrastructure provider.

If you found this post helpful or entertaining, you can shout me a coffee or send a comment. Thanks ☺️.