Differences between revisions 15 and 16
Revision 15 as of 2019-11-11 23:55:19
Size: 3238
Editor: ?PedroBeja
Comment:
Revision 16 as of 2021-02-14 15:52:37
Size: 3374
Editor: ?GaelLeboeuf
Comment:
Deletions are marked like this. Additions are marked like this.
Line 102: Line 102:
__Segfault with intel integrated GPU__ __Segfault with MESA__

here is a description of the problem : https://www.gamingonlinux.com/articles/the-sad-case-of-unreal-engine-1-on-mesa-and-linux-in-2020.15915/page=4

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/Buster (AMD64) (working on 2019-02-24)

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

here is a description of the problem : https://www.gamingonlinux.com/articles/the-sad-case-of-unreal-engine-1-on-mesa-and-linux-in-2020.15915/page=4

  • Since actual CPU's are fast enough, you can 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