Skip to content

PaulSchulze1337/american-Truck-Simulator-dedicated-server-guide

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

American Truck Simulator (ATS) dedicated server guide for Linux

Useful links:

Prerequisites:

  • Install a suitable Linux distribution (Ubuntu 24.04 LTS headless was tested for this guide)
    • Note: This guide assumes that you know how to install and operate a secure linux server.
  • Install SteamCMD (see the official guide)

Installation steps:

Prepare libs and config:

  • run as some sudo-user:
sudo apt update && sudo apt upgrade -y

(Optional: These should be configured when you install steamcmd)

sudo add-apt-repository multiverse; sudo dpkg --add-architecture i386; sudo apt update
  • install needed dependency for ARS Dedicated Server
sudo apt install libatomic1

Install the dedicated server:

sudo -u steam -s && cd ~
  • run as steam user:
mkdir -p /home/steam/Steam && cd /home/steam/Steam
./steamcmd.sh +login anonymous +app_update 2239530 validate +quit
  • the first startup of the server will create necessary config files:
cd ~/Steam/steamapps/common/American\ Truck\ Simulator \ Dedicated\ Server/bin/linux_x64/ && ./server_launch.sh

Note: all config files can be found in: ~/.local/share/American Truck Simulator

  • You need to copy the config files server_packages.dat and server_packages.sii from your local game into the folder ~/.local/share/American Truck Simulator of the server. See this guide for more details.

  • Adjust the main config file to your needs:

nano ~/.local/share/American\ Truck\ Simulator/server_config.sii
  • start the server:
cd ~/Steam/steamapps/common/American\ Truck\ Simulator \ Dedicated\ Server/bin/linux_x64/ && ./server_launch.sh

Update the server

  • run as steam user:
sudo -u steam -s
/home/steam/Steam/steamcmd.sh +login anonymous +app_update 2239530 validate +quit

(optional) Adjust firewall settings

sudo ufw allow 27015
sudo ufw allow 27016
sudo ufw reload

(optional) Create a systemd service for the server

sudo nano /etc/systemd/system/ats.service
  • copy the following snippet into the new file:
[Unit]
Description=American Truck Simulator Dedicated Server
After=network-online.target
Wants=network-online.target

[Service]
User=steam
Group=steam
Environment=HOME=/home/steam
Environment=USER=steam
WorkingDirectory=/home/steam/Steam/steamapps/common/American Truck Simulator Dedicated Server/bin/linux_x64
ExecStart="/home/steam/Steam/steamapps/common/American Truck Simulator Dedicated Server/bin/linux_x64/server_launch.sh"
KillSignal=SIGINT
TimeoutStopSec=30
Restart=on-failure
RestartSec=5
LimitNOFILE=65535

[Install]
WantedBy=multi-user.target
  • enable and start the service:
sudo systemctl enable ats
sudo systemctl daemon-reload
sudo systemctl start ats
sudo systemctl status ats

License

Copyright (c) 2025 Paul Schulze. This project is licensed under the MIT LICENSE

About

A Guide to install und run American Truck Simulator Dedicated Server on Linux x64

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published