Installer phantasmagoria-7cd

game:
  game_id: sci:phantasmagoria
  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: vmd
- execute:
    args: $DISC $GAMEDIR
    file: $CACHE/bulkcopy.sh
- execute:
    args: -R 775  "$GAMEDIR"
    file: /bin/chmod
- execute:
    args: $DISC/pdoco.txt  $CACHE/PDOCO.TXT
    file: /bin/cp
- 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: vmd
- 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: vmd
- 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: vmd
- 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: vmd
- 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
- insert-disc:
    description: Please insert disc 6
    requires: vmd
- execute:
    args: $DISC $GAMEDIR
    file: $CACHE/bulkcopy.sh
- execute:
    args: -R 775  "$GAMEDIR"
    file: /bin/chmod
- execute:
    args: $GAMEDIR/resource.aud  $GAMEDIR/RESAUD.006
    file: /bin/mv
- execute:
    args: $GAMEDIR/resource.sfx  $GAMEDIR/RESSFX.006
    file: /bin/mv
- insert-disc:
    description: Please insert disc 7
    requires: vmd
- execute:
    args: $DISC $GAMEDIR
    file: $CACHE/bulkcopy.sh
- execute:
    args: -R 775  "$GAMEDIR"
    file: /bin/chmod
- execute:
    args: $GAMEDIR/resource.aud  $GAMEDIR/RESAUD.007
    file: /bin/mv
- execute:
    args: $GAMEDIR/resource.sfx  $GAMEDIR/RESSFX.007
    file: /bin/mv
- execute:
    args: $CACHE/PDOCO.TXT $GAMEDIR/PDOCO.TXT
    file: /bin/cp
description: ''
game_slug: phantasmagoria
gogslug: phantasmagoria
humblestoreid: ''
installer_slug: phantasmagoria-7cd
name: Phantasmagoria
notes: ''
runner: scummvm
script:
  game:
    game_id: sci:phantasmagoria
    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: vmd
  - execute:
      args: $DISC $GAMEDIR
      file: $CACHE/bulkcopy.sh
  - execute:
      args: -R 775  "$GAMEDIR"
      file: /bin/chmod
  - execute:
      args: $DISC/pdoco.txt  $CACHE/PDOCO.TXT
      file: /bin/cp
  - 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: vmd
  - 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: vmd
  - 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: vmd
  - 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: vmd
  - 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
  - insert-disc:
      description: Please insert disc 6
      requires: vmd
  - execute:
      args: $DISC $GAMEDIR
      file: $CACHE/bulkcopy.sh
  - execute:
      args: -R 775  "$GAMEDIR"
      file: /bin/chmod
  - execute:
      args: $GAMEDIR/resource.aud  $GAMEDIR/RESAUD.006
      file: /bin/mv
  - execute:
      args: $GAMEDIR/resource.sfx  $GAMEDIR/RESSFX.006
      file: /bin/mv
  - insert-disc:
      description: Please insert disc 7
      requires: vmd
  - execute:
      args: $DISC $GAMEDIR
      file: $CACHE/bulkcopy.sh
  - execute:
      args: -R 775  "$GAMEDIR"
      file: /bin/chmod
  - execute:
      args: $GAMEDIR/resource.aud  $GAMEDIR/RESAUD.007
      file: /bin/mv
  - execute:
      args: $GAMEDIR/resource.sfx  $GAMEDIR/RESSFX.007
      file: /bin/mv
  - execute:
      args: $CACHE/PDOCO.TXT $GAMEDIR/PDOCO.TXT
      file: /bin/cp
slug: phantasmagoria-7cd
steamid: 501990
version: 7CD
year: 1995
{
  "game_slug": "phantasmagoria",
  "version": "7CD",
  "description": "",
  "notes": "",
  "name": "Phantasmagoria",
  "year": 1995,
  "steamid": 501990,
  "gogslug": "phantasmagoria",
  "humblestoreid": "",
  "runner": "scummvm",
  "slug": "phantasmagoria-7cd",
  "installer_slug": "phantasmagoria-7cd",
  "script": {
    "game": {
      "game_id": "sci:phantasmagoria",
      "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": "vmd"
        }
      },
      {
        "execute": {
          "args": "$DISC $GAMEDIR",
          "file": "$CACHE/bulkcopy.sh"
        }
      },
      {
        "execute": {
          "args": "-R 775  \"$GAMEDIR\"",
          "file": "/bin/chmod"
        }
      },
      {
        "execute": {
          "args": "$DISC/pdoco.txt  $CACHE/PDOCO.TXT",
          "file": "/bin/cp"
        }
      },
      {
        "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": "vmd"
        }
      },
      {
        "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": "vmd"
        }
      },
      {
        "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": "vmd"
        }
      },
      {
        "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": "vmd"
        }
      },
      {
        "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"
        }
      },
      {
        "insert-disc": {
          "description": "Please insert disc 6",
          "requires": "vmd"
        }
      },
      {
        "execute": {
          "args": "$DISC $GAMEDIR",
          "file": "$CACHE/bulkcopy.sh"
        }
      },
      {
        "execute": {
          "args": "-R 775  \"$GAMEDIR\"",
          "file": "/bin/chmod"
        }
      },
      {
        "execute": {
          "args": "$GAMEDIR/resource.aud  $GAMEDIR/RESAUD.006",
          "file": "/bin/mv"
        }
      },
      {
        "execute": {
          "args": "$GAMEDIR/resource.sfx  $GAMEDIR/RESSFX.006",
          "file": "/bin/mv"
        }
      },
      {
        "insert-disc": {
          "description": "Please insert disc 7",
          "requires": "vmd"
        }
      },
      {
        "execute": {
          "args": "$DISC $GAMEDIR",
          "file": "$CACHE/bulkcopy.sh"
        }
      },
      {
        "execute": {
          "args": "-R 775  \"$GAMEDIR\"",
          "file": "/bin/chmod"
        }
      },
      {
        "execute": {
          "args": "$GAMEDIR/resource.aud  $GAMEDIR/RESAUD.007",
          "file": "/bin/mv"
        }
      },
      {
        "execute": {
          "args": "$GAMEDIR/resource.sfx  $GAMEDIR/RESSFX.007",
          "file": "/bin/mv"
        }
      },
      {
        "execute": {
          "args": "$CACHE/PDOCO.TXT $GAMEDIR/PDOCO.TXT",
          "file": "/bin/cp"
        }
      }
    ]
  }
}
Back to game