Install Unreal Tournament 2004 Midway on Ubuntu 10.X

Posted by sysadmin on July 12, 2011
Linux

I want to write this article in hopes that it will save somebody the time and trouble to track down all the information I did. So let us begin.

First we need to download the installer.

http://www.liflg.org/?catid=6&gameid=17 download the dvd-3.run file.

BTY:

This is a great site! they have created installers for many older game base on the work by now dead Lokigames http://www.lokigames.com/.

Because of changes and updates in ubuntu we need to get some older lib files.

First file you will need is

https://launchpad.net/ubuntu/lucid/i386/libxml2/2.7.6.dfsg-1ubuntu1 (libxml2_2.7.6.dfsg-1ubuntu1_i386.deb). This is needed to work around this bug http://liflg.org/forum/viewtopic.php?f=2&t=1015 in the installer you can check liflg.org if there is a update to this bug.

Next file you will need is libstcd++5. This is used by UT2004 itself. You can find the deb file here:

http://fr.archive.ubuntu.com/ubuntu/pool/universe/g/gcc-3.3/libstdc++5_3.3.6-21ubuntu1_i386.deb

Lets go ahead and install the packages you downloaded and a few other file we need. Open the terminal. ALT+F2 type in gnome-terminal and hit enter. The terminal will open in your home folder, you can type ‘dir’ to see what in there and get your bearings. Now we need to move to the folder the files downloaded to. They likely download to the ‘Downloads’ folder so in the terminal you would type ‘cd Downloads’.

Here are the commands you can past in :

Just to make sure we are working with and update system.

sudo apt-get update (It will ask for your password)
sudo apt-get upgrade
sudo dpkg-i libxml2_2.7.6.dfsg-1ubuntu1_i386.deb
sudo dpkg -i libstdc++5_3.3.6-17ubuntu1_i386.deb
sudo apt-get install alsa-oss oss-compat

OK, that is it for the package we need installed. Now make sure your UT DVD is in and show up Nautilus. back in the terminal type:

sh ./ut2004_3369-english.midway.dvd-3.run

If everything OK it should launch the installer. Now I had a problem where I would go through put in my cd-key and it would not let me continue, but if I choose cancel it would drop to a less pretty installer and after I clink accept the install when great.

Now that we have the game installed, lets go add the menu icon. right click on the menu and choose edit. In the box that come up. Choose where you want the Icon to be, then click ‘New Item’. Type in a name in the name field. In the command field choose ‘Browse’. The UT launcher should in ‘/home/your username/ut2004/’. Now in the icon section upper left corner click the button and browse back to that folder you will find ut2004.xpm choose that for your icon. That will give you a nice UT2004 icon.

One more thing before you save that and start playing, go back to the command section at the beganing we need to add ‘padsp’ so it should look like this ‘padsp /home/username/ut2004/ut2004’. We need to add that because as pulseaudio become more baked it replace some of the function of the old OSS (Open Sound System) that UT uses. padsp command creates a false ‘/dev/dsp’ and feeds the audio into pulseaudio.

Now after all the work you deserve a game!!!

So now go enjoy the game.

Jeff

Comments are closed.