Instructions to install Unreal Tournament.

Unreal Tournament

URL: http://www.unrealtournament.com/

Installation (Loki)

URL: http://www.liflg.org/?catid=6&gameid=51
The Loki installer provides updated OpenGL renderers.

Original CD

Download http://www.liflg.org/?what=dl&catid=6&gameid=51&filename=unreal.tournament_436-multilanguage.run
chmod +x unreal.tournament_436-multilanguage.run
./unreal.tournament_436-multilanguage.run

GOTY CD

Download http://www.liflg.org/?what=dl&catid=6&gameid=51&filename=unreal.tournament_436-multilanguage.goty.run
chmod +x unreal.tournament_436-multilanguage.goty.run
./unreal.tournament_436-multilanguage.goty.run

Uninstall

In the main game directory, there is a script called uninstall. Run it in terminal.

Troubleshooting

Checksum error at installing

You may get an error like this:

Verifying archive integrity...tail: cannot open `+6' for reading: No such file or directory
Error in check sums [number1] [number2]

This is caused by a deprecated syntax for tail that the installer uses. To fix it, try running this in the terminal before running the installer:

export _POSIX2_VERSION=199209

Error loading shared libraries

If you get an error when you run the .run installer that looks like this:

error while loading shared libraries: libgtk-1.2.so.0: cannot open shared object file: No such file or directory

You will need to install the old libgtk along with its dependencies. The next few steps assume you are using a processor compatible with i386 architecture. To download the library and its dependencies visit Launchpad page for libglib and Launchpad page for libgtk+1.2. Download them via Built files. You only need libglib1.2ldbl_1.2.10-19build1_i386.deb, libgtk1.2_1.2.10-18.1build2_i386.deb and libgtk1.2-common_1.2.10-18.1build2_all.deb. If you download the files to one folder, you can install them via console:

sudo dpkg -i libgtk1.2-common_1.2.10-18.1build2_all.deb libglib1.2ldbl_1.2.10-19build1_i386.deb libgtk1.2_1.2.10-18.1build2_i386.deb

The installer can run on amd64 architecture if the amd64 versions of the above packages are installed.

Game is too fast

If you have CPU scaling enabled, the game may run very fast (or very slow, yet responsive). This may be due to it detecting the wrong CPU speed. One way to correct this is by adding the CPU Frequency Scaling Monitor applet to your panel. Before launching the game click on the applet and select Performance

If you have KDE, you may need to install the utilities cpufrequtils and use its command line programs:

sudo apt-get install cpufrequtils

Before starting the game, set the cpu speed to performance with:

sudo cpufreq-set -g performance

and after the game to ondemand with:

sudo cpufreq-set -g ondemand

This can be setup in the local ./ut startup script (or create it) to start the game. Example:

#!/bin/bash
sudo cpufreq-set -g performance
/opt/ut/ut
sudo cpufreq-set -g ondemand

A desktop shortcut to the script makes a perfect experience. Remember to link the UT icon to your desktop shortcut.

NOTE: An older solution had the startup script use a so called utbusy script to "slow down" the cpu. The above solution is a cleaner, better solution.

Bad or no sound

If you get errors like

open /dev/dsp: No such file or directory

or you have sound lag or no sound, you have two options.

The first option is to install osspd-alsa or osspd-pulseaudio. This creates /dev/dsp as a proxy to stream audio from UT to alsa or pulseaudio respectively.

The second is to open /home/username/.loki/System/UnrealTournament.ini and replace

AudioDevice=ALAudio.ALAudioSubsystem

with

AudioDevice=Audio.GenericAudioSubsystem

Then run the game with padsp:

padsp ./ut

ERROR: ld.so: with padsp

If you are using 64-bit system, you might still get no sound. The startup may show the following error when using padsp:

ERROR: ld.so: object '/usr/lib/x86_64-linux-gnu/pulseaudio/libpulsedsp.so' from LD_PRELOAD cannot be preloaded: ignored.

To solve this, install the 32-bit version if not already installed:

sudo apt-get install libpulsedsp:i386

Then, copy the padsp script to a local (or global) padsp32 file and edit the lines that set the LD_PRELOAD variable to point to the 32-bit version of the library (use the locate command). Example:

...
if [ x"$LD_PRELOAD" eq x ] ; then
  LD_PRELOAD="/usr/lib/i386-linux-gnu/pulseaudio/libpulsedsp.so"
else
  LD_PRELOAD="$LD_PRELOAD /usr/lib/i386-linux-gnu/pulseaudio/libpulsedsp.so"
fi
...

Finally, edit the ./ut startup script to use the padsp23 version. Putting it together with the cpu scaling solution, we have the example script:

#!/bin/bash
sudo cpufreq-set -g performance
./padsp32 /opt/ut/ut
sudo cpufreq-set -g ondemand

NOTE: An older solution was to "replace" the 64-bit version with the 32-bit version:

1. Move (i.e., backup) the 64-bit version of the library:

sudo mv /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsedsp.so /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsedsp.so_x86_64

2. Download the 32-bit version from launchpad. Extract libpulsedsp.so with the use of Archive manager like Ark or FileRoller and move it to /usr/lib/x86_64-linux-gnu/pulseaudio/

Character disappears when hit

This is due to Screen Flashes being turned on. To solve this problem navigate to your Unreal Tournament .ini, found in:

~/.loki/ut/System/UnrealTournament.ini

Find section [SDLDrv.SDLClient] and change the following line:

ScreenFlashes=True

to:

ScreenFlashes=False

Anti-cheat Software

Some Anti-cheat components do not install by them self. That's why the client validity test fails and you get kicked. If the server you are playing on is using ACE (AntiCheatEngine for Unreal Tournament), then you can manually download the binaries and put them in to your UT/System folder.

URL: http://utgl.unrealadmin.org/ace/

Installation Bonus Packs (Loki)

URL: http://www.liflg.org/?catid=6&gameid=51
The Loki installer provides an easy to use installer for the Unreal Tournament bonus packs.

Download http://www.liflg.org/?what=dl&catid=6&gameid=51&filename=unreal.tournament.official.bonus.pack.collection.run
chmod +x unreal.tournament.official.bonus.pack.collection.run
./unreal.tournament.official.bonus.pack.collection.run

Playing

./ut


CategoryGames

Games/Native/UnrealTournament (last edited 2015-02-08 15:00:20 by BSN-61-72-185)