Installer quake-ii-ground-zero-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 rogue 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/rogue" -d "$CACHE" "$game" file: $CACHE/innoextract - execute: args: $GAMEDIR/rogue file: mkdir - execute: args: $CACHE/patch/rogue $GAMEDIR/rogue *.pak file: $CACHE/selectcopy2.sh - execute: args: $GAMEDIR/rogue/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/rogue $GAMEDIR/rogue pak0.pak file: $CACHE/selectcopy2.sh - copy: dst: $GAMEDIR/baseq2/video src: $CACHE/app/baseq2/video - copy: dst: $GAMEDIR/rogue/video src: $CACHE/app/rogue/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' game_slug: quake-ii-ground-zero gogslug: '' humblestoreid: '' installer_slug: quake-ii-ground-zero-yquake-gog name: 'Quake II: Ground Zero' 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 rogue 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/rogue" -d "$CACHE" "$game" file: $CACHE/innoextract - execute: args: $GAMEDIR/rogue file: mkdir - execute: args: $CACHE/patch/rogue $GAMEDIR/rogue *.pak file: $CACHE/selectcopy2.sh - execute: args: $GAMEDIR/rogue/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/rogue $GAMEDIR/rogue pak0.pak file: $CACHE/selectcopy2.sh - copy: dst: $GAMEDIR/baseq2/video src: $CACHE/app/baseq2/video - copy: dst: $GAMEDIR/rogue/video src: $CACHE/app/rogue/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-ground-zero-yquake-gog steamid: 2340 version: yQuake + GOG year: 1998
{ "game_slug": "quake-ii-ground-zero", "version": "yQuake + GOG", "description": "The script uses the game files from GOG's Quake II: Quad Damage", "notes": "", "name": "Quake II: Ground Zero", "year": 1998, "steamid": 2340, "gogslug": "", "humblestoreid": "", "runner": "linux", "slug": "quake-ii-ground-zero-yquake-gog", "installer_slug": "quake-ii-ground-zero-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 rogue", "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/rogue\" -d \"$CACHE\" \"$game\"", "file": "$CACHE/innoextract" } }, { "execute": { "args": "$GAMEDIR/rogue", "file": "mkdir" } }, { "execute": { "args": "$CACHE/patch/rogue $GAMEDIR/rogue *.pak", "file": "$CACHE/selectcopy2.sh" } }, { "execute": { "args": "$GAMEDIR/rogue/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/rogue $GAMEDIR/rogue pak0.pak", "file": "$CACHE/selectcopy2.sh" } }, { "copy": { "dst": "$GAMEDIR/baseq2/video", "src": "$CACHE/app/baseq2/video" } }, { "copy": { "dst": "$GAMEDIR/rogue/video", "src": "$CACHE/app/rogue/video" } }, { "execute": { "args": "$GAMEDIR/music", "file": "mkdir" } }, { "execute": { "args": "$CACHE/app/music $GAMEDIR/music", "file": "$CACHE/copyrename.sh" } }, { "extract": { "dst": "$GAMEDIR", "file": "$yamagi-engine" } } ] } }