Hi all, well after a bit of messing around I've managed to get UT GOTY Edition up and running mainly by referring to this guide: http://www.princessleia.com/UT.html
and this post: http://www.ubuntuforums.org/showthread.php?t=8053
However I did run in to some problems, so I thought I'd post my fix's here and (hopefully) save you all some time and frustration!
So anyway,
Step 1. Follow the guide: http://www.princessleia.com/UT.html
Step 2. You will need to extract the maps, but before you do - try typing into the terminal; if you get the error:
Code:
dirname: too few arguments
Try `dirname --help' for more information.
Couldn't run Unreal Tournament (ut-bin). Is UT_DATA_PATH set?
Then we need to a little more 'setting up' (if not skip to Step 3).
Type:
Code:
sudo gedit /usr/bin/ut
in the terminal and then add the line
Code:
UT_DATA_PATH="/usr/games/ut/System"
into the file (I put it under the 'UT_PREFS=...' line) - *note* if your install directory is different, then enter that location instead!
now in order to avoid THIS we will have to add the same line to the file ucc:
Code:
sudo gedit /usr/bin/ucc
and again add the line
Code:
UT_DATA_PATH="/usr/games/ut/System"
under the 'UT_PREFS=...' line.
Step 3. Make a new document in your home directory containing the following:
Code:
#!/bin/sh
# Change this to YOUR install-dir of UT
#
INSTALLDIR=/usr/games/ut
cd $INSTALLDIR/System
for i in `ls ../Maps/*.unr.uz`
do
ucc decompress ../Maps/$i -nohomedir
done
rm ../Maps/*unr.uz
mv *.unr ../Maps
echo "..:: Done! ::.."
make it executable and then 'sudo' run it from a terminal. If your maps get deleted copy them back to the maps directory (/usr/games/ut/maps) from the install CD's and read Step 2 above 
Step 4. Now try typing, into the terminal again - all being well you should be up and running! But don't stop reading just yet!!!
Step 5. So then, hows your sound? Can you hear the in game sounds? Yes? Good, now try running the game by going to Applications>Games>Unreal Tournament
*note* if the icon isn't there you may need to refresh the gnome panel
Sound still working? If yes then good for you, if no read on...
First I recommend you follow the directions given here: http://ubuntuguide.org/#configuresoundproperly
The reason it doesn't work is because the Enlightened Sound Daemon is running, stopping the UT sound (I think that right, if not please feel free to correct
).
There are 2 ways to get around this; one you can do what the guide says and disable the system sounds or if you like the 'clunks' when you start apps (as I do!
) you can do the following;
Open a terminal and type
Code:
sudo gedit /usr/bin/ut
and add the line above the line which says '# The user preferences directory'
This will cause UT to wait 5 seconds before starting which should allow enough time for the Daemon to shut down.
*note* if you followed the guide then you can probably reduce this value from 5 to 2 seconds - play around and see what works!
Right well that's about it! Any problems, errors etc. feel free to post, sorry if its a bit long and disorganised but its been a long day - happy gaming!
Bookmarks