General Zone > Helpdesk

Installing UT2004 under Linux

(1/2) > >>

N3Cr0:
I got a request how to install UT2004 under Linux. So here is the tutorial:

Caution: This tutorial is running into a dead end after updating to patch 3369 under newer Ubuntu Versions. (unfixable libSDL-1.2.so.0 version mismatch)
Please proceed with the next post.

1. You can prepare the updates while doing the other stuff:
   Just download them from here: http://liflg.org/?catid=6&gameid=17. What you need is ut2004_3369-english.midway.dvd-3.run and ut2004.megapack-english-3.run.
   Torretns are down, but the direct links are still available.
EDIT: I just noticed these installers have some weird bugs. I will search for some other links.
Patches are available here: http://downloads.unrealadmin.org/UT2004/Patches/Linux/. I recommend the last one: http://downloads.unrealadmin.org/UT2004/Patches/Linux/ut2004-lnxpatch3369.tar.bz2
And the mega pack: http://www.gamershell.com/download_11937.shtml

2. 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:

--- Code: ---sudo mkdir /media/ut2004
sudo mount -t iso9660 -o loop ut2004.mdf /media/ut2004/

--- End code ---

3. Run the linux installer with root rights (or extract all archives from the DVD if you know what you are doing).
    (open a terminal)

--- Code: ---sudo /media/ut2004/linux-installer.sh
--- End code ---
   the default settings during install should be ok. When finished, do NOT start the game as root.

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/?a6l6wqgjbuix6j4
... to be continued

N3Cr0:
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.bz2
And the mega pack: http://www.gamershell.com/download_11937.shtml

2. 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:

--- Code: ---sudo mkdir /media/ut2004
sudo mount -t iso9660 -o loop ut2004.mdf /media/ut2004/
--- End code ---

3. Run the linux installer (root rights not required)
    (Open a terminal)

--- Code: ---/media/ut2004/linux-installer.sh
--- End code ---
    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/?a6l6wqgjbuix6j4

5. 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)

--- Code: ---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
--- End code ---

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
--- Code: ---aoss ~/ut2004/ut2004
--- End code ---

             or make a start script for that:

--- Code: ---#!/bin/sh
aoss /usr/local/games/ut2004/ut2004
--- End code ---
             *if you have installed Killing Floor mod:

--- Code: ---#!/bin/sh
aoss /usr/local/games/ut2004/ut2004 --mod=KFMod20
--- End code ---

   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.

solar:
mmm. linux tastes so good. glad to see I'm not the only one playing this game still on linux.

Veica:
I will be when I get home, I've been told it runs better on Linux than on Windows.

N3Cr0:
That's just the half truth.
Honestly, KFmod lacks the welder display and hit blur under Linux.
Copy & Paste doesn't work and default sound environment sucks.
The only advantages under Linux are a higher framerate (I guess because it doesn't use the full graphical potential) and much higher stability if you have a broken VRAM bank (as I had on my last GFX card).

Navigation

[0] Message Index

[#] Next page

Go to full version