1. Installed Ubuntu - I used Ubuntu 24.04.1 LTS from here:
https://ubuntu.com/download/desktop2. Copied across my entire UT2004 directory from Windows, on a USB stick, to my home directory on Linux, and renamed it
.ut2004
(dot ut2004). I'd already got the ut2004-bin-linux-amd64 executable from the
linux 3369 patch. Made it executable:
chmod +x ut2004-bin-linux-amd64
3. Grabbed the 64-bit libraries needed for UT to run.
From the ~/.ut2004/System directory I ran the following commands to install and create a symlink to each. This gets you libSDL-1.2.so.0 & libstdc++.so.5 & Openal for sound: and creates a symlink for them in the System directory:
sudo apt-get install libsdl1.2debian
ln -sf /usr/lib/x86_64-linux-gnu/libSDL-1.2.so.0 .
sudo apt-get install libstdc++5
ln -sf /usr/lib/x86_64-linux-gnu/libstdc++.so.5 .
sudo apt-get install libopenal1
ln -sf /usr/lib/x86_64-linux-gnu/libopenal.so.1.23.1 ./openal.so
4. Created a file "cdkey" in ~/.ut2004/System directory containing my CD Key
5. Edited UT2004.ini for opengl and alaudio:
[Engine.Engine]
RenderDevice=OpenGLDrv.OpenGLRenderDevice
AudioDevice=ALAudio.ALAudioSubsystem
6. Slightly late, changed to using KDE, as without it the in-game display sliders for contrast, brightness and saturation:
https://linuxcapable.com/how-to-install-kde-plasma-on-ubuntu-linux/7. Two commands that are useful (from Holyspam):
Mesa drivers have mesa_glthread flag which enables multi-threading on their OpenGL driver implementation:
https://linuxcapable.com/how-to-install-kde-plasma-on-ubuntu-linux/Set up CPU for performance:
sudo cpupower frequency-set --governor performance
Run:
cd ~/.ut2004/System/
./ut2004-bin-linux-amd64