It seems that you're using an outdated browser. Some things may not work as they should (or don't work at all).
We suggest you upgrade newer and better browser like: Chrome, Firefox, Internet Explorer or Opera

×
high rated
Yesterday I got my copy of Unreal Tournament 2004. I've heard that it can run natively on Linux, but after I installend the game through Wine and applied Linux patch the game wouldn't even start. So I started searching for answers. It took me a long time but with my exceptional google-fu skills I got it running. These links were the most helpful:
http://www.gog.com/forum/unreal_series/unreal_tournament_2004_linux_version/post10
http://www.neowin.net/forum/topic/840720-how-to-ut2004-with-ubuntu-910-libstdc5/
https://bugs.launchpad.net/ubuntu/+source/openal-soft/+bug/995639

I'm aware of my limited knowledge and Linux know-how, so probably some (or most ;)) things could be done better, but if somebody is interested in how I did it, here are the steps:

1. Download the game from GOG and install it using Wine. Then go to the installation directory and copy its contents to ~/.ut2004
It's a rather specific location, I know, but I've put it somewhere else and after running the game, I've discovered that it created UT2004.ini and some other files in this folder anyway. And I didn't care enough to try to change it (I moved entire game there).
Just a reminder: the dot at the beginning of a filename means that the file is hidden.

2. Go to your /.ut2004/System and create new empty file named CDKey
Open terminal and run
wine regedit
which will open Registry Editor. Go to HKEY_LOCAL_MACHINE\Software\Unreal Technology\Installed Apps\UT2004 and copy value of CDKey (doubleclick it for a window with easy to copy text). Paste this into previously created CDKey file.

3. Download Linux patch and unpack it. Move all unpacked content to ~/.ut2004 and replace all the existing files when asked.
http://www.gamershell.com/download_11985.shtml

4. The game requires some libraries to be put into its /System directory. (Or maybe some symlinks, I don't know, it's beyond my knowledge right now).

First of all, download libstdc++5 by writing in terminal:
sudo apt-get && sudo apt-get upgrade
sudo apt-get install libstdc++5

(I've found libstdc++6 among my libraries, but it turns out it's too new for the game).

Now, you have to copy three libraries directly into ~/.ut2004/System directory:
from /usr/lib/x86_64-linux-gnu copy:
- libSDL-1.2.so.0.11.4 and rename it to libSDL-1.2.so.0
- libstdc++.so.5.0.7 (remember: 5 not 6) and rename it to libstdc++.so.5
from /usr/lib/i386-linux-gnu copy:
- libopenal.so.1.14.0 and rename it to openal.so

At this point you should probaly run the game so it generates UT2004.ini. (Use ut2004-bin-linux-amd64 executable from /System directory).

5. Open UT2004.ini from /System and in section [ALAudio.ALAudioSubsystem] change
UseDefaultDriver=True to UseDefaultDriver=False
I've seen suggestions to use sound wrappers in order to fix lack of sound, but for me it works just as it is.

6. Desktop shortcut/launcher. I had to create a script because launcher/shortcut to executable didn't work...
In /.ut2004 create a new file called ut2004.sh (or whatever you like) with these three lines:
#!/bin/bash
cd "$(dirname "$0")"/System
./ut2004-bin-linux-amd64
and allow executing it as a program. Any link or desktop launcher should point at this file, not the executable itself.


Aaand done. At least the game works for me. ;) I know hardly anything about Linux, so all this comes primarily from smart folks on the Internet, but some trial and error attempts and my own judgement were involved. I hope someone will find this useful.


It may be worth noting that I'm running a 64 bit version of Ubuntu 13.10 on i3, 4GB RAM, Intel HD 4000 integrated graphics machine. I suspect that versions and names of libraries may differ for different distros and their versions.
Hmm, I have no sound on Ubuntu 14.04. I have tried with aoss and padsp but no avail :(. Hell I even installed osspd, still no sound..
Post edited September 09, 2014 by blotunga
Thanks! This problem was driving me crazy, this worked like a charm...
The linux patch seems no more available...
avatar
kawickboy: The linux patch seems no more available...
https://www.utzone.de/forum/downloads.php?do=file&id=1194_UT2004-Mega-Pack-Linux-+-LinuxPatch-3369.2
avatar
InkPanther: snip
I did everything and it works but without sound.
I didn't have libopenal.so.1.14.0 though so I used libopenal.so.1.16.0
Sadly I still have hardly any Linux knowledge so I can't help you guys with sound problems...
avatar
Klumpen0815: I did everything and it works but without sound.
I didn't have libopenal.so.1.14.0 though so I used libopenal.so.1.16.0
I've just switched my old openal.so to libopenal.so.1.16.0 to check it, and the sound was still working.


E: Aaand I've just realised how old this topic is... -.-'
Post edited November 01, 2017 by InkPanther
The solution was a more current openal.so I got from Kay.
I've uploaded the working needed libraries:
https://www.dropbox.com/s/yymqly08ydckygu/ut2k4_linux_libs.7z?dl=0

---

For full HD resolution, do this in /home (not the game's folder):

.~/.ut2004/System/UT2004.ini

[SDLDrv.SDLClient]
FullscreenViewportX=1920
FullscreenViewportY=1050
Post edited November 13, 2017 by Klumpen0815