Installer quake-ii-gog-yamagi

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.

exe: quake2
files:
- yamagi-quake2-x64: https://lutris.net/files/games/quake-2/yamagi-yquake2-5.34-x86_64.tar.gz
- innoextract: https://lutris.nyc3.digitaloceanspaces.com/tools/innoextract/innoextract-1.8-dev-2019-01-13-linux.tar.xz
- q2data: N/A:Please select the GOG.com Linux installer
installer:
- extract:
    dst: $CACHE/innoextract
    file: innoextract
- execute:
    args: --extract $q2data --output-dir $CACHE/q2/
    file: $CACHE/innoextract/innoextract
- merge:
    dst: $GAMEDIR
    src: $CACHE/q2/app
- extract:
    file: yamagi-quake2-x64
- move:
    dst: $GAMEDIR/baseq2/music
    src: $GAMEDIR/music
- move:
    dst: $GAMEDIR/baseq2/music/02.ogg
    src: $GAMEDIR/baseq2/music/Track02.ogg
- move:
    dst: $GAMEDIR/baseq2/music/03.ogg
    src: $GAMEDIR/baseq2/music/Track03.ogg
- move:
    dst: $GAMEDIR/baseq2/music/04.ogg
    src: $GAMEDIR/baseq2/music/Track04.ogg
- move:
    dst: $GAMEDIR/baseq2/music/05.ogg
    src: $GAMEDIR/baseq2/music/Track05.ogg
- move:
    dst: $GAMEDIR/baseq2/music/06.ogg
    src: $GAMEDIR/baseq2/music/Track06.ogg
- move:
    dst: $GAMEDIR/baseq2/music/07.ogg
    src: $GAMEDIR/baseq2/music/Track07.ogg
- move:
    dst: $GAMEDIR/baseq2/music/08.ogg
    src: $GAMEDIR/baseq2/music/Track08.ogg
- move:
    dst: $GAMEDIR/baseq2/music/09.ogg
    src: $GAMEDIR/baseq2/music/Track09.ogg
- move:
    dst: $GAMEDIR/baseq2/music/10.ogg
    src: $GAMEDIR/baseq2/music/Track10.ogg
- move:
    dst: $GAMEDIR/baseq2/music/11.ogg
    src: $GAMEDIR/baseq2/music/Track11.ogg
- move:
    dst: $GAMEDIR/baseq2/music/12.ogg
    src: $GAMEDIR/baseq2/music/Track12.ogg
- move:
    dst: $GAMEDIR/baseq2/music/13.ogg
    src: $GAMEDIR/baseq2/music/Track13.ogg
- move:
    dst: $GAMEDIR/baseq2/music/14.ogg
    src: $GAMEDIR/baseq2/music/Track14.ogg
- move:
    dst: $GAMEDIR/baseq2/music/15.ogg
    src: $GAMEDIR/baseq2/music/Track15.ogg
- move:
    dst: $GAMEDIR/baseq2/music/16.ogg
    src: $GAMEDIR/baseq2/music/Track16.ogg
- move:
    dst: $GAMEDIR/baseq2/music/17.ogg
    src: $GAMEDIR/baseq2/music/Track17.ogg
- move:
    dst: $GAMEDIR/baseq2/music/18.ogg
    src: $GAMEDIR/baseq2/music/Track18.ogg
- move:
    dst: $GAMEDIR/baseq2/music/19.ogg
    src: $GAMEDIR/baseq2/music/Track19.ogg
- move:
    dst: $GAMEDIR/baseq2/music/20.ogg
    src: $GAMEDIR/baseq2/music/Track20.ogg
- move:
    dst: $GAMEDIR/baseq2/music/21.ogg
    src: $GAMEDIR/baseq2/music/Track21.ogg
{
  "exe": "quake2",
  "files": [
    {
      "yamagi-quake2-x64": "https://lutris.net/files/games/quake-2/yamagi-yquake2-5.34-x86_64.tar.gz"
    },
    {
      "innoextract": "https://lutris.nyc3.digitaloceanspaces.com/tools/innoextract/innoextract-1.8-dev-2019-01-13-linux.tar.xz"
    },
    {
      "q2data": "N/A:Please select the GOG.com Linux installer"
    }
  ],
  "installer": [
    {
      "extract": {
        "dst": "$CACHE/innoextract",
        "file": "innoextract"
      }
    },
    {
      "execute": {
        "args": "--extract $q2data --output-dir $CACHE/q2/",
        "file": "$CACHE/innoextract/innoextract"
      }
    },
    {
      "merge": {
        "dst": "$GAMEDIR",
        "src": "$CACHE/q2/app"
      }
    },
    {
      "extract": {
        "file": "yamagi-quake2-x64"
      }
    },
    {
      "move": {
        "dst": "$GAMEDIR/baseq2/music",
        "src": "$GAMEDIR/music"
      }
    },
    {
      "move": {
        "dst": "$GAMEDIR/baseq2/music/02.ogg",
        "src": "$GAMEDIR/baseq2/music/Track02.ogg"
      }
    },
    {
      "move": {
        "dst": "$GAMEDIR/baseq2/music/03.ogg",
        "src": "$GAMEDIR/baseq2/music/Track03.ogg"
      }
    },
    {
      "move": {
        "dst": "$GAMEDIR/baseq2/music/04.ogg",
        "src": "$GAMEDIR/baseq2/music/Track04.ogg"
      }
    },
    {
      "move": {
        "dst": "$GAMEDIR/baseq2/music/05.ogg",
        "src": "$GAMEDIR/baseq2/music/Track05.ogg"
      }
    },
    {
      "move": {
        "dst": "$GAMEDIR/baseq2/music/06.ogg",
        "src": "$GAMEDIR/baseq2/music/Track06.ogg"
      }
    },
    {
      "move": {
        "dst": "$GAMEDIR/baseq2/music/07.ogg",
        "src": "$GAMEDIR/baseq2/music/Track07.ogg"
      }
    },
    {
      "move": {
        "dst": "$GAMEDIR/baseq2/music/08.ogg",
        "src": "$GAMEDIR/baseq2/music/Track08.ogg"
      }
    },
    {
      "move": {
        "dst": "$GAMEDIR/baseq2/music/09.ogg",
        "src": "$GAMEDIR/baseq2/music/Track09.ogg"
      }
    },
    {
      "move": {
        "dst": "$GAMEDIR/baseq2/music/10.ogg",
        "src": "$GAMEDIR/baseq2/music/Track10.ogg"
      }
    },
    {
      "move": {
        "dst": "$GAMEDIR/baseq2/music/11.ogg",
        "src": "$GAMEDIR/baseq2/music/Track11.ogg"
      }
    },
    {
      "move": {
        "dst": "$GAMEDIR/baseq2/music/12.ogg",
        "src": "$GAMEDIR/baseq2/music/Track12.ogg"
      }
    },
    {
      "move": {
        "dst": "$GAMEDIR/baseq2/music/13.ogg",
        "src": "$GAMEDIR/baseq2/music/Track13.ogg"
      }
    },
    {
      "move": {
        "dst": "$GAMEDIR/baseq2/music/14.ogg",
        "src": "$GAMEDIR/baseq2/music/Track14.ogg"
      }
    },
    {
      "move": {
        "dst": "$GAMEDIR/baseq2/music/15.ogg",
        "src": "$GAMEDIR/baseq2/music/Track15.ogg"
      }
    },
    {
      "move": {
        "dst": "$GAMEDIR/baseq2/music/16.ogg",
        "src": "$GAMEDIR/baseq2/music/Track16.ogg"
      }
    },
    {
      "move": {
        "dst": "$GAMEDIR/baseq2/music/17.ogg",
        "src": "$GAMEDIR/baseq2/music/Track17.ogg"
      }
    },
    {
      "move": {
        "dst": "$GAMEDIR/baseq2/music/18.ogg",
        "src": "$GAMEDIR/baseq2/music/Track18.ogg"
      }
    },
    {
      "move": {
        "dst": "$GAMEDIR/baseq2/music/19.ogg",
        "src": "$GAMEDIR/baseq2/music/Track19.ogg"
      }
    },
    {
      "move": {
        "dst": "$GAMEDIR/baseq2/music/20.ogg",
        "src": "$GAMEDIR/baseq2/music/Track20.ogg"
      }
    },
    {
      "move": {
        "dst": "$GAMEDIR/baseq2/music/21.ogg",
        "src": "$GAMEDIR/baseq2/music/Track21.ogg"
      }
    }
  ]
}
Back to game