Installer kings-quest-iii-to-heir-is-hu-gog

files:
- game: N/A:Select Setup.exe
- inno: https://constexpr.org/innoextract/files/innoextract-1.9/innoextract-1.9-linux.tar.xz
game:
  game_id: kq3
  gogid: 1207661133
  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
description: null
game_slug: kings-quest-iii-to-heir-is-human
gogslug: kings_quest_1_2_3
humblestoreid: ''
installer_slug: kings-quest-iii-to-heir-is-hu-gog
name: 'King''s Quest III: To Heir Is Human'
notes: ''
runner: scummvm
script:
  files:
  - game: N/A:Select Setup.exe
  - inno: https://constexpr.org/innoextract/files/innoextract-1.9/innoextract-1.9-linux.tar.xz
  game:
    game_id: kq3
    gogid: 1207661133
    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
slug: kings-quest-iii-to-heir-is-hu-gog
steamid: null
version: GOG
year: 1986
{
  "game_slug": "kings-quest-iii-to-heir-is-human",
  "version": "GOG",
  "description": null,
  "notes": "",
  "name": "King's Quest III: To Heir Is Human",
  "year": 1986,
  "steamid": null,
  "gogslug": "kings_quest_1_2_3",
  "humblestoreid": "",
  "runner": "scummvm",
  "slug": "kings-quest-iii-to-heir-is-hu-gog",
  "installer_slug": "kings-quest-iii-to-heir-is-hu-gog",
  "script": {
    "files": [
      {
        "game": "N/A:Select Setup.exe"
      },
      {
        "inno": "https://constexpr.org/innoextract/files/innoextract-1.9/innoextract-1.9-linux.tar.xz"
      }
    ],
    "game": {
      "game_id": "kq3",
      "gogid": 1207661133,
      "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