So you want to install UT2004 on some Linux? Because 10 year old games are the best games.
- UT2004 (The GOG copy or the original DVD will both work, as will presumably any other copy of UT2004)
- The latest (3369) linux patch for UT2004
- A CD key. If you want to run a dedicated server, generate yourself a server key at https://forums.unrealtournament.com/utserver/cdkey.php?2004
- libstdc++.so.5 (could also end .so.5.X.Y where X and Y are numbers, this is also fine) built for i386 linux. the 64-bit build of UT2004 is sadly broken (can't rebind ports on map changes, making the web interface useless after the first map), so i386 is the way forward.
- Copy the UT2004 files onto your linux someplace. Let's say you did it to /UT for the purposes of this guide.
- Unzip the patch and copy it in to /UT. (Let's say the patch was unzipped to /UTPatch) I did it with rsync -rv /UTPatch/* /UT
- Make a file called cdkey in /UT/System with the CD key you generated as its only contents.
- Now sort out libstdc++.so.5. Basically, you want to make sure you have libstdc++.so.5 (for i386 linux) in /UT/System . The easiest way on recent Debian/Ubuntu machines is to run the following commands as root or under sudo:
-
dpkg --add-architecture i386
wget http://old-releases.ubuntu.com/ubuntu/pool/universe/g/gcc-3.3/libstdc++5_3.3.6-17ubuntu1_i386.deb
dpkg -i libstdc++5_3.3.6-17ubuntu1_i386.deb
and then this as your usual user:
ln -s /usr/lib/libstdc++.so.5 /UT/System
On other Linuxes you'll have to extract the file from the deb and just copy it in. Apparently .deb files are ar
archives so you'll have to read man ar
and then work it out from there.
Mostly made this document so that people hopefully come across it on Google and feel a bit more heartened and like it might actually work - the only other posts about it are from a very long time ago and had an incorrect link (after a while Ubuntu moves files from archive.ubuntu.com to old-releases.ubuntu.com)