Installer kings-quest-vi-heir-today-gon-gog

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:
- game: N/A:Select Setup.exe
- inno: https://constexpr.org/innoextract/files/innoextract-1.9-linux.tar.xz
game:
  game_id: kq6
  path: $GAMEDIR
installer:
- write_file:
    content: '#!/bin/bash

      src=$1

      find "$src" -maxdepth 1 -type d \( -iname app -o -iname commonappdata -o -iname
      *redist -o -iname scummvm -o -iname *support -o -iname tmp \) -exec rm -r {}  \;

      find "$src" -maxdepth 1 -type f \( -iname "goggame*" \) -exec rm {}  \;'
    file: $CACHE/remove.sh
- chmodx: $CACHE/remove.sh
- extract:
    dst: $CACHE
    file: $inno
- execute:
    args: -d "$GAMEDIR" "$game"
    file: $CACHE/innoextract
- execute:
    args: $GAMEDIR
    file: $CACHE/remove.sh
scummvm:
  fullscreen: true
{
  "files": [
    {
      "game": "N/A:Select Setup.exe"
    },
    {
      "inno": "https://constexpr.org/innoextract/files/innoextract-1.9-linux.tar.xz"
    }
  ],
  "game": {
    "game_id": "kq6",
    "path": "$GAMEDIR"
  },
  "installer": [
    {
      "write_file": {
        "content": "#!/bin/bash\nsrc=$1\nfind \"$src\" -maxdepth 1 -type d \\( -iname app -o -iname commonappdata -o -iname *redist -o -iname scummvm -o -iname *support -o -iname tmp \\) -exec rm -r {}  \\;\nfind \"$src\" -maxdepth 1 -type f \\( -iname \"goggame*\" \\) -exec rm {}  \\;",
        "file": "$CACHE/remove.sh"
      }
    },
    {
      "chmodx": "$CACHE/remove.sh"
    },
    {
      "extract": {
        "dst": "$CACHE",
        "file": "$inno"
      }
    },
    {
      "execute": {
        "args": "-d \"$GAMEDIR\" \"$game\"",
        "file": "$CACHE/innoextract"
      }
    },
    {
      "execute": {
        "args": "$GAMEDIR",
        "file": "$CACHE/remove.sh"
      }
    }
  ],
  "scummvm": {
    "fullscreen": true
  }
}
Back to game