Installer escape-from-monkey-island-2cd

files:
- patch: https://demos.residualvm.org/patches/MonkeyUpdate.exe
game:
  game_id: monkey4
  path: $GAMEDIR
installer:
- write_file:
    content: '#!/bin/bash

      src=$1

      dst=$2

      cp -avr "$src/."  "$dst"'
    file: $CACHE/bulkcopy-alt.sh
- chmodx: $CACHE/bulkcopy-alt.sh
- insert-disc:
    description: Please insert disc 1
    requires: Monkey4
- execute:
    args: $DISC/Monkey4/MonkeyData $GAMEDIR
    file: $CACHE/bulkcopy-alt.sh
- execute:
    args: '''$DISC/Monkey4/MonkeyInstall/local.m4b'' ''$CACHE'''
    file: /bin/cp
- execute:
    args: -R 775  "$GAMEDIR"
    file: /bin/chmod
- execute:
    args: '''$DISC/Monkey4/MonkeyData/voiceAll.m4b'' ''$CACHE'''
    file: /bin/cp
- execute:
    args: $GAMEDIR/Textures/FullMonkeyMap.imt   $GAMEDIR/Textures/FullMonkeyMap1.imt
    file: /bin/mv
- insert-disc:
    description: Please insert disc 2
    requires: Monkey4
- execute:
    args: $DISC/Monkey4/MonkeyData $GAMEDIR
    file: $CACHE/bulkcopy-alt.sh
- execute:
    args: -R 775  "$GAMEDIR"
    file: /bin/chmod
- execute:
    args: $GAMEDIR/Textures/FullMonkeyMap.imt   $GAMEDIR/Textures/FullMonkeyMap2.imt
    file: /bin/mv
- execute:
    args: $GAMEDIR/voiceAll.m4b
    file: /bin/rm
- execute:
    args: $CACHE/voiceAll.m4b $GAMEDIR
    file: /bin/cp
- execute:
    args: $CACHE/local.m4b  $GAMEDIR
    file: /bin/cp
- copy:
    dst: $GAMEDIR
    src: $patch
description: null
game_slug: escape-from-monkey-island
gogslug: escape_from_monkey_island
humblestoreid: ''
installer_slug: escape-from-monkey-island-2cd
name: Escape from Monkey Island
notes: ''
runner: scummvm
script:
  files:
  - patch: https://demos.residualvm.org/patches/MonkeyUpdate.exe
  game:
    game_id: monkey4
    path: $GAMEDIR
  installer:
  - write_file:
      content: '#!/bin/bash

        src=$1

        dst=$2

        cp -avr "$src/."  "$dst"'
      file: $CACHE/bulkcopy-alt.sh
  - chmodx: $CACHE/bulkcopy-alt.sh
  - insert-disc:
      description: Please insert disc 1
      requires: Monkey4
  - execute:
      args: $DISC/Monkey4/MonkeyData $GAMEDIR
      file: $CACHE/bulkcopy-alt.sh
  - execute:
      args: '''$DISC/Monkey4/MonkeyInstall/local.m4b'' ''$CACHE'''
      file: /bin/cp
  - execute:
      args: -R 775  "$GAMEDIR"
      file: /bin/chmod
  - execute:
      args: '''$DISC/Monkey4/MonkeyData/voiceAll.m4b'' ''$CACHE'''
      file: /bin/cp
  - execute:
      args: $GAMEDIR/Textures/FullMonkeyMap.imt   $GAMEDIR/Textures/FullMonkeyMap1.imt
      file: /bin/mv
  - insert-disc:
      description: Please insert disc 2
      requires: Monkey4
  - execute:
      args: $DISC/Monkey4/MonkeyData $GAMEDIR
      file: $CACHE/bulkcopy-alt.sh
  - execute:
      args: -R 775  "$GAMEDIR"
      file: /bin/chmod
  - execute:
      args: $GAMEDIR/Textures/FullMonkeyMap.imt   $GAMEDIR/Textures/FullMonkeyMap2.imt
      file: /bin/mv
  - execute:
      args: $GAMEDIR/voiceAll.m4b
      file: /bin/rm
  - execute:
      args: $CACHE/voiceAll.m4b $GAMEDIR
      file: /bin/cp
  - execute:
      args: $CACHE/local.m4b  $GAMEDIR
      file: /bin/cp
  - copy:
      dst: $GAMEDIR
      src: $patch
slug: escape-from-monkey-island-2cd
steamid: null
version: 2CD
year: 2000
{
  "game_slug": "escape-from-monkey-island",
  "version": "2CD",
  "description": null,
  "notes": "",
  "name": "Escape from Monkey Island",
  "year": 2000,
  "steamid": null,
  "gogslug": "escape_from_monkey_island",
  "humblestoreid": "",
  "runner": "scummvm",
  "slug": "escape-from-monkey-island-2cd",
  "installer_slug": "escape-from-monkey-island-2cd",
  "script": {
    "files": [
      {
        "patch": "https://demos.residualvm.org/patches/MonkeyUpdate.exe"
      }
    ],
    "game": {
      "game_id": "monkey4",
      "path": "$GAMEDIR"
    },
    "installer": [
      {
        "write_file": {
          "content": "#!/bin/bash\nsrc=$1\ndst=$2\ncp -avr \"$src/.\"  \"$dst\"",
          "file": "$CACHE/bulkcopy-alt.sh"
        }
      },
      {
        "chmodx": "$CACHE/bulkcopy-alt.sh"
      },
      {
        "insert-disc": {
          "description": "Please insert disc 1",
          "requires": "Monkey4"
        }
      },
      {
        "execute": {
          "args": "$DISC/Monkey4/MonkeyData $GAMEDIR",
          "file": "$CACHE/bulkcopy-alt.sh"
        }
      },
      {
        "execute": {
          "args": "'$DISC/Monkey4/MonkeyInstall/local.m4b' '$CACHE'",
          "file": "/bin/cp"
        }
      },
      {
        "execute": {
          "args": "-R 775  \"$GAMEDIR\"",
          "file": "/bin/chmod"
        }
      },
      {
        "execute": {
          "args": "'$DISC/Monkey4/MonkeyData/voiceAll.m4b' '$CACHE'",
          "file": "/bin/cp"
        }
      },
      {
        "execute": {
          "args": "$GAMEDIR/Textures/FullMonkeyMap.imt   $GAMEDIR/Textures/FullMonkeyMap1.imt",
          "file": "/bin/mv"
        }
      },
      {
        "insert-disc": {
          "description": "Please insert disc 2",
          "requires": "Monkey4"
        }
      },
      {
        "execute": {
          "args": "$DISC/Monkey4/MonkeyData $GAMEDIR",
          "file": "$CACHE/bulkcopy-alt.sh"
        }
      },
      {
        "execute": {
          "args": "-R 775  \"$GAMEDIR\"",
          "file": "/bin/chmod"
        }
      },
      {
        "execute": {
          "args": "$GAMEDIR/Textures/FullMonkeyMap.imt   $GAMEDIR/Textures/FullMonkeyMap2.imt",
          "file": "/bin/mv"
        }
      },
      {
        "execute": {
          "args": "$GAMEDIR/voiceAll.m4b",
          "file": "/bin/rm"
        }
      },
      {
        "execute": {
          "args": "$CACHE/voiceAll.m4b $GAMEDIR",
          "file": "/bin/cp"
        }
      },
      {
        "execute": {
          "args": "$CACHE/local.m4b  $GAMEDIR",
          "file": "/bin/cp"
        }
      },
      {
        "copy": {
          "dst": "$GAMEDIR",
          "src": "$patch"
        }
      }
    ]
  }
}
Back to game