American Truck Simulator

American Truck Simulator

Nicht genug Bewertungen
TrucksBook for Linux
Von Makz
Guide to installing and using TrucksBook on Linux systems.
   
Preis verleihen
Favorisieren
Favorisiert
Entfernen
DISCLAIMER
Guide is based on information I have collected from various sources. I am not an expert on proton, protontricks, wine or other related stuff. I am just a regular user trying things out in Linux. I'm sharing this because I had a hard time finding it and making it to work, so I hope this guide makes it easier for someone else.
If you know a better approach than this guide, please share it in the comments... Or even write your own guide and share it with others. Thank you!
TrucksBook is an interactive system designed primarily for virtual companies based on ETS2 and ATS games, from which it collects data and sends them to the server... And so on, just visit https://trucksbook.eu/wiki
TB Client is an application for Windows systems, so we need to use Proton to install and run it alongside with ETS2/ATS, the app and the game must be launched in the same proton prefix. So, I assume that you are already using `Proton` to run ETS2/ATS and the prefix for it already exists. And last: MAKE A BACKUP of game's prefix before moving forward.
This guide will NOT work with native ETS2/ATS.
Prerequisites
Install necessary packages. The package installation examples are for Arch-based systems, but you should use the package manager appropriate for your system.

  • Steam Tinker Launch
    This utility is used to run two applications side by side. But it has much more features.
    yay -S steamtinkerlaunch

  • Umu launcher OR protontricks
    There are 2 ways how to run TB Client: using umu launcher or protontricks. I prefer to use umu launcher, because it's a lightweight app and it suits my needs. But many people use protontricks for other games (and protontricks require less steps in this guide). I will describe both approaches.
    Choose utility you will use and install it:
    yay -S umu-launcher
    OR
    yay -S protontricks
Installing TrucksBook (setup file)
Go to TrucksBook website and download setup file of TB Client. Unzip it, and get .exe file.
  • For umu launcher use this command:
    WINEPREFIX=<path to game prefix> GAMEID=0 PROTONPATH=<path to proton directory> umu-run <path where setup file located>/setup_1.5.0.exe
    Example:
    WINEPREFIX="/home/maks/.steam/steam/steamapps/compatdata/270880" GAMEID=0 PROTONPATH="/home/maks/.steam/steam/steamapps/common/Proton 9.0 (Beta)" umu-run "/home/maks/Downloads/setup_1.5.0.exe"
  • For protontricks use following command:
    protontricks-launch --appid <APP-ID> <path where setup file located>/setup_1.5.0.exe
    Example:
    protontricks-launch --appid 270880 /home/maks/Downloads/setup_1.5.0.exe
Complete installation setup of TrucksBook by following instructions that appear in window.
At the step where you need to specify path for ETS2/ATS, you may encounter a problem that .steam directory will not be displayed in file manager, because it's a hidden directory. To resolve this problem create a *symbolic link* to the .steam directory, like this:
ln -s /home/maks/.steam /home/maks/Steam

Now you will be able to locate executable file of each game.
Script to run TB client (only for umu launcher)
Skip this step if you use protontricks.

Next, create a script to run the TB client. Create .sh file with the contents as in example below, make sure to change paths according to your configurations (see examples in prev steps).

For umu launcher:
#!/bin/bash WINEPREFIX=<path to game prefix> GAMEID=0 PROTON_VERB=runinprefix PROTONPATH=<path to proton directory> umu-run "<path to game prefix>/pfx/drive_c/Program Files (x86)/TrucksBook Client/TB Client.exe"
After creation of file, make it executable. You can make it in any file manager, such as dolphin:
It basically the same command as in previous step, except TB Client.exe should be run instead of setup executable.
Configure Steam Tinker Launch
First, run this command so Steam can see new compatibility options:
steamtinkerlaunch compat add
You will see output like this:
wednesday, 15 january 2025 00:00:01 +0200 INFO - CompatTool - Creating symlink '/home/maks/.local/share/Steam/compatibilitytools.d/SteamTinkerLaunch/steamtinkerlaunch' pointing to '/usr/bin/steamtinkerlaunch'
Restart the Steam Client.

In Steam right-click on game and then Properties...-> Combatibility and change it from Proton 9.0-4 to Steam Tinker Launch option.

Now you can start a game, for 2 seconds the window of Steam Tinker should appear. Press the MAIN MENU button to edit game configuration.
These windows take some time to appear, so please wait.

You will see a window with game info and a lot of buttons:

Press the GAME MENU button and you'll see a lot of options for the game:

Edit following options:
  • Check Use custom command
  • Select file for Custom command
    • For umu launcher you should use .sh file which you created earlier in prev step, for example by path like:
      /home/maks/TrucksBook/TrucksBookScript.sh
    • For protontricks you should select TB Client.exe.
  • Check Fork custom command
  • Set Wait for custom command to 15 seconds (so TB Client runs before the game)
  • Proton Version select proton-9.0-4c or other Proton that you use to launch the game.
  • Check Use reaper command
  • Check Auto last Proton
Click SAVE AND PLAY. TB Client will run after some seconds and the game right after.
From now on, all you have to do is launch ETS2/ATS in Steam and TB Client will start as well.
You need to log in to the client. It may not see the game first time. So, log in the client, close it and launch the game again.
Congratulations! You did it!
Additional remarks
  • Remember to close TB client after you finish the game, Steam will assume you're still playing the game if you don't.
  • You can change the notifications settings for Steam Tinker Launch if they annoy you.
  • Steam Deck compatibility. I don't own such device, so I can't confirm if this will work on Steam Deck. Theoretically - yes, practically - you tell me.
  • Please comment. I'd like to correct any inaccuracies or mistakes. Any relevant feedback is appreciated.
Link to sources
https://www.reddit.com/r/EuroTruck2/comments/12yoq33/trucksbook_linux/
https://forum.scssoft.com/viewtopic.php?t=325820&sid=07d52fa438cc722e6bf51cf5cb4a45da