forked from jdupouy/ut2003
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathut2003.yaml
More file actions
70 lines (63 loc) · 3.39 KB
/
ut2003.yaml
File metadata and controls
70 lines (63 loc) · 3.39 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
name: "Unreal Tournament 2003"
game_slug: "unreal-tournament-2003"
slug: "unreal-tournament-2003-cd-patch-v22253"
version: "CD + patch v2225.3"
runner: "linux"
description: "Installs retail 3 CD version of the game, updated to version 2225"
notes: "Game is old and 32-bit, so requires the older 32-bit C++ runtime. On a 32-bit Ubuntu system, this can be installed as:\r\n\r\nsudo apt-get install libstdc++5\r\n\r\nor for a 64-bit system:\r\n\r\nsudo apt-get install libstdc++5:i386\r\n\r\nRequires padsp (on Ubuntu this should be provided by pulseaudio-utils) for sound to function, but the game is 32-bit, so the 32-bit libraries will be needed. You can install these on 64-bit Ubuntu via:\r\n\r\nsudo apt-get install libpulsedsp:i386\r\n\r\nA the padsp script is copied to the install dir as padsp32 and is patched to ensure it loads the 32-bit libraries. \r\n\r\nTo report any issues related to this installer, please leave an issue on the associated GitHub page: https://github.com/joshbarrass/ut2003-on-linux"
credits: "Original game and updates by Epic Games\r\nLinux patch by The Loki Installers for Linux Gamers Team\r\nOriginal guide to install UT2003 on (modern) Linux by GitHub user jdupouy"
script:
game:
exe: launch-ut2003.sh
files:
- patch:
url: https://github.com/joshbarrass/ut2003-on-linux/raw/master/archive/ut2003_2225beta3-multilanguage.update.tar.xz
filename: ut2003_2225beta3-multilanguage.update.tar.xz
installer:
- insert-disc:
requires: System/UT2003.exe
- merge:
src: $DISC
dst: $GAMEDIR
- execute:
command: 'find "$GAMEDIR" -type d -print0 | xargs -0 chmod 0775 && find "$GAMEDIR" -type f -print0 | xargs -0 chmod 0664'
- insert-disc:
requires: Textures/UT2003Fonts.utx.uz2
- merge:
src: $DISC
dst: $GAMEDIR
- execute:
command: 'find "$GAMEDIR" -type d -print0 | xargs -0 chmod 0775 && find "$GAMEDIR" -type f -print0 | xargs -0 chmod 0664'
- insert-disc:
requires: linux_installer.sh
- merge:
src: $DISC
dst: $GAMEDIR
- execute:
command: 'find "$GAMEDIR" -type d -print0 | xargs -0 chmod 0775 && find "$GAMEDIR" -type f -print0 | xargs -0 chmod 0664'
- extract:
src: patch
- chmodx: $GAMEDIR/System/ucc-bin
- execute:
command: 'rm AutoRun.exe AutoRun.inf linux_installer.sh Setup.exe'
- execute:
command: 'cd "System" && find .. -type f -name "*.uz2" -exec ./ucc-bin decompress "{}" -nohomedir \; -exec rm "{}" \;'
- chmodx: $GAMEDIR/System/ut2003-bin
- write_config:
file: "$GAMEDIR/System/UT2003.ini"
data:
Engine.Engine:
RenderDevice: OpenGLDrv.OpenGLRenderDevice
ViewportManager: SDLDrv.SDLClient
- execute:
command: 'cp "$(which padsp)" "$GAMEDIR/padsp32" && sed -i "s/x86_64-linux-gnu/i386-linux-gnu/g" "$GAMEDIR/padsp32"'
- write_file:
file: "$GAMEDIR/launch-ut2003.sh"
content: "#!/bin/bash\n
if [ ! -e \"$GAMEDIR/System/cdkey\" ];\n
then\n
zenity --icon-name=\"lutris\" --width=\"450\" --height=\"250\" --title=\"Unreal Tournament 2003\" --entry --text \"Please enter your UT2003 CD key\\nYou can change this at a later date by editing $GAMEDIR/System/cdkey\" > \"$GAMEDIR/System/cdkey\"\n
fi\n
cd \"$GAMEDIR/System\"\n
../padsp32 ./ut2003-bin"
- chmodx: $GAMEDIR/launch-ut2003.sh