How to Set Up an Abiotic Factor Dedicated Server
While Abiotic Factor doesnโt natively support Linux servers, you can host it on Ubuntu using Wine and SteamCMD. This method allows you to run the Windows-based dedicated server on your Linux machine reliably.
๐งฑ Requirements
- Ubuntu 20.04 or newer
- 4+ CPU cores
- 8 GB RAM or more
- At least 4 GB disk space
- Root or sudo access
- Open UDP ports
7777
(Game) and27015
(Query)
๐ Step 1: Update and Install Required Packages
sudo apt update && sudo apt upgrade -y sudo apt install software-properties-common wget curl cabextract winbind screen xvfb steamcmd -y
๐ท Step 2: Install Wine (Staging Branch)
sudo dpkg --add-architecture i386 sudo mkdir -pm755 /etc/apt/keyrings wget -O /etc/apt/keyrings/winehq.key https://dl.winehq.org/wine-builds/winehq.key sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/$(lsb_release -cs)/winehq-$(lsb_release -cs).sources sudo apt update sudo apt install --install-recommends winehq-staging -y
๐ Step 3: Create Server Directory and Download Files
mkdir -p ~/abioticserver cd ~/abioticserver
Use SteamCMD to install the server files (App ID: 2857200
):
steamcmd +@sSteamCmdForcePlatformType windows \ +login anonymous \ +force_install_dir ~/abioticserver \ +app_update 2857200 validate \ +quit
๐ Step 4: Create a Launch Script
Create a file called runserver.sh
:
nano ~/abioticserver/runserver.sh
Paste the following script:
#!/bin/bash xvfb-run wine64 ~/abioticserver/AbioticFactor/Binaries/Win64/AbioticFactorServer-Win64-Shipping.exe \ -log -newconsole -useperfthreads -NoAsyncLoadingThread \ -MaxServerPlayers=6 -PORT=7777 -QUERYPORT=27015 \ -SteamServerName="MyAbioticServer" \ -WorldSaveName="MyWorld"
Then make it executable:
chmod +x ~/abioticserver/runserver.sh
๐ Step 5: Open Required Firewall Ports
sudo ufw allow 7777/udp sudo ufw allow 27015/udp
Or configure your external firewall/router to forward UDP ports 7777
and 27015
.
๐ Step 6: Start the Server
cd ~/abioticserver ./runserver.sh
The server will launch in a virtual frame buffer using Wine.
๐ฎ Step 7: Join Your Server
- Launch Abiotic Factor
- Go to Join a Server
- Enable
Show Dedicated
- Look for your server name or add it directly via IP
Alternatively, add the server to your Steam favorites:
Steam > View > Servers > Favorites > Add Server IP:PORT (e.g., 123.45.67.89:7777)
โ Conclusion
You now have a fully working Abiotic Factor dedicated server on Ubuntu using Wine! This method provides great flexibility for Linux users who want to host the game without relying on Windows-based infrastructure.
Comments (0)