Differences between revisions 18 and 19
Revision 18 as of 2021-02-14 16:12:41
Size: 3828
Editor: ?GaelLeboeuf
Comment:
Revision 19 as of 2021-02-14 16:13:33
Size: 3832
Editor: ?GaelLeboeuf
Comment:
Deletions are marked like this. Additions are marked like this.
Line 104: Line 104:
This is caused by hardlink to an old version of libstdc++ (see [[https://www.gamingonlinux.com/articles/the-sad-case-of-unreal-engine-1-on-mesa-and-linux-in-2020.15915/page=4|here]] for more details)  This is caused by hardlink to an old version of libstdc++ (see [[https://www.gamingonlinux.com/articles/the-sad-case-of-unreal-engine-1-on-mesa-and-linux-in-2020.15915/page=4|here]] for more details)
Line 106: Line 106:
To solve the problem : get a modified version of game files [[https://downloads.dotslashplay.it/resources/unreal-tournament/|here (original version)]] and unzip it in /usr/local/games/ut/  To solve the problem : get a modified version of game files [[https://downloads.dotslashplay.it/resources/unreal-tournament/|here (original version)]] and unzip it in /usr/local/games/ut/
Line 108: Line 108:
or you can grab a copy of the file called "ut99v451-linux.2019-07-21.tar.gz" [[https://cloud.leboeuf.eu/index.php/s/EWtzCfKLF5JySen|here]]  or you can grab a copy of the file called "ut99v451-linux.2019-07-21.tar.gz" [[https://cloud.leboeuf.eu/index.php/s/EWtzCfKLF5JySen|here]]
Line 110: Line 110:
You'll then need to install libsdl1.2debian:i386  You'll then need to install libsdl1.2debian:i386

Unreal Tournament

Description

Multiplayer-oriented FPS released in 1999 with native Linux port. Many game types are available (Deathmatch, CTF, Assault, Domination, etc...)

screenshot.png

Requirement

Any computer after 2000 should be ok. (It works perfectly on a P3-450 with 128mb of ram and a Riva TNT 2 Ultra).

Install UT99 on Debian/Testing (AMD64) (working on 2021-02-14)

Game Of The Year edition includes bonus packs 1,2 &3.

1. Install old gtk libs

  • In order to be able to launch the installer (and the game), you need to install 3 old libraries (install the i386 versions!).

    libglib1.2 libgtk1.2-common

    Before installing the third, modify the file /var/lib/dpkg/status to add Multi-Arch: foreign as follow :

...
Package: libgtk1.2-common
 Status: install ok installed
 Multi-Arch: foreign
 Priority: optional
 Section: misc
 Installed-Size: 944
...

edit 2019-02-24 : links are dead...you can download the files here

note that you should also install the libsm6:i386 and libgl1:i386 packages available in the official repos

2. Run the installer

  • The installer can be downloaded here. Be careful to choose the right version (GOTY or not...) Launch it in 32 bit environment.

sudo linux32 sh unreal.tournament_436-multilanguage.goty.run 

3. Install oss compatibility libs

  • In order to have sound working, you need to install oss compatibility for PulseAudio.

sudo apt-get install osspd-pulseaudio:i386 libpulsedsp:i386 

4. Create a padsp32 script

  • Create a psdsp32 script based on /usr/bin/padsp and change lines as follow :

...
if [ x“$LD_PRELOAD” = 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 
...

5. Create a launcher

  • Like this :

 #! /bin/sh
 cd /usr/local/games/ut/System/
 /path_to_new_script/padsp32 /usr/local/games/ut/System/ut-bin 

6. Enjoy!

Troubleshooting

Config file

The config file (?UnrealTournament.ini) is located in ~.loki/ut/System/ On Gnome-DE with dual screen, a good option is to play in windowed mode and with captured mouse:

...
WindowedViewportX=1024
WindowedViewportY=768
WindowedColorBits=32
...
StartupFullscreen=False
CurvedSurfaces=True
CaptureMouse=True
...

Segfault with MESA

  • This is caused by hardlink to an old version of libstdc++ (see here for more details)

    To solve the problem : get a modified version of game files here (original version) and unzip it in /usr/local/games/ut/

    or you can grab a copy of the file called "ut99v451-linux.2019-07-21.tar.gz" here You'll then need to install libsdl1.2debian:i386 Since actual CPU's are fast enough, you can alternatively use SDLSoftDrv.SDLSoftwareRenderDevice as renderdevice. Modify the file ~$ .loki/ut/System/UnrealTournament.ini as follow

...
[Engine.Engine]
GameRenderDevice=SDLSoftDrv.SDLSoftwareRenderDevice
WindowedRenderDevice=SDLSoftDrv.SDLSoftwareRenderDevice
RenderDevice=SDLSoftDrv.SDLSoftwareRenderDevice
...


CategoryGame ?CategoryGameProprietary