Installer unreal-tournament-2004-gog-windows
This script is for reference only and can't be directly used to install the game in the Lutris client. To install the game, download the full script.
files: - bmp: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Unreal%20Tournament%202004/ut2004.bmp - script: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Unreal%20Tournament%202004/clean.sh - gogsetup: N/A:Please select the game's setup Windows exe file downloaded from GOG. - inno: https://constexpr.org/innoextract/files/innoextract-1.9/innoextract-1.9-linux.tar.xz - menu: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Unreal%20Tournament%202004/ut2004.bat game: arch: win64 args: c:\\ut2004.bat exe: drive_c/windows/syswow64/wineconsole.exe prefix: $GAMEDIR installer: - task: arch: win64 description: Creating wine prefix... install_gecko: false install_mono: false name: create_prefix prefix: $GAMEDIR - extract: dst: $CACHE/ src: inno - execute: args: -d "$GAMEDIR/drive_c/Unreal Tournament 2004" -g $gogsetup file: $CACHE/innoextract - merge: dst: $GAMEDIR/drive_c/Unreal Tournament 2004 src: $GAMEDIR/drive_c/Unreal Tournament 2004/__support/app - chmodx: script - execute: args: $RESOLUTION_WIDTH $RESOLUTION_HEIGHT Windows file: script - move: dst: $GAMEDIR/drive_c/ src: menu - move: dst: $GAMEDIR/drive_c/ src: bmp - task: arch: win64 key: CDKey name: set_regedit path: HKEY_LOCAL_MACHINE\Software\Wow6432Node\Unreal Technology\Installed Apps\UT2004 type: REG_SZ value: 3QHVC-DHA9K-A84RE-KYRT4 - task: arch: win64 key: wallpaper name: set_regedit path: HKEY_CURRENT_USER\Control Panel\Desktop\ prefix: $GAMEDIR type: REG_SZ value: c:\\ut2004.bmp - task: arch: win64 key: csmt name: set_regedit path: HKEY_CURRENT_USER\Software\Wine\Direct3D\ prefix: $GAMEDIR type: REG_DWORD value: '00000000' - task: arch: win64 key: background name: set_regedit path: HKEY_CURRENT_USER\Control Panel\Colors\ prefix: $GAMEDIR type: REG_SZ value: 0 0 0 - task: arch: win64 key: ActiveTitle name: set_regedit path: HKEY_CURRENT_USER\Control Panel\Colors\ prefix: $GAMEDIR type: REG_SZ value: 255 255 255 - task: arch: win64 key: GradientActiveTitle name: set_regedit path: HKEY_CURRENT_USER\Control Panel\Colors\ prefix: $GAMEDIR type: REG_SZ value: 0 0 0 - task: arch: win64 key: InActiveTitle name: set_regedit path: HKEY_CURRENT_USER\Control Panel\Colors\ prefix: $GAMEDIR type: REG_SZ value: 255 255 255 - task: arch: win64 key: GradientInActiveTitle name: set_regedit path: HKEY_CURRENT_USER\Control Panel\Colors\ prefix: $GAMEDIR type: REG_SZ value: 0 0 0 wine: Desktop: true
{ "files": [ { "bmp": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Unreal%20Tournament%202004/ut2004.bmp" }, { "script": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Unreal%20Tournament%202004/clean.sh" }, { "gogsetup": "N/A:Please select the game's setup Windows exe file downloaded from GOG." }, { "inno": "https://constexpr.org/innoextract/files/innoextract-1.9/innoextract-1.9-linux.tar.xz" }, { "menu": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Unreal%20Tournament%202004/ut2004.bat" } ], "game": { "arch": "win64", "args": "c:\\\\ut2004.bat", "exe": "drive_c/windows/syswow64/wineconsole.exe", "prefix": "$GAMEDIR" }, "installer": [ { "task": { "arch": "win64", "description": "Creating wine prefix...", "install_gecko": false, "install_mono": false, "name": "create_prefix", "prefix": "$GAMEDIR" } }, { "extract": { "dst": "$CACHE/", "src": "inno" } }, { "execute": { "args": "-d \"$GAMEDIR/drive_c/Unreal Tournament 2004\" -g $gogsetup", "file": "$CACHE/innoextract" } }, { "merge": { "dst": "$GAMEDIR/drive_c/Unreal Tournament 2004", "src": "$GAMEDIR/drive_c/Unreal Tournament 2004/__support/app" } }, { "chmodx": "script" }, { "execute": { "args": "$RESOLUTION_WIDTH $RESOLUTION_HEIGHT Windows", "file": "script" } }, { "move": { "dst": "$GAMEDIR/drive_c/", "src": "menu" } }, { "move": { "dst": "$GAMEDIR/drive_c/", "src": "bmp" } }, { "task": { "arch": "win64", "key": "CDKey", "name": "set_regedit", "path": "HKEY_LOCAL_MACHINE\\Software\\Wow6432Node\\Unreal Technology\\Installed Apps\\UT2004", "type": "REG_SZ", "value": "3QHVC-DHA9K-A84RE-KYRT4" } }, { "task": { "arch": "win64", "key": "wallpaper", "name": "set_regedit", "path": "HKEY_CURRENT_USER\\Control Panel\\Desktop\\", "prefix": "$GAMEDIR", "type": "REG_SZ", "value": "c:\\\\ut2004.bmp" } }, { "task": { "arch": "win64", "key": "csmt", "name": "set_regedit", "path": "HKEY_CURRENT_USER\\Software\\Wine\\Direct3D\\", "prefix": "$GAMEDIR", "type": "REG_DWORD", "value": "00000000" } }, { "task": { "arch": "win64", "key": "background", "name": "set_regedit", "path": "HKEY_CURRENT_USER\\Control Panel\\Colors\\", "prefix": "$GAMEDIR", "type": "REG_SZ", "value": "0 0 0" } }, { "task": { "arch": "win64", "key": "ActiveTitle", "name": "set_regedit", "path": "HKEY_CURRENT_USER\\Control Panel\\Colors\\", "prefix": "$GAMEDIR", "type": "REG_SZ", "value": "255 255 255" } }, { "task": { "arch": "win64", "key": "GradientActiveTitle", "name": "set_regedit", "path": "HKEY_CURRENT_USER\\Control Panel\\Colors\\", "prefix": "$GAMEDIR", "type": "REG_SZ", "value": "0 0 0" } }, { "task": { "arch": "win64", "key": "InActiveTitle", "name": "set_regedit", "path": "HKEY_CURRENT_USER\\Control Panel\\Colors\\", "prefix": "$GAMEDIR", "type": "REG_SZ", "value": "255 255 255" } }, { "task": { "arch": "win64", "key": "GradientInActiveTitle", "name": "set_regedit", "path": "HKEY_CURRENT_USER\\Control Panel\\Colors\\", "prefix": "$GAMEDIR", "type": "REG_SZ", "value": "0 0 0" } } ], "wine": { "Desktop": true } }