Installer zork-grand-inquisitor-2cd-patch

files:
- patch: http://www.thezorklibrary.com/installguides/Zpatch.exe
game:
  game_id: zgi-win
  path: $GAMEDIR
installer:
- task:
    arch: win32
    install_gecko: false
    install_mono: false
    name: wine.create_prefix
    prefix: $GAMEDIR
- insert-disc:
    description: Please insert disc 1
    requires: setup.exe
- execute:
    args: $GAMEDIR/zassets1 $GAMEDIR/zassets2  $GAMEDIR/zgi_mx
    file: mkdir
- copy:
    dst: $GAMEDIR/zassets1
    src: $DISC/zassets1
- copy:
    dst: $GAMEDIR/zgi_mx
    src: $DISC/zgi/zgi_mx
- copy:
    dst: $GAMEDIR
    src: $DISC/zgi/cursor.zfs
- copy:
    dst: $GAMEDIR
    src: $DISC/zgi/death.zfs
- copy:
    dst: $GAMEDIR
    src: $DISC/zgi/inquis.str
- copy:
    dst: $GAMEDIR
    src: $DISC/zgi/inquis.zix
- copy:
    dst: $GAMEDIR
    src: $DISC/zgi/r.svr
- copy:
    dst: $GAMEDIR
    src: $DISC/zgi/scripts.zfs
- copy:
    dst: $GAMEDIR
    src: $DISC/zgi/subtitle.zfs
- execute:
    args: -R 775  "$GAMEDIR"
    file: /bin/chmod
- task:
    arch: win32
    executable: $DISC/setup.exe
    name: wine.wineexec
    prefix: $GAMEDIR
- insert-disc:
    description: Please insert disc 2
    requires: zassets2
- copy:
    dst: $GAMEDIR/zassets2
    src: $DISC/zassets2
- execute:
    args: -R 775  "$GAMEDIR/zassets2"
    file: /bin/chmod
- task:
    arch: win32
    executable: $patch
    name: wine.wineexec
    prefix: $GAMEDIR
- copy:
    dst: $GAMEDIR/zgi_mx
    src: $GAMEDIR/drive_c/Program Files/Activision/ZGI/zgi_mx
- execute:
    args: -r $GAMEDIR/inquis.str
    file: /bin/rm
- copy:
    dst: $GAMEDIR
    src: $GAMEDIR/drive_c/Program Files/Activision/ZGI/INQUIS.STR
- execute:
    args: -rf $GAMEDIR/drive_c
    file: /bin/rm
- execute:
    args: -r $GAMEDIR/dosdevices
    file: /bin/rm
- execute:
    args: -r $GAMEDIR/system.reg
    file: /bin/rm
- execute:
    args: -r $GAMEDIR/user.reg
    file: /bin/rm
- execute:
    args: -r $GAMEDIR/userdef.reg
    file: /bin/rm
description: ScummVM is used play the game, Wine is used to install the game
game_slug: zork-grand-inquisitor
gogslug: zork_grand_inquisitor
humblestoreid: ''
installer_slug: zork-grand-inquisitor-2cd-patch
name: 'Zork: Grand Inquisitor'
notes: ''
runner: scummvm
script:
  files:
  - patch: http://www.thezorklibrary.com/installguides/Zpatch.exe
  game:
    game_id: zgi-win
    path: $GAMEDIR
  installer:
  - task:
      arch: win32
      install_gecko: false
      install_mono: false
      name: wine.create_prefix
      prefix: $GAMEDIR
  - insert-disc:
      description: Please insert disc 1
      requires: setup.exe
  - execute:
      args: $GAMEDIR/zassets1 $GAMEDIR/zassets2  $GAMEDIR/zgi_mx
      file: mkdir
  - copy:
      dst: $GAMEDIR/zassets1
      src: $DISC/zassets1
  - copy:
      dst: $GAMEDIR/zgi_mx
      src: $DISC/zgi/zgi_mx
  - copy:
      dst: $GAMEDIR
      src: $DISC/zgi/cursor.zfs
  - copy:
      dst: $GAMEDIR
      src: $DISC/zgi/death.zfs
  - copy:
      dst: $GAMEDIR
      src: $DISC/zgi/inquis.str
  - copy:
      dst: $GAMEDIR
      src: $DISC/zgi/inquis.zix
  - copy:
      dst: $GAMEDIR
      src: $DISC/zgi/r.svr
  - copy:
      dst: $GAMEDIR
      src: $DISC/zgi/scripts.zfs
  - copy:
      dst: $GAMEDIR
      src: $DISC/zgi/subtitle.zfs
  - execute:
      args: -R 775  "$GAMEDIR"
      file: /bin/chmod
  - task:
      arch: win32
      executable: $DISC/setup.exe
      name: wine.wineexec
      prefix: $GAMEDIR
  - insert-disc:
      description: Please insert disc 2
      requires: zassets2
  - copy:
      dst: $GAMEDIR/zassets2
      src: $DISC/zassets2
  - execute:
      args: -R 775  "$GAMEDIR/zassets2"
      file: /bin/chmod
  - task:
      arch: win32
      executable: $patch
      name: wine.wineexec
      prefix: $GAMEDIR
  - copy:
      dst: $GAMEDIR/zgi_mx
      src: $GAMEDIR/drive_c/Program Files/Activision/ZGI/zgi_mx
  - execute:
      args: -r $GAMEDIR/inquis.str
      file: /bin/rm
  - copy:
      dst: $GAMEDIR
      src: $GAMEDIR/drive_c/Program Files/Activision/ZGI/INQUIS.STR
  - execute:
      args: -rf $GAMEDIR/drive_c
      file: /bin/rm
  - execute:
      args: -r $GAMEDIR/dosdevices
      file: /bin/rm
  - execute:
      args: -r $GAMEDIR/system.reg
      file: /bin/rm
  - execute:
      args: -r $GAMEDIR/user.reg
      file: /bin/rm
  - execute:
      args: -r $GAMEDIR/userdef.reg
      file: /bin/rm
slug: zork-grand-inquisitor-2cd-patch
steamid: 570680
version: 2CD + Patch
year: 1997
{
  "game_slug": "zork-grand-inquisitor",
  "version": "2CD + Patch",
  "description": "ScummVM is used play the game, Wine is used to install the game",
  "notes": "",
  "name": "Zork: Grand Inquisitor",
  "year": 1997,
  "steamid": 570680,
  "gogslug": "zork_grand_inquisitor",
  "humblestoreid": "",
  "runner": "scummvm",
  "slug": "zork-grand-inquisitor-2cd-patch",
  "installer_slug": "zork-grand-inquisitor-2cd-patch",
  "script": {
    "files": [
      {
        "patch": "http://www.thezorklibrary.com/installguides/Zpatch.exe"
      }
    ],
    "game": {
      "game_id": "zgi-win",
      "path": "$GAMEDIR"
    },
    "installer": [
      {
        "task": {
          "arch": "win32",
          "install_gecko": false,
          "install_mono": false,
          "name": "wine.create_prefix",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "insert-disc": {
          "description": "Please insert disc 1",
          "requires": "setup.exe"
        }
      },
      {
        "execute": {
          "args": "$GAMEDIR/zassets1 $GAMEDIR/zassets2  $GAMEDIR/zgi_mx",
          "file": "mkdir"
        }
      },
      {
        "copy": {
          "dst": "$GAMEDIR/zassets1",
          "src": "$DISC/zassets1"
        }
      },
      {
        "copy": {
          "dst": "$GAMEDIR/zgi_mx",
          "src": "$DISC/zgi/zgi_mx"
        }
      },
      {
        "copy": {
          "dst": "$GAMEDIR",
          "src": "$DISC/zgi/cursor.zfs"
        }
      },
      {
        "copy": {
          "dst": "$GAMEDIR",
          "src": "$DISC/zgi/death.zfs"
        }
      },
      {
        "copy": {
          "dst": "$GAMEDIR",
          "src": "$DISC/zgi/inquis.str"
        }
      },
      {
        "copy": {
          "dst": "$GAMEDIR",
          "src": "$DISC/zgi/inquis.zix"
        }
      },
      {
        "copy": {
          "dst": "$GAMEDIR",
          "src": "$DISC/zgi/r.svr"
        }
      },
      {
        "copy": {
          "dst": "$GAMEDIR",
          "src": "$DISC/zgi/scripts.zfs"
        }
      },
      {
        "copy": {
          "dst": "$GAMEDIR",
          "src": "$DISC/zgi/subtitle.zfs"
        }
      },
      {
        "execute": {
          "args": "-R 775  \"$GAMEDIR\"",
          "file": "/bin/chmod"
        }
      },
      {
        "task": {
          "arch": "win32",
          "executable": "$DISC/setup.exe",
          "name": "wine.wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "insert-disc": {
          "description": "Please insert disc 2",
          "requires": "zassets2"
        }
      },
      {
        "copy": {
          "dst": "$GAMEDIR/zassets2",
          "src": "$DISC/zassets2"
        }
      },
      {
        "execute": {
          "args": "-R 775  \"$GAMEDIR/zassets2\"",
          "file": "/bin/chmod"
        }
      },
      {
        "task": {
          "arch": "win32",
          "executable": "$patch",
          "name": "wine.wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "copy": {
          "dst": "$GAMEDIR/zgi_mx",
          "src": "$GAMEDIR/drive_c/Program Files/Activision/ZGI/zgi_mx"
        }
      },
      {
        "execute": {
          "args": "-r $GAMEDIR/inquis.str",
          "file": "/bin/rm"
        }
      },
      {
        "copy": {
          "dst": "$GAMEDIR",
          "src": "$GAMEDIR/drive_c/Program Files/Activision/ZGI/INQUIS.STR"
        }
      },
      {
        "execute": {
          "args": "-rf $GAMEDIR/drive_c",
          "file": "/bin/rm"
        }
      },
      {
        "execute": {
          "args": "-r $GAMEDIR/dosdevices",
          "file": "/bin/rm"
        }
      },
      {
        "execute": {
          "args": "-r $GAMEDIR/system.reg",
          "file": "/bin/rm"
        }
      },
      {
        "execute": {
          "args": "-r $GAMEDIR/user.reg",
          "file": "/bin/rm"
        }
      },
      {
        "execute": {
          "args": "-r $GAMEDIR/userdef.reg",
          "file": "/bin/rm"
        }
      }
    ]
  }
}
Back to game