Installer discworld-cdrom

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

      src=$1

      dst=$2

      find "$src" -type f \( -name "*.IDX" -o -name "*.GRA" -o -name "*.SCN" -o -name
      "*.SMP" -o -name "*.TXT" -o -name "FAT.OPL" -o -name "MIDI.DAT"  -o -name "INDEX"
      -o -name "SAMPLE.AD" -o -name "SAMPLE.OPL" \) -exec cp {} "$dst" \;'
    file: $CACHE/selectcopy.sh
- chmodx: $CACHE/selectcopy.sh
- insert-disc:
    description: Please insert disc
    requires: DWU.EXE
- execute:
    args: $DISC/ $GAMEDIR
    file: $CACHE/selectcopy.sh
- execute:
    args: -R 775  "$GAMEDIR"
    file: /bin/chmod
scummvm:
  fullscreen: true
description: null
game_slug: discworld
gogslug: ''
humblestoreid: ''
installer_slug: discworld-cdrom
name: Discworld
notes: ''
runner: scummvm
script:
  game:
    game_id: tinsel
    path: $GAMEDIR
  installer:
  - write_file:
      content: '#!/bin/bash

        src=$1

        dst=$2

        find "$src" -type f \( -name "*.IDX" -o -name "*.GRA" -o -name "*.SCN" -o
        -name "*.SMP" -o -name "*.TXT" -o -name "FAT.OPL" -o -name "MIDI.DAT"  -o
        -name "INDEX" -o -name "SAMPLE.AD" -o -name "SAMPLE.OPL" \) -exec cp {} "$dst"
        \;'
      file: $CACHE/selectcopy.sh
  - chmodx: $CACHE/selectcopy.sh
  - insert-disc:
      description: Please insert disc
      requires: DWU.EXE
  - execute:
      args: $DISC/ $GAMEDIR
      file: $CACHE/selectcopy.sh
  - execute:
      args: -R 775  "$GAMEDIR"
      file: /bin/chmod
  scummvm:
    fullscreen: true
slug: discworld-cdrom
steamid: null
version: CDrom
year: 1995
{
  "game_slug": "discworld",
  "version": "CDrom",
  "description": null,
  "notes": "",
  "name": "Discworld",
  "year": 1995,
  "steamid": null,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "scummvm",
  "slug": "discworld-cdrom",
  "installer_slug": "discworld-cdrom",
  "script": {
    "game": {
      "game_id": "tinsel",
      "path": "$GAMEDIR"
    },
    "installer": [
      {
        "write_file": {
          "content": "#!/bin/bash\nsrc=$1\ndst=$2\nfind \"$src\" -type f \\( -name \"*.IDX\" -o -name \"*.GRA\" -o -name \"*.SCN\" -o -name \"*.SMP\" -o -name \"*.TXT\" -o -name \"FAT.OPL\" -o -name \"MIDI.DAT\"  -o -name \"INDEX\" -o -name \"SAMPLE.AD\" -o -name \"SAMPLE.OPL\" \\) -exec cp {} \"$dst\" \\;",
          "file": "$CACHE/selectcopy.sh"
        }
      },
      {
        "chmodx": "$CACHE/selectcopy.sh"
      },
      {
        "insert-disc": {
          "description": "Please insert disc",
          "requires": "DWU.EXE"
        }
      },
      {
        "execute": {
          "args": "$DISC/ $GAMEDIR",
          "file": "$CACHE/selectcopy.sh"
        }
      },
      {
        "execute": {
          "args": "-R 775  \"$GAMEDIR\"",
          "file": "/bin/chmod"
        }
      }
    ],
    "scummvm": {
      "fullscreen": true
    }
  }
}
Back to game