Differences between revisions 1 and 19 (spanning 18 versions)
Revision 1 as of 2016-08-15 21:54:47
Size: 27
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 1: Line 1:
Describe Games/UT99 here. #language en

= Unreal Tournament =
== Description ==

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

{{attachment: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!).

 [[https://archive.debian.net/lenny/libglib1.2ldbl|libglib1.2]]
 [[https://archive.debian.net/lenny/libgtk1.2-common|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
...
}}}

 and then install
 [[https://archive.debian.net/lenny/oldlibs/libgtk1.2|libgtk1.2]]

edit 2019-02-24 : links are dead...you can download the files [[https://cloud.leboeuf.eu/index.php/s/EWtzCfKLF5JySen|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 [[http://liflg.org/?catid=6&gameid=51|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 [[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)

 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/

 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]]

 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

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