Installer quake-ii-the-reckoning-yquake-gog
files: - yamagi-engine: https://lutris.net/files/games/quake-2/yamagi-yquake2-5.34-x86_64.tar.gz - quakepatch: https://deponie.yamagi.org/quake2/idstuff/q2-3.20-x86-full-ctf.exe - inno: https://lutris.nyc3.digitaloceanspaces.com/tools/innoextract/innoextract-1.8-dev-2019-01-13-linux.tar.xz - game: N/A:Select Setup.exe game: args: +set game xatrix exe: quake2 installer: - write_file: content: '#!/bin/bash src=$1 dst=$2 file=$3 find "$src" -maxdepth 1 -type f \( -iname $file \) -exec cp {} "$dst" \;' file: $CACHE/selectcopy2.sh - chmodx: $CACHE/selectcopy2.sh - write_file: content: '#!/bin/bash src=$1 dst=$2 echo $dst find "$src" -maxdepth 1 -type f -iname "*.ogg" -print0 | while IFS="" read -r -d "" FILENAME; do mv "$FILENAME" "${dst}""/""${FILENAME##*/*[Tt][Rr][Aa][cC][kK]}"; done ' file: $CACHE/copyrename.sh - chmodx: $CACHE/copyrename.sh - extract: dst: $CACHE file: $inno - execute: args: $CACHE/patch file: mkdir - extract: dst: $CACHE/patch file: $quakepatch format: zip - execute: args: -I "app/baseq2" -I "app/music" -I "app/music" -I "app/xatrix" -d "$CACHE" "$game" file: $CACHE/innoextract - execute: args: $GAMEDIR/xatrix file: mkdir - execute: args: $CACHE/patch/xatrix $GAMEDIR/xatrix *.pak file: $CACHE/selectcopy2.sh - execute: args: $GAMEDIR/xatrix/gamex86.dll file: /bin/rm - copy: dst: $GAMEDIR/baseq2 src: $CACHE/patch/baseq2 - execute: args: $GAMEDIR/baseq2/gamex86.dll file: /bin/rm - execute: args: $GAMEDIR/ctf file: mkdir - execute: args: $CACHE/patch/ctf $GAMEDIR/ctf *.pak file: $CACHE/selectcopy2.sh - execute: args: $GAMEDIR/ctf/gamex86.dll file: /bin/rm - execute: args: $CACHE/app/baseq2 $GAMEDIR/baseq2 pak0.pak file: $CACHE/selectcopy2.sh - execute: args: $CACHE/app/xatrix $GAMEDIR/xatrix pak0.pak file: $CACHE/selectcopy2.sh - copy: dst: $GAMEDIR/baseq2/video src: $CACHE/app/baseq2/video - copy: dst: $GAMEDIR/xatrix/video src: $CACHE/app/xatrix/video - execute: args: $GAMEDIR/music file: mkdir - execute: args: $CACHE/app/music $GAMEDIR/music file: $CACHE/copyrename.sh - extract: dst: $GAMEDIR file: $yamagi-engine
description: 'The script uses the game files from GOG''s Quake II: Quad Damage v2' game_slug: quake-ii-the-reckoning gogslug: '' humblestoreid: '' installer_slug: quake-ii-the-reckoning-yquake-gog name: 'Quake II: The Reckoning' notes: '' runner: linux script: files: - yamagi-engine: https://lutris.net/files/games/quake-2/yamagi-yquake2-5.34-x86_64.tar.gz - quakepatch: https://deponie.yamagi.org/quake2/idstuff/q2-3.20-x86-full-ctf.exe - inno: https://lutris.nyc3.digitaloceanspaces.com/tools/innoextract/innoextract-1.8-dev-2019-01-13-linux.tar.xz - game: N/A:Select Setup.exe game: args: +set game xatrix exe: quake2 installer: - write_file: content: '#!/bin/bash src=$1 dst=$2 file=$3 find "$src" -maxdepth 1 -type f \( -iname $file \) -exec cp {} "$dst" \;' file: $CACHE/selectcopy2.sh - chmodx: $CACHE/selectcopy2.sh - write_file: content: '#!/bin/bash src=$1 dst=$2 echo $dst find "$src" -maxdepth 1 -type f -iname "*.ogg" -print0 | while IFS="" read -r -d "" FILENAME; do mv "$FILENAME" "${dst}""/""${FILENAME##*/*[Tt][Rr][Aa][cC][kK]}"; done ' file: $CACHE/copyrename.sh - chmodx: $CACHE/copyrename.sh - extract: dst: $CACHE file: $inno - execute: args: $CACHE/patch file: mkdir - extract: dst: $CACHE/patch file: $quakepatch format: zip - execute: args: -I "app/baseq2" -I "app/music" -I "app/music" -I "app/xatrix" -d "$CACHE" "$game" file: $CACHE/innoextract - execute: args: $GAMEDIR/xatrix file: mkdir - execute: args: $CACHE/patch/xatrix $GAMEDIR/xatrix *.pak file: $CACHE/selectcopy2.sh - execute: args: $GAMEDIR/xatrix/gamex86.dll file: /bin/rm - copy: dst: $GAMEDIR/baseq2 src: $CACHE/patch/baseq2 - execute: args: $GAMEDIR/baseq2/gamex86.dll file: /bin/rm - execute: args: $GAMEDIR/ctf file: mkdir - execute: args: $CACHE/patch/ctf $GAMEDIR/ctf *.pak file: $CACHE/selectcopy2.sh - execute: args: $GAMEDIR/ctf/gamex86.dll file: /bin/rm - execute: args: $CACHE/app/baseq2 $GAMEDIR/baseq2 pak0.pak file: $CACHE/selectcopy2.sh - execute: args: $CACHE/app/xatrix $GAMEDIR/xatrix pak0.pak file: $CACHE/selectcopy2.sh - copy: dst: $GAMEDIR/baseq2/video src: $CACHE/app/baseq2/video - copy: dst: $GAMEDIR/xatrix/video src: $CACHE/app/xatrix/video - execute: args: $GAMEDIR/music file: mkdir - execute: args: $CACHE/app/music $GAMEDIR/music file: $CACHE/copyrename.sh - extract: dst: $GAMEDIR file: $yamagi-engine slug: quake-ii-the-reckoning-yquake-gog steamid: 2330 version: yQuake + GOG year: 1998
{ "game_slug": "quake-ii-the-reckoning", "version": "yQuake + GOG", "description": "The script uses the game files from GOG's Quake II: Quad Damage v2", "notes": "", "name": "Quake II: The Reckoning", "year": 1998, "steamid": 2330, "gogslug": "", "humblestoreid": "", "runner": "linux", "slug": "quake-ii-the-reckoning-yquake-gog", "installer_slug": "quake-ii-the-reckoning-yquake-gog", "script": { "files": [ { "yamagi-engine": "https://lutris.net/files/games/quake-2/yamagi-yquake2-5.34-x86_64.tar.gz" }, { "quakepatch": "https://deponie.yamagi.org/quake2/idstuff/q2-3.20-x86-full-ctf.exe" }, { "inno": "https://lutris.nyc3.digitaloceanspaces.com/tools/innoextract/innoextract-1.8-dev-2019-01-13-linux.tar.xz" }, { "game": "N/A:Select Setup.exe" } ], "game": { "args": "+set game xatrix", "exe": "quake2" }, "installer": [ { "write_file": { "content": "#!/bin/bash\nsrc=$1\ndst=$2\nfile=$3\nfind \"$src\" -maxdepth 1 -type f \\( -iname $file \\) -exec cp {} \"$dst\" \\;", "file": "$CACHE/selectcopy2.sh" } }, { "chmodx": "$CACHE/selectcopy2.sh" }, { "write_file": { "content": "#!/bin/bash\nsrc=$1\ndst=$2\necho $dst\nfind \"$src\" -maxdepth 1 -type f -iname \"*.ogg\" -print0 |\nwhile IFS=\"\" read -r -d \"\" FILENAME;\ndo mv \"$FILENAME\" \"${dst}\"\"/\"\"${FILENAME##*/*[Tt][Rr][Aa][cC][kK]}\";\ndone ", "file": "$CACHE/copyrename.sh" } }, { "chmodx": "$CACHE/copyrename.sh" }, { "extract": { "dst": "$CACHE", "file": "$inno" } }, { "execute": { "args": "$CACHE/patch", "file": "mkdir" } }, { "extract": { "dst": "$CACHE/patch", "file": "$quakepatch", "format": "zip" } }, { "execute": { "args": "-I \"app/baseq2\" -I \"app/music\" -I \"app/music\" -I \"app/xatrix\" -d \"$CACHE\" \"$game\"", "file": "$CACHE/innoextract" } }, { "execute": { "args": "$GAMEDIR/xatrix", "file": "mkdir" } }, { "execute": { "args": "$CACHE/patch/xatrix $GAMEDIR/xatrix *.pak", "file": "$CACHE/selectcopy2.sh" } }, { "execute": { "args": "$GAMEDIR/xatrix/gamex86.dll", "file": "/bin/rm" } }, { "copy": { "dst": "$GAMEDIR/baseq2", "src": "$CACHE/patch/baseq2" } }, { "execute": { "args": "$GAMEDIR/baseq2/gamex86.dll", "file": "/bin/rm" } }, { "execute": { "args": "$GAMEDIR/ctf", "file": "mkdir" } }, { "execute": { "args": "$CACHE/patch/ctf $GAMEDIR/ctf *.pak", "file": "$CACHE/selectcopy2.sh" } }, { "execute": { "args": "$GAMEDIR/ctf/gamex86.dll", "file": "/bin/rm" } }, { "execute": { "args": "$CACHE/app/baseq2 $GAMEDIR/baseq2 pak0.pak", "file": "$CACHE/selectcopy2.sh" } }, { "execute": { "args": "$CACHE/app/xatrix $GAMEDIR/xatrix pak0.pak", "file": "$CACHE/selectcopy2.sh" } }, { "copy": { "dst": "$GAMEDIR/baseq2/video", "src": "$CACHE/app/baseq2/video" } }, { "copy": { "dst": "$GAMEDIR/xatrix/video", "src": "$CACHE/app/xatrix/video" } }, { "execute": { "args": "$GAMEDIR/music", "file": "mkdir" } }, { "execute": { "args": "$CACHE/app/music $GAMEDIR/music", "file": "$CACHE/copyrename.sh" } }, { "extract": { "dst": "$GAMEDIR", "file": "$yamagi-engine" } } ] } }