Unreal Tournament GOTY on Ubuntu Feisty
May 27, 2007 at 2:10 pm 9 comments
Wine could be used to run UT Classic on Linux, but since the OpenGL graphics library is being used, UT can run natively too. To install it on Ubuntu Feisty, one could follow this procedure:
Download ut-install-436-goty.run (right click -> save target as).
Insert or mount the first UTGOTY cd. I’m using images, so I have to mount the image and change my SETUP_CDROM system variable for the .run file to work:
sudo mkdir /media/utcd sudo mount -o loop -t iso9660 Unreal_Tournament_GOTY_CD1.iso /media/utcd/ export SETUP_CDROM=/media/utcd
Now we can run the ut-install-436-goty.run. First we have to make the file executable, of course:
chmod a+x ut-install-436-goty.run
We’ll have to use a workaround to install UT: the –keep option of the .run file: “Do not erase target directory after running embedded script”:
./ut-install-436-goty.run --keep
Just click cancel on the graphical user interface. A directory called ut-436-GOTY should have been created. In this dir, run setup.sh.
The GUI will show up again, asking you for a directory where to save the maps and the binary files in. Since I’ll be installing UT on my external NTFS disk, I had to enter /media/PB/UT, make a directory /media/PB/UT/bin and enter this directory as the binary dir.
No errors should occur when you click the install button. The installer will ask for the 2nd cd, so the first should be unmounted and the second should be mounted (use another terminal for this):
sudo umount /media/ut1 sudo mount -o loop -t iso9660 Unreal_Tournament_GOTY_CD2.iso /media/utcd/
Let the installer finish. Be sure to be patient at the end, since all the maps are being extracted at that time, as you can see in the console window.
/media/PB/UT/ut-436-GOTY$ ./setup.sh Warning: No writable targets in path... You may want to be root. Creating preferences directory... Creating directory /home/username/.loki/ut/ Creating directory /home/username/.loki/ut/System WARNING: Not using preference directory stage 0: 0.328692 secs stage 1: 0.180815 secs stage 2: 0.310931 secs stage 3: 0.141942 secs stage 4: 0.453863 secs Total: 1.416242 secs Decompressed ../Maps/AS-Frigate.unr.uz -> AS-Frigate.unr WARNING: Not using preference directory stage 0: 0.261014 secs stage 1: 0.136889 secs stage 2: 0.216173 secs stage 3: 0.184799 secs stage 4: 0.295411 secs Total: 1.094286 secs
UT is installed. Almost done! As I didn’t install the default folder (being /usr/local/games/ut), I have to set the UT_DATA_PATH variable:
/media/PB/UT/bin$ ./ut dirname: missing operand Try `dirname --help' for more information. Couldn't run Unreal Tournament (ut-bin). Is UT_DATA_PATH set? /media/PB/UT/bin$
To fix this error:
export UT_DATA_PATH=/media/PB/UT/System
Starting UT (./ut in the bin folder) shouldn’t give problems no more. You’re done. Unless you’ve got a CPU with scaling capabilities, just like my Pentium Mobile (Centrino): UT will run too fast, it will be impossible to play the game. On Windows, I used to change my power options from ‘Portable/Laptop’ to ‘Home/Office Desk’. There is no difference in Ubuntu. The ‘CPU Frequency Scaling Monitor’ should be added (right click on free space on a panel, choose ‘Add to Panel’). Now, cpufreq cannot be set immediately: the SUID bit should be set:
sudo chmod +s /usr/bin/cpufreq-selector
Click on the cpufreq-selector and choose the highest possible speed. Enjoy!
Entry filed under: Ubuntu Feisty, Unreal Tournament.
1.
Will | July 22, 2007 at 4:56 pm
Hey there, thanks for the piece.
However, me being very new to Linux and Ubuntu, and being stupid, I need some help 😉
Im wanting to install the GOTY edition, which came on one cd (the second was extras). So would I be correct in skipping the first step?
After that It works fine till :
./ut-install-436-goty.run --keepWhen i run this, I get an error message and no GUI pops up.
will@will-desktop:~/Desktop$ ./ut-install-436-goty.run --keep
Creating directory ut-436-GOTY
Verifying archive integrity...tail: Warning: "+number" syntax is deprecated, please use "-n +number"
OK
Uncompressing Unreal Tournament version 436-GOTY Linux installtail: Warning: "+number" syntax is deprecated, please use "-n +number"
.........................................................................
I got lost there, so tried to run the setup.sh but nothing happened.
Any help greatly appreciated 🙂
2.
pressworthly | July 29, 2007 at 12:42 pm
Some files were copied from the second cd of my GOTY edition while installing on Linux (on Windows, only the first cd was needed). I guess you’ll need both the disks as well 🙂
About the error messages: that’s strange. Warnings (not the same as errors) shouldn’t hold back the GUI. Are you sure you used 2 minus signs with “keep”?
will@will-desktop:~/Desktop$uses only 1 minus sign../ut-install-436-goty.run –keep
3.
Mike | August 26, 2007 at 6:49 pm
This is brilliant, considering I’m a idiot when it comes to linux this really helps!
Thanks.
4.
Norm | October 28, 2007 at 10:00 am
Where do I get these ISO-files? Where can I download them? I need them, ’cause I’ve lost my UT-cd’s.
5.
john | November 14, 2007 at 5:15 am
I’m probably missing something, but installation ceases once it gets to unrealtournament.ini. It asks me to mount cdrom 1, but its in the drive.
any thoughts?
6.
john | November 14, 2007 at 5:28 am
nvm, mislabeled cd 😦
7.
Tyler | July 20, 2008 at 12:29 am
Thank you for the tutorial, but I’ve been having some problems…
I got this when I tried running the installer:
tyler@tyler-desktop:~$ /home/tyler/Desktop/UT/ut-install-436-goty.run --keep
Creating directory ut-436-GOTY
mkdir: cannot create directory `ut-436-GOTY': File exists
/home/tyler/Desktop/UT/ut-install-436-goty.run: 126: Cannot create target directory: not found
/home/tyler/Desktop/UT/ut-install-436-goty.run: 126: you should perhaps try option -target OtherDirectory: not found
tyler@tyler-desktop:~$ /home/tyler/Desktop/UT/ut-install-436-goty.run --keep
bash: /home/tyler/Desktop/UT/ut-install-436-goty.run: Permission denied
tyler@tyler-desktop:~$ chmod a+x /home/tyler/Desktop/UT/ut-install-436-goty.runtyler@tyler-desktop:~$ /home/tyler/Desktop/UT/ut-install-436-goty.run --keep
Creating directory ut-436-GOTY
mkdir: cannot create directory `ut-436-GOTY': File exists
/home/tyler/Desktop/UT/ut-install-436-goty.run: 126: Cannot create target directory: not found
/home/tyler/Desktop/UT/ut-install-436-goty.run: 126: you should perhaps try option -target OtherDirectory: not found
8.
Tyler | July 20, 2008 at 12:34 am
If you know the problem, post at my form:
<a href=”http://www.technotylerandkickasskeegan.synthasite.com” title=”TechnoTylerandKickassKeegan.com”
Or email me:
incrediblefalk@hotmail.com
Thnx.
9.
Me | June 27, 2011 at 12:30 am
With a couple tweaks this is still working for me on Debian Squeeze.
If you run into the problem Will had try this
$ export _POSIX2_VERSION=199209
After the install make sure you remove this variable
$ unset _POSIX2_VERSION
If you’re on a 64bit system and get errors about your libc version try running it with the linux32 command
$ linux32 ./ut-install-436-goty.run –keep