OK, attempt #2. This time we install the game to your $home directory.
This tutorial is for newer Ubuntu/Linux Mint 64 bit only.
1. You can prepare the updates while doing the other stuff:
Patches are available here:
http://downloads.unrealadmin.org/UT2004/Patches/Linux/. I recommend ut2004-lnxpatch3369-2.tar.bz2:
http://downloads.unrealadmin.org/UT2004/Patches/Linux/ut2004-lnxpatch3369-2.tar.bz2And the mega pack:
http://www.gamershell.com/download_11937.shtml2. Pop in your UT2004 DVD / mount the image.
Note: If your Image is a MDF file (made with Alcohol120%) you have to mount it manually and define the file system.
If you don't know how to do this:
sudo mkdir /media/ut2004
sudo mount -t iso9660 -o loop ut2004.mdf /media/ut2004/
3. Run the linux installer (root rights not required)
(Open a terminal)
/media/ut2004/linux-installer.sh
change the install path to /home/
username/ut2004 (or if you don't like to have a main folder and a config folder: /home/
username/.ut2004
Symbolic links are not required. I recommend installing all files it asks you for.
4. The shared library "libstdc++.so.5" might be missing, so we have to get it first.
For Ubuntu 64 bit users: I have uploaded my old lib:
http://www.mediafire.com/?a6l6wqgjbuix6j45. Extract the content from the update/UT2004-PATCH/ to your ut2004/ directory. Same with the Megapack if you want.
6.1 Delete or move /ut2004/System/libSDL-1.2.so.0 if existent.
6.2 Replace it with the library from your own system. In my case the file is located in /usr/lib/x86_64-linux-gnu/. It could also be in another /lib/ directory.
(Symbolic links somehow don't work in this case)
cp /usr/lib/x86_64-linux-gnu/libSDL-1.2.so.0.11.3 /home/[i]username[/i]/ut2004/System/libSDL-1.2.so.0
7.You can run /ut2004/System/ut2004-bin-linux-amd64 to start the game. If you want to start it with the file /ut2004/ut2004 (start stript), you can fix this script:
Open the file with a text editor and replace all entries called "ut2004-bin" with "ut2004-bin-linux-amd64"
8. Sound:
You may not hear any sound in this game. This could be fixed by installing OSS on your system. If it works for you, you will maybe notice you cannot hear anything else than the game anymore. This happens if your sound chip doesn't support hardware mixing.
So I recommend another way: using ALSA or Pulse Audio as sound server. This depends on your system configuration.
(Since Pulse Audio is used by default on most newer Ubuntu derivates, you can skip to b) )
a) If you are using ALSA:
1. Install ALSA-OSS (aoss).
2. run the game in a terminal
aoss ~/ut2004/ut2004
or make a start script for that:
#!/bin/sh
aoss /usr/local/games/ut2004/ut2004
*if you have installed Killing Floor mod:
#!/bin/sh
aoss /usr/local/games/ut2004/ut2004 --mod=KFMod20
b) Pulse Audio: It's best to replace the /ut2004/System/openal.so with the libopenal.so from your system.
This file can be located as /usr/lib/x86_64-linux-gnu/libopenal.so.1.13.0
9. Killing Floor: it's comfortable to place the KFMod Directory into /home/
username/.ut2004 .
If you cannot see this hidden folder, press [Ctrl]+[H].
NOTE: I just encountered a bug which made it impossible for me to turn around with the mouse - just looking up/down works. I hope you will not have the same error.