Okay, things appear to have changed a bit in edgy, or the loki installer has changed, one or the other. (This works in Gutsy, too. I have no idea about Hardy, because it's unstabler than a 19 year old Alabama 3rd grader in a dui tank)
So if you are like me, and think Unreal Tournament is the best game ever made, and have to have it playable on any machine, and freaked when you tried it in Edgy, here's how you do it.
Well, first off, make sure it's installed:
Get this download: http://www.liflg.org/?catid=6&gameid=51 (actually, chose which one, depending on if you have ut or utgoty) I put it in my /home/myname/ to run it. Go ahead and put cd one in right now so it will be mounted.
If you put the file anywhere other than /home/yourname/, the open terminal, and cd /tothedirectoryouputitin. (good practice: always put stuff in /home/you/ when you have to install them. delete them later. Terminal defaults to that directory, so it's easier that way)
Type
Code:
sh unreal.tournament_436-multilanguage.goty.run
and then install ut.
Now you will notice, once all is done, that
Code:
cd /home/myfolder/ut
then
won't work.
Thanks to DarkSim, we have a neat solution to this.
From the terminal, type
Code:
cd /home/yourname/ut
then
press enter
paste this into it, and save:
Code:
#!/bin/sh
cd /home/bill/ut
bash ut
now close gedit, and in the terminal, type:
Now you can use that file to launch ut.
Click on your launch bar on your desktop, and create a link to it (there's a ut icon in ~/ut to use).
Here's how to make a ut cleaner:
Open text editor, and copy and paste the following in to it:
Code:
#!/bin/bash
cd ~/Cache || exit 1 # change this to your UT user dir
if [ -f cache.ini ] ; then
{
export utdir="/home/bill/.loki/" # change this to your main UT folder
gawk -F= '
utdir = "${utdir}"
function moveit(targ)
{
print "mv -v "$1".uxx" " " utdir targ substr($2, 1, length($2)-1) | "sh";
}
{
if(match($2,".unr")) moveit("Maps/");
else if(match($2,".utx")) moveit("Textures/");
else if(match($2,".uax")) moveit("Sounds/");
else if(match($2,".umx")) moveit("Music/");
else if(match($2,".u")) moveit("System/");
}
END { close("sh") }' cache.ini
rm *.uxx cache.ini
}
fi;
if [ -f $utdir"System/De.u" ]; then rm $utdir"System/De.u" ;fi
if [ -f $utdir"System/de.u" ]; then rm $utdir"System/de.u" ;fi
# end script
Notice this: /home/bill/.loki/ . Change according to your personal set up.
Save in /home/you/ as utcleaner. Notice all the pretty colors that the text changed to? This means something important, but I am a total noob, so it's above my pay grade, therefore there's no telling what it means.
Open terminal, and type this:
(or chmod 755 utcleaner if +x doesn't work for you)
The file utcleaner is now executable.
To run it, from terminal, type
Better yet, put that baby in your ~/ut folder, then create a launcher for it.
Thanks to tjotser for telling me about ut-bin.
anyone know how to make a launcher for this, please share...
Edit:
a recap, install it all, put the utcleaner file in /home/yourname/ut then to play, just
cd /home/yourname/ut
bash ut
once the game's over, then
./utcleaner
and your cache is moved.
anybody figure out how to make a launcher for this that works?
Bookmarks