It's a might more complicated, but here are the notes I wrote for myself on the subject. (It assumes you installed the game as root to /usr/local/games/ut so anyone can access it. If not, replace any such references to wherever you installed it)
Also, make sure libSDL is installed - your error message as root leaves me unsure if you have or not?
Installing Unreal Tournament Game of the Year Edition
I have a GOTY edition of UT from the 'Totally Unreal' pack. Need to:
1. Install using Loki installer
1.5. Change to the directory you installed UT to.
2. Edit ucc and ut. Replace:
Code:
# Is the awk/ls magic portable?
if [ -L "$fullpath" ]; then
fullpath="`ls -l "$fullpath" | awk '{print $11}'`"
fi
with this:
Code:
# Is the sed/ls magic portable?
if [ -L "$fullpath" ]; then
fullpath=`ls -l "$fullpath" |sed -e 's/.* -> //' |sed -e 's/\*//'`
fi
3. Create convert.sh and put the following code in it:
Code:
#!/bin/sh
# FILENAME: convert.sh
#
# Change this to YOUR install-dir of UT
#
INSTALLDIR=/usr/local/games/ut
cd $INSTALLDIR/System
for i in ../Maps/*.unr.uz
do
ucc decompress $i -nohomedir
done
mv *.unr ../Maps
cd ../Maps
for f in *.unr
do
rm $f.uz
done
echo "..:: Done! ::.."
4. chmod +x convert.sh
5. sh convert.sh