Installer kings-quest-iv-the-perils-of-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: kq4sci
  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-iv-the-perils-of-rosella
gogslug: kings_quest_4_5_6
humblestoreid: ''
installer_slug: kings-quest-iv-the-perils-of-gog
name: 'King''s Quest IV: The Perils of Rosella'
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: kq4sci
    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-iv-the-perils-of-gog
steamid: null
version: GOG
year: 1988
{
  "game_slug": "kings-quest-iv-the-perils-of-rosella",
  "version": "GOG",
  "description": null,
  "notes": "",
  "name": "King's Quest IV: The Perils of Rosella",
  "year": 1988,
  "steamid": null,
  "gogslug": "kings_quest_4_5_6",
  "humblestoreid": "",
  "runner": "scummvm",
  "slug": "kings-quest-iv-the-perils-of-gog",
  "installer_slug": "kings-quest-iv-the-perils-of-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": "kq4sci",
      "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