2

Installing UT2004 on a linux

 2 years ago
source link: https://gist.github.com/telyn/06bc221a7622743cf205
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

So you want to install UT2004 on some Linux? Because 10 year old games are the best games.

You will need:

  • 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.

The steps:

  • 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.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK