I recently wanted to fire up a dedicated server for this since its been a long time and was sad to see the masters had shut down. OpenSpy has added support for it though, so I figured if anyone wants to know how to fire one up, I could save them the time though with this quick guide.
Note: Performed on a fresh Ubuntu Server 22.04 install.
Installing Prerequisites, creating user to run, and installing the server itself
We add the i386 architecture to our package manger's list and install all the dependencies, then use LinuxGSM to actually pull down the latest v2.1 server files.
- sudo dpkg --add-architecture i386
- sudo apt update
- sudo apt install bsdmainutils bzip2 jq lib32gcc-s1 lib32stdc++6 libsdl2-2.0-0:i386 netcat unzip
- sudo adduser ut3server
- su ut3server
- cd ~
- wget -O linuxgsm.sh https://linuxgsm.sh && chmod +x linuxgsm.sh && bash linuxgsm.sh ut3server
- ./ut3server install
Updating Binary to OpenSpy master server platform
To make it talk to the Openspy master server, we will swap out the original ut3-bin with one that has been redirected to openspy. We rename the old one to ut3-bin.old, and slide the new one into its place.
- wget https://files.venom56.ru/games/ut3/O.../Linux/ut3-bin
- chmod 755 ut3-bin
- mv /home/ut3server/serverfiles/Binaries/ut3-bin /home/ut3server/serverfiles/Binaries/ut3-bin.old
- mv ut3-bin serverfiles/Binaries/
Set up all your configurations in the following places
This is a whole topic in and of itself, but we need to configure the game itself (UTGame.ini), and we need to configure how its launched by tweaking command line params in the lgsm config files to set maps, gamemodes, login passwords, and bot settings.
- /home/ut3server/lgsm/config-lgsm/ut3server/common.cfg
- /home/ut3server/lgsm/config-lgsm/ut3server/ut3server.cfg
- /home/ut3server/serverfiles/UTGame/Config/ut3server/UTGame.ini
Start with:
./ut3server start
Once its running, get info with:
./ut3server details