Thursday, July 19, 2012

UT2004 Linux - Internet Grayed out

At long last I got my hands on UT2004 (Steam Summer Sale!), and I wanted to play on ubuntu 12, it finally worked (no audio still, working on that, will update) (the guide I used as a base)

  1. Install the game on Wine
  2. Get the CDKEY from ("wine regedit" on the terminal) /HKEY_LOCAL_SYSTEM/Software/Unrea*/CDKEY
  3. mv ~/.wine/drive_c//steamapps/common/ ~/UT2004/
  4. Download and extract the patch, and exctract it to ~/UT2004, it will ask to replace a bunch of files
  5. Add ubuntu universe repository to /etc/apt/sources.list "deb hardy main universe"
  6. sudo apt-get install libsdc++5
  7. cd ~/UT2004/System
  8. ./ut2004-bin-amd64
  9. If there are any dependencies resolve them following this guide

 Now when I started the game under "Join Game", "Internet" was grayed out, so I did this

  1. sudo vi /etc/nsswitch.conf
  2. in the "hosts:" line move dns to arrange the line like this "hosts: file dns
After this it worked fine. Hope this helped.