Trainz on Linux

wilts747

Well-known member
Most weeks I try out at least one new or updated distribution of Linux in an attempt to find a better, easier solution to run Trainz and hopefully one day overcome the Content Manager refreshing issue. For a change this week I tried out two fairly new applications with the aim of doing just that, Faugus Launcher and WinBoat.

Faugus Launcher in many respects is similar to the likes of Lutris or Bottles although it might be argued I found it very easy to set up on Linux Mint with a minimal interface as I only need to choose the OS i.e. Windows, and point to the TRS22.exe file to have it launch Trainz. Unlike others it uses ProtonPlay and is more akin to using Steam without the need to install Steam or have a Steam account. There are however many option to customize should you choose to get adventurous but I found were not necessary to get it up and running like some other similar solutions. Is it better than other options, personally I don’t think so, but its likely worth a try if only to rule it out as a contender for your particular setup.

WinBoat on the other hand couldn’t be more different in that it allows Windows applications to run on Linux using a containerized approach. Windows runs as a virtual machine inside a Docker container and is communicated with using Winboat Guest Server to retrieve the required data from Windows. While this may sound like other VM applications such as Virtualbox which are inherently resources heavy, in practice this is not, what’s more applications are displayed native on the Linux desktop and file systems can be shared between both Linux and Windows. Once up and running the interface is clean, simple and modern with all Windows applications displayed in a tiled window, no need for a Windows desktop, click once and they load.

Winboat is downloaded and installed like any other Linux software. There is an excellent installation guide which when run first time checks a number of requirement and guides you through the process of installing them and setting them up if they are not already available, before automatically downloading and installing a version of Window of your choice. Once complete you create a local account, any name and password, and its good to go. Fortunately other kind people have uploaded YouTube videos to guide you through this process making life even easier.

To good to be true, unfortunately at the moment yes, but even at Beta v0.8.7 and a health warning not for gaming, Trainz and in turn Kickstart County loaded and ran to desktop without issue. As for editing and driving sorry no-way but then that wasn’t expected. However while USB pass-through is only experimental, it does work very well and pass-through for graphics is an aspiration to satisfy business users having demanding graphic needs, which I would hope in turn will be advantageous to Trainz users. As for Content Manager issues under Linux, no longer an issue.

I hope this is of some interest and possibly worth following for the future. Peter

An overview of Winboat can be found at:
 
Currently, running SteamOS or Bazzite is the easiest way to play windows games without Windows.
I'd be all for it, jump to Linux and ditch Windows, if I can get two titles to work. But, unfortunately, those require something with kernel because of anti-cheat protection and that apparently cannot be done, not yet anyways.
 
I'm not sure if Linux Gamer's are aware that many Linux distributions install by default 'Gamemode' which is a tool that allows games to request temporary optimization of the likes of CPU, GPU etc. for better gaming performance. When using the likes of Lutris, Bottles, Faugus, etc. it can be enabled via a check box. Where this is not available for example running a game directly through Wine, it is enabled by including the command gamemoderun followed by a space in front of the command line for that particular game. To check its current status use the command gamemoded -s in the Terminal. If not installed in can be found in many distribution solftware managers or from the command line. Peter
 
Thinking of giving Linux a go, or changing the distribution you are already using, then you might find 'DistroSea', www.distrosea.com worth a visit. Without downloading anything it allows you to test drive a wide range of different Linux distributions, their various desktops and available versions all running in your web browser, as you might Google Docs or MS Office.

While you can find yourself in a short queue for popular distributions like Ubuntu, Mint etc, I've never waited for more than a couple of minutes to have a fully functional distribution on my desktop, just ensure you scroll to the bottom of any page to keep things moving. You will require an account, to gain access to the Internet for any program that requires it but otherwise the distributions just runs in a similar way to that of a live distribution which had previously been downloaded and written to a USB/flash drive. Controls on the left hand side of the screen enable full screen working and quit. Peter
 
I also tried today Trainz 2022 on Linux, but it is pretty bad. The Content Manager UI is unusable, does not scale properly, but the game kind-of works with some quirks.

I wonder if the devs have any plan to compile Trainz natively on Linux, as they already compile it for MacOS, so there should be not that much work to be done to make it fully support Linux. Are there any tickets about this?
 
The Content Manager UI is unusable,
It is useable, - you just need to manually refresh the page. Yes it is annoying, but you get used to it after a while. I run both TANE and TRS19 in Debian Linux and have done so for the past two years or so.and they work fine. I've always found TRS22 to be too much of a banjaxed mess to bother with.
 
It is useable, - you just need to manually refresh the page. Yes it is annoying, but you get used to it after a while. I run both TANE and TRS19 in Debian Linux and have done so for the past two years or so.and they work fine. I've always found TRS22 to be too much of a banjaxed mess to bother with.
How do I manually refresh the page?
Also, I am using a 4K monitor and the Trainz (content manager and launcher) UI is very small and hard to read. Do you know how can I increase its scaling?
 
How do I manually refresh the page?
Also, I am using a 4K monitor and the Trainz (content manager and launcher) UI is very small and hard to read. Do you know how can I increase its scaling?
Click the downwards pointing arrow on the right hand top of the page to drop CM out of sight, then click on its icon to bring it back up again.
My monitor is a Samsung 1920 X1080, - I've never had any experience with using a 4K monitor so I can't help you there.
 
Trainz should be running comparable to Win 10 give or take a few frames and if it doesn't perhaps consider one or more of the following.

Pick a mature distribution of Linux. Stay clear of cutting edge distributions or those which are forever changing, opting for release that has long term support (LTS). Install Wine directly from HQ Wine, https://gitlab.winehq.org/wine/wine/-/wikis/Download for the type distribution you are using i.e. Ubuntu, Debian etc. in preference to installing it from the distributions software manager. Its the only time you should need to use the Terminal while installing or running Trainz but it ensures you get the correct repository key and i386 architecture is enabled. If you are still not happy, or feel you can do better, consider installing Lutris and running Trainz through it. No need to re-install Trainz, just use 'Add locally installed game.'

The pop-out windows in Content Manager generally work fine its just displaying the database itself which is inconvenient. These days I hardly use CM opting for the content manager within Surveyor which is slower but employs graphics which perhaps makes choosing additional assents easier. To update the page I tend to double click on the title bar at the top of the page.

I trail a different or updated version of Linux most weeks in an attempt to find a better release for running Trainz and have done for well over a year. My preference is Mint, its no better and likely looks a lot less polished than many which are just as good, but unlike Windows, it just works, I have no reason to change. Peter
 
Back
Top