Installer zork-ii-infocom-treasures-i-

game:
  game_id: zork2
  path: $GAMEDIR
installer:
- write_file:
    content: '#!/bin/bash

      src=$1

      dst=$2

      src_path=$(echo "$1" | sed -r "s/(.+)\/.+/\1/")

      find "$src_path" -type f \( -iname "zork2.DAT"  \) -exec cp {} "$dst" \;'
    file: $CACHE/selectcopy.sh
- chmodx: $CACHE/selectcopy.sh
- insert-disc:
    description: Please insert Lost Treasures of Infocom I CD
    requires: PC
- execute:
    args: $DISC "$GAMEDIR"
    file: $CACHE/selectcopy.sh
- execute:
    args: -R 775  "$GAMEDIR"
    file: /bin/chmod
description: null
game_slug: zork-ii
gogslug: ''
humblestoreid: ''
installer_slug: zork-ii-infocom-treasures-i-
name: Zork II
notes: ''
runner: scummvm
script:
  game:
    game_id: zork2
    path: $GAMEDIR
  installer:
  - write_file:
      content: '#!/bin/bash

        src=$1

        dst=$2

        src_path=$(echo "$1" | sed -r "s/(.+)\/.+/\1/")

        find "$src_path" -type f \( -iname "zork2.DAT"  \) -exec cp {} "$dst" \;'
      file: $CACHE/selectcopy.sh
  - chmodx: $CACHE/selectcopy.sh
  - insert-disc:
      description: Please insert Lost Treasures of Infocom I CD
      requires: PC
  - execute:
      args: $DISC "$GAMEDIR"
      file: $CACHE/selectcopy.sh
  - execute:
      args: -R 775  "$GAMEDIR"
      file: /bin/chmod
slug: zork-ii-infocom-treasures-i-
steamid: null
version: Infocom Treasures I CD
year: 1981
{
  "game_slug": "zork-ii",
  "version": "Infocom Treasures I CD",
  "description": null,
  "notes": "",
  "name": "Zork II",
  "year": 1981,
  "steamid": null,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "scummvm",
  "slug": "zork-ii-infocom-treasures-i-",
  "installer_slug": "zork-ii-infocom-treasures-i-",
  "script": {
    "game": {
      "game_id": "zork2",
      "path": "$GAMEDIR"
    },
    "installer": [
      {
        "write_file": {
          "content": "#!/bin/bash\nsrc=$1\ndst=$2\nsrc_path=$(echo \"$1\" | sed -r \"s/(.+)\\/.+/\\1/\")\nfind \"$src_path\" -type f \\( -iname \"zork2.DAT\"  \\) -exec cp {} \"$dst\" \\;",
          "file": "$CACHE/selectcopy.sh"
        }
      },
      {
        "chmodx": "$CACHE/selectcopy.sh"
      },
      {
        "insert-disc": {
          "description": "Please insert Lost Treasures of Infocom I CD",
          "requires": "PC"
        }
      },
      {
        "execute": {
          "args": "$DISC \"$GAMEDIR\"",
          "file": "$CACHE/selectcopy.sh"
        }
      },
      {
        "execute": {
          "args": "-R 775  \"$GAMEDIR\"",
          "file": "/bin/chmod"
        }
      }
    ]
  }
}
Back to game