Installer phantasmagoria-2-5cd

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

      src=$1

      dst=$2

      cp -avr "$src/."  "$dst"'
    file: $CACHE/bulkcopy.sh
- chmodx: $CACHE/bulkcopy.sh
- insert-disc:
    description: Please insert disc 1
    requires: duk
- execute:
    args: $DISC $GAMEDIR
    file: $CACHE/bulkcopy.sh
- execute:
    args: -R 775  "$GAMEDIR"
    file: /bin/chmod
- execute:
    args: $GAMEDIR/RESOURCE.AUD  $GAMEDIR/RESAUD.001
    file: /bin/mv
- execute:
    args: $GAMEDIR/RESOURCE.SFX  $GAMEDIR/RESSFX.001
    file: /bin/mv
- insert-disc:
    description: Please insert disc 2
    requires: duk
- execute:
    args: $DISC $GAMEDIR
    file: $CACHE/bulkcopy.sh
- execute:
    args: -R 775  "$GAMEDIR"
    file: /bin/chmod
- execute:
    args: $GAMEDIR/resource.aud  $GAMEDIR/RESAUD.002
    file: /bin/mv
- execute:
    args: $GAMEDIR/resource.sfx  $GAMEDIR/RESSFX.002
    file: /bin/mv
- insert-disc:
    description: Please insert disc 3
    requires: duk
- execute:
    args: $DISC $GAMEDIR
    file: $CACHE/bulkcopy.sh
- execute:
    args: -R 775  "$GAMEDIR"
    file: /bin/chmod
- execute:
    args: $GAMEDIR/resource.aud  $GAMEDIR/RESAUD.003
    file: /bin/mv
- execute:
    args: $GAMEDIR/resource.sfx  $GAMEDIR/RESSFX.003
    file: /bin/mv
- insert-disc:
    description: Please insert disc 4
    requires: duk
- execute:
    args: $DISC $GAMEDIR
    file: $CACHE/bulkcopy.sh
- execute:
    args: -R 775  "$GAMEDIR"
    file: /bin/chmod
- execute:
    args: $GAMEDIR/resource.aud  $GAMEDIR/RESAUD.004
    file: /bin/mv
- execute:
    args: $GAMEDIR/resource.sfx  $GAMEDIR/RESSFX.004
    file: /bin/mv
- insert-disc:
    description: Please insert disc 5
    requires: duk
- execute:
    args: $DISC $GAMEDIR
    file: $CACHE/bulkcopy.sh
- execute:
    args: -R 775  "$GAMEDIR"
    file: /bin/chmod
- execute:
    args: $GAMEDIR/resource.aud  $GAMEDIR/RESAUD.005
    file: /bin/mv
- execute:
    args: $GAMEDIR/resource.sfx  $GAMEDIR/RESSFX.005
    file: /bin/mv
description: null
game_slug: phantasmagoria-2
gogslug: phantasmagoria_2
humblestoreid: ''
installer_slug: phantasmagoria-2-5cd
name: Phantasmagoria 2
notes: ''
runner: scummvm
script:
  game:
    game_id: sci
    path: $GAMEDIR
  installer:
  - write_file:
      content: '#!/bin/bash

        src=$1

        dst=$2

        cp -avr "$src/."  "$dst"'
      file: $CACHE/bulkcopy.sh
  - chmodx: $CACHE/bulkcopy.sh
  - insert-disc:
      description: Please insert disc 1
      requires: duk
  - execute:
      args: $DISC $GAMEDIR
      file: $CACHE/bulkcopy.sh
  - execute:
      args: -R 775  "$GAMEDIR"
      file: /bin/chmod
  - execute:
      args: $GAMEDIR/RESOURCE.AUD  $GAMEDIR/RESAUD.001
      file: /bin/mv
  - execute:
      args: $GAMEDIR/RESOURCE.SFX  $GAMEDIR/RESSFX.001
      file: /bin/mv
  - insert-disc:
      description: Please insert disc 2
      requires: duk
  - execute:
      args: $DISC $GAMEDIR
      file: $CACHE/bulkcopy.sh
  - execute:
      args: -R 775  "$GAMEDIR"
      file: /bin/chmod
  - execute:
      args: $GAMEDIR/resource.aud  $GAMEDIR/RESAUD.002
      file: /bin/mv
  - execute:
      args: $GAMEDIR/resource.sfx  $GAMEDIR/RESSFX.002
      file: /bin/mv
  - insert-disc:
      description: Please insert disc 3
      requires: duk
  - execute:
      args: $DISC $GAMEDIR
      file: $CACHE/bulkcopy.sh
  - execute:
      args: -R 775  "$GAMEDIR"
      file: /bin/chmod
  - execute:
      args: $GAMEDIR/resource.aud  $GAMEDIR/RESAUD.003
      file: /bin/mv
  - execute:
      args: $GAMEDIR/resource.sfx  $GAMEDIR/RESSFX.003
      file: /bin/mv
  - insert-disc:
      description: Please insert disc 4
      requires: duk
  - execute:
      args: $DISC $GAMEDIR
      file: $CACHE/bulkcopy.sh
  - execute:
      args: -R 775  "$GAMEDIR"
      file: /bin/chmod
  - execute:
      args: $GAMEDIR/resource.aud  $GAMEDIR/RESAUD.004
      file: /bin/mv
  - execute:
      args: $GAMEDIR/resource.sfx  $GAMEDIR/RESSFX.004
      file: /bin/mv
  - insert-disc:
      description: Please insert disc 5
      requires: duk
  - execute:
      args: $DISC $GAMEDIR
      file: $CACHE/bulkcopy.sh
  - execute:
      args: -R 775  "$GAMEDIR"
      file: /bin/chmod
  - execute:
      args: $GAMEDIR/resource.aud  $GAMEDIR/RESAUD.005
      file: /bin/mv
  - execute:
      args: $GAMEDIR/resource.sfx  $GAMEDIR/RESSFX.005
      file: /bin/mv
slug: phantasmagoria-2-5cd
steamid: 501970
version: 5CD
year: 1996
{
  "game_slug": "phantasmagoria-2",
  "version": "5CD",
  "description": null,
  "notes": "",
  "name": "Phantasmagoria 2",
  "year": 1996,
  "steamid": 501970,
  "gogslug": "phantasmagoria_2",
  "humblestoreid": "",
  "runner": "scummvm",
  "slug": "phantasmagoria-2-5cd",
  "installer_slug": "phantasmagoria-2-5cd",
  "script": {
    "game": {
      "game_id": "sci",
      "path": "$GAMEDIR"
    },
    "installer": [
      {
        "write_file": {
          "content": "#!/bin/bash\nsrc=$1\ndst=$2\ncp -avr \"$src/.\"  \"$dst\"",
          "file": "$CACHE/bulkcopy.sh"
        }
      },
      {
        "chmodx": "$CACHE/bulkcopy.sh"
      },
      {
        "insert-disc": {
          "description": "Please insert disc 1",
          "requires": "duk"
        }
      },
      {
        "execute": {
          "args": "$DISC $GAMEDIR",
          "file": "$CACHE/bulkcopy.sh"
        }
      },
      {
        "execute": {
          "args": "-R 775  \"$GAMEDIR\"",
          "file": "/bin/chmod"
        }
      },
      {
        "execute": {
          "args": "$GAMEDIR/RESOURCE.AUD  $GAMEDIR/RESAUD.001",
          "file": "/bin/mv"
        }
      },
      {
        "execute": {
          "args": "$GAMEDIR/RESOURCE.SFX  $GAMEDIR/RESSFX.001",
          "file": "/bin/mv"
        }
      },
      {
        "insert-disc": {
          "description": "Please insert disc 2",
          "requires": "duk"
        }
      },
      {
        "execute": {
          "args": "$DISC $GAMEDIR",
          "file": "$CACHE/bulkcopy.sh"
        }
      },
      {
        "execute": {
          "args": "-R 775  \"$GAMEDIR\"",
          "file": "/bin/chmod"
        }
      },
      {
        "execute": {
          "args": "$GAMEDIR/resource.aud  $GAMEDIR/RESAUD.002",
          "file": "/bin/mv"
        }
      },
      {
        "execute": {
          "args": "$GAMEDIR/resource.sfx  $GAMEDIR/RESSFX.002",
          "file": "/bin/mv"
        }
      },
      {
        "insert-disc": {
          "description": "Please insert disc 3",
          "requires": "duk"
        }
      },
      {
        "execute": {
          "args": "$DISC $GAMEDIR",
          "file": "$CACHE/bulkcopy.sh"
        }
      },
      {
        "execute": {
          "args": "-R 775  \"$GAMEDIR\"",
          "file": "/bin/chmod"
        }
      },
      {
        "execute": {
          "args": "$GAMEDIR/resource.aud  $GAMEDIR/RESAUD.003",
          "file": "/bin/mv"
        }
      },
      {
        "execute": {
          "args": "$GAMEDIR/resource.sfx  $GAMEDIR/RESSFX.003",
          "file": "/bin/mv"
        }
      },
      {
        "insert-disc": {
          "description": "Please insert disc 4",
          "requires": "duk"
        }
      },
      {
        "execute": {
          "args": "$DISC $GAMEDIR",
          "file": "$CACHE/bulkcopy.sh"
        }
      },
      {
        "execute": {
          "args": "-R 775  \"$GAMEDIR\"",
          "file": "/bin/chmod"
        }
      },
      {
        "execute": {
          "args": "$GAMEDIR/resource.aud  $GAMEDIR/RESAUD.004",
          "file": "/bin/mv"
        }
      },
      {
        "execute": {
          "args": "$GAMEDIR/resource.sfx  $GAMEDIR/RESSFX.004",
          "file": "/bin/mv"
        }
      },
      {
        "insert-disc": {
          "description": "Please insert disc 5",
          "requires": "duk"
        }
      },
      {
        "execute": {
          "args": "$DISC $GAMEDIR",
          "file": "$CACHE/bulkcopy.sh"
        }
      },
      {
        "execute": {
          "args": "-R 775  \"$GAMEDIR\"",
          "file": "/bin/chmod"
        }
      },
      {
        "execute": {
          "args": "$GAMEDIR/resource.aud  $GAMEDIR/RESAUD.005",
          "file": "/bin/mv"
        }
      },
      {
        "execute": {
          "args": "$GAMEDIR/resource.sfx  $GAMEDIR/RESSFX.005",
          "file": "/bin/mv"
        }
      }
    ]
  }
}
Back to game