├── amd64
│ ├── libglib1.2ldbl_1.2.10-19_amd64.deb
│ └── libgtk1.2_1.2.10-18.1_amd64.deb
├── i386
│ ├── libglib1.2ldbl_1.2.10-19build1_i386.deb
│ └── libgtk1.2_1.2.10-18.1build2_i386.deb
└── libgtk1.2-common_1.2.10-18.1build2_all.deb
- Mount UT Iso
# mount -o loop ut.iso /media/cdrom0
First, get the correct install script from here http://liflg.org/?catid=6&gameid=51
$ chmod 755 unreal.tournament_436-multilanguage.run
# sh unreal.tournament_436-multilanguage.run
CTRL+D (exit graphical install) to continue installation through CLI
UT is now installed and lives in two directories, by default :
- System directory :
/usr/local/games/ut
- User directory :
~/.loki/ut
We have to decompress maps in our user directory:
$ mkdir -p ~/.loki/ut/Maps
$ for i in /usr/local/games/ut/Maps/*uz ; do ucc decompress "$i" ; done
$ mv ~/.loki/ut/System/*.unr ~/.loki/ut/Maps
Now launch UT from command-line:
$ ut
wget http://www.deepsky.com/~misaka/scripts/umodunpack.pl
chmod +x umodunpack.pl
sudo ./umodunpack.pl -u UTBonusPack4.umod -b /usr/local/games/ut
or
./umodunpack.pl -u UTBonusPack4.umod -b ~/.loki/ut
$ ut
/usr/local/bin/ut: 29: /usr/local/bin/ut: Bad substitution
Bad substition ? Let's fixed that by replacing #!/bin/sh
by #!/bin/bash
into /usr/local/games/ut/ut
$ vim ~/.loki/System/UnrealTournament.ini
Replace AudioDevice=ALAudio.ALAudioSubsystem
with AudioDevice=Audio.GenericAudioSubsystem
Then run the game with padsp:
$ padsp ut
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:
# apt-get install libpulsedsp:i386
# vim /usr/bin/padsp
Then change LD_PRELOAD directory to point to the 32 bits version :
[...]
if [ x"$LD_PRELOAD" = x ] ; then
#LD_PRELOAD="/usr/lib/x86_64-linux-gnu/pulseaudio/libpulsedsp.so"
LD_PRELOAD="/usr/lib/i386-linux-gnu/pulseaudio/libpulsedsp.so"
else
#LD_PRELOAD="$LD_PRELOAD /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsedsp.so"
LD_PRELOAD="$LD_PRELOAD /usr/lib/i386-linux-gnu/pulseaudio/libpulsedsp.so"
fi
[...]
I minor suggestion, instead of
/usr/bin/padsp
, save the changes to a new/usr/bin/padsp-i386
?