Trainz on Linux in 2022

Antares1275

New member
Not sure if this is already known and old news, but I just wanted to confirm that I run Trainz from A New Era to Trainz 2022 all on Linux using Steam (Valve's) Proton compatibility layer and it works great. I don't use Windows at all - it is not installed on my PC. I don't use any kind of virtualisation - I am Linux only and Trainz works great. I am on Fedora 36.

So if anyone in the Trainz community has had enough of Windows and would like to move to Linux but is worried about not being able to use Trainz, you can now use Trainz just as good as on Windows.

[video]https://my-homecloud.cloud/index.php/s/cTkQBjp5QTysjMG[/video]

Please be aware this video is hosted on my home Nextcloud server so could be a bit slow at loading at times.
 
Last edited:
There have been a few here that have played around with Wine and got stuff to work with a lot of extra work due to graphics drivers. The difference here is you got TANE to work right out of the box, in Steam. There has been talk directly from N3V about building a native Linux version, but they said don't wait for it because it'll be quite some time, since it's on the low priority track. With this done directly, maybe their development isn't necessary now which is a good thing for them.
 
I have run TRS19 on Linux Pop_OS for the past 18 months including the installation of SP5 when requested which went without issue. I haven't had that much success with Steam/Proton but I'm sure that down to me not setting the configuration up properly, however Lutris with Mint, Ubuntu Mate, Pop-OS have all been successful. That said since Wine 7 has been released even Lutris can be discarded on the condition Wine is loaded in accordance with the instruction on the Wine-HQ website and not through the host distribution repository.

The one issue I have remaining, and I know previously others have suffered, is the performance of the Content Manager in that the displayed page when scrolling or for example doing a search, either will not update automatically, or is actually freezing, however this can be quickly resolved by resizing the displayed window size. Annoying but not really a show stopper.

If anyone has had better success with Content Manager I would appreciate any pointer as I would to set up Steam/Proton properly. I do however agree with John, likewise I don't think N3V needs to develop a Linux version of Trainz as on the whole what is already available works surprisingly well. Peter
 
Yeah I agree the content manager window has some glitch in that it works fine but it doesn't update unless you move the window to the side of the screen (as though resizing it) and then it updates. So it isn't great but still works. I don't tend to build in Trainz just run other pre-built routes so it isn't any issue at all for me. The main game however runs perfect. I have been using Linux since 2006 and have wanted to ditch Windows for ages, but Trainz kept me locked in. But now I have been Windows free for over a year instead of dual booting and I run Trainz exclusively in Linux. I would of posted some screen shots but it looks like you can't upload photos here.
 
You can include photos, third icon from the right when you create/reply to a message but that image needs to be hosted somewhere. I tend to upload images to screenshots then link it to the message as necessary. In the screenshot forum there is a good explanation of how its done.

In respect of Content Manager, my preference is route building but even then I haven't found the updating glitch that much of a hassle. Someone once said the issue was associated with the Content Manager employing OpenGL, a legacy of the earlier days of Trainz. Personally I don't know but I do have a spare rig I use for tinkering on and frequently try different or updated distro, combinations of Wine, Lutris and so forth in an attempt to iron out any more glitches Trainz on Linux might throw up. Peter
 
Thanks I'll see if I can figure something out to post a link. To be clear though I do own TANE and TRZ19 direct from N3V and like you said although I know you can use Wine and all sorts to get this working, I simply repurchased the games directly through Steam for simplicity. Also purchased TRZ22 through Steam. No messing around or fussing with Wine or Lutris this way, just set Trainz to run with whichever version of Proton you wish to use - I use the latest Experimental version but have used it with all versions just fine.

Like you say the Content Manager works fine in the background, just doesn't visually update unless you move the window. I am sure this could be fixed in time either through N3V updating it from OpenGL or the Proton team patching it to account for this. Either way its a win in my book.

I have edited my original post with a link to a screen recording of me playing Trainz on Linux
 
Last edited:
Hello everybody,

I use this thread to report also that Trainz TANE SP4 (the N3V version, not the steam version as I purchased trainz directly from N3V) work well with the "bottles" version of wine on Ubuntu 22.04, Nvidia drivers 535. I report sames experience than the reports above : Trainz OK and Content Manager window update issue.
On my computer, this N3V version is not working under standard wine even with manual installation of Dxvk, also not working under PlayOnLinux, and steam proton seams to not accept to launch any non steam windows games.
For the Steam version I have not tested as I haven't it.

Thus It would be a great thing that a native Linux version on Trainz will be available as I noticed than more and more people in the "sim world" (how many ? I don't know) make the choice to drop windows out of their system. I am one of then from years now and won't go back.

Best regards.
Thibaut A
 
I have only ever run TRS22 on Linux. Even a couple of years ago I would have agreed that a Linux version of Trainz would have been desirable but is that really the reality today. In the past year I have installed TRS19 on 16-18 distributions of Linux and will try even more in the future but so far although I have my preferences there is little to pick between any of them in respect of running Trainz. I have also tried such add-ons as Proton and Lutris but similarly with little if any advantage. What I have learnt is to install WINE from the Terminal by following the instructions on the HQWine website for the version of Linux you are using and not from and software manage associated with your installed Linux version. Second, as you likely would with Windows keep Linux and the graphic drivers up to date.

While I agree there is the annoying problem of the Content Manager not refreshing the screen, for myself it is not such an issue as to want to return to Windows. I do however think that N3V are missing a sale pitch here by not perhaps sub-contracting the Content Manager refreshing issue to a Linux software engineer to resolve before marketing the Windows version of Trainz as being Linux/WINE compatible as are so many other Windows games and simulators. Peter
 
Last edited:
Any more updated photo/video? I tried original post's link, but: [h=2]Page not found[/h]
The page could not be found on the server.
 
I've setup Debian 12 on an older HP Z200 Xeon computer and have managed to successfully load TRS22 into it. My very tech savvy daughter gave me a hand with it which was just as well as the Wine website has a lot of out of date information on it. In the end we used a pre-packaged Wine distribution intended for Debian and that worked out fine. Content Manager doesn't work, but I already knew that when I started. Updating patches after using the off-line install software worked Ok, but animations and loading bars on the update menus are buggy, - though this wasn't really a problem. Next will be seeing if the Content Store is going to function properly with downloading my purchased routes.

Loading in TANE from Steam wasn't much different from loading it into Windows when all is said and done, but I wanted to see how loading in Trainz from My Trainz on N3V would work out.
 
This is an update from my previous post in August.

Last night my old CoolerMaster computer suddenly stopped working and it's toast. I don't have the money for either a new motherboard or a Win 11 compatible computer so out came the HP Z200 Xeon computer I'd been using for Linux experiments and it's now my everyday computer. It's going to be somewhat of a learning curve having to use different graphics software for doing texture work, but I think I'll cope with that Ok.
I wasn't much impressed with Steam since the only version of TRS22 available is the new SP3 version. Running any of the other Trainz versions I'd previously purchased were slow to load and did not impress me much, - so I gave the version my daughter and I set up under Wine a try and this was just so much better in every way. Downloading my purchased DLC via the Content Store wasn't a problem. The thing looks brain dead, but it does actually work so it's best to leave it alone to get on with it.

PLL running on Medium settings in TRS22 build 117665. GTX1050 4Gb Video RAM, Xeon® CPU X3450 @ 2.67GHz, 16Gb RAM. It's not going to set the world on fire, but it will do.

K2VLt1f.png


vIzEZk2.png
 
I'm sorry to hear about your machine, Annie. Can you salvage anything from the computer for a future build such as hard disks and video card? The graphics card is the most expensive item these days and is worth its weight in gold. if you can use it

Running on medium settings looks fine. There's no need to run with full sliders to the right.
 
I'm sorry to hear about your machine, Annie. Can you salvage anything from the computer for a future build such as hard disks and video card? The graphics card is the most expensive item these days and is worth its weight in gold. if you can use it

Running on medium settings looks fine. There's no need to run with full sliders to the right.
Thanks John, - I had hoped that it might last another year to give me time to save up for a new computer, but it was not to be. It looks like something failed on the motherboard so the hard discs should be fine. The graphics card was a venerable GTX960 which ran TRS22 surprisingly well all things considered. If it's damaged, - well it's no great loss, - but if it's Ok I'll put it away as a useful spare.

The Xeon is an older model, but still completely sound and has been used for various purposes including a household network server and as a part of my daughter's music recording studio. I nearly always run Trainz on medium settings and have never felt the need to have all the sliders pushed hard over.
I've got TANE running reasonably well on Steam and TRS22 running nicely using a pre-packed Wine distribution made for Debian Linux.

Downloading my purchased DLC and installing it went well as did patching to build 119451. In Linux the Trainz Store menu looks blank, but it does work and the same goes for the update menu. Refreshing them from time to time will sometimes give a clue as to what's going on.

The next job will be transferring my own personal routes and assets and installing them.
 
Back
Top