Installer discworld-cd-v2

game:
  args: --fullscreen $scummlabel
  exe: $GAMEDIR/$scummlabel.sh
installer:
- execute:
    args: -p $GAMEDIR/gamefiles
    file: mkdir
- execute:
    args: -p $GAMEDIR/savegames
    file: mkdir
- write_file:
    content: '#!/bin/bash

      scummvm --config=scummvm.ini --savepath=savegames --path=gamefiles --add --game=$scummid

      scummvm --config=scummvm.ini --savepath=savegames --path=gamefiles $@

      '
    file: $GAMEDIR/$scummlabel.sh
- execute:
    args: +x $GAMEDIR/$scummlabel.sh
    file: chmod
- insert-disc:
    requires: ../DISCWORLD/dwu.exe
- execute:
    command: cp -rn "$DISC/../DISCWORLD/discwld/"{*.idx,*.scn,*.smp,*.txt,midi.dat,index,../drivers/sample.ad,../drivers/sample.opl}
      "$GAMEDIR/gamefiles/"
require-binaries: scummvm
variables:
  scummid: tinsel:dw
  scummlabel: dw-cd
description: Creates launcher script that uses system's scummvm binary and stores
  persistent config in game directory.
game_slug: discworld
gogslug: ''
humblestoreid: ''
installer_slug: discworld-cd-v2
name: Discworld
notes: "Requires scummvm (https://www.scummvm.org/) package for your Linux distribution\
  \ to be installed.\r\n\r\nDoesn't require any patches, this version (CD v2, Discworld:\
  \ The Directors Cut) shipped with all bugs fixed.\r\nVersion information: https://www.us.lspace.org/games/discworld/faq.html#part2.3"
runner: linux
script:
  game:
    args: --fullscreen $scummlabel
    exe: $GAMEDIR/$scummlabel.sh
  installer:
  - execute:
      args: -p $GAMEDIR/gamefiles
      file: mkdir
  - execute:
      args: -p $GAMEDIR/savegames
      file: mkdir
  - write_file:
      content: '#!/bin/bash

        scummvm --config=scummvm.ini --savepath=savegames --path=gamefiles --add --game=$scummid

        scummvm --config=scummvm.ini --savepath=savegames --path=gamefiles $@

        '
      file: $GAMEDIR/$scummlabel.sh
  - execute:
      args: +x $GAMEDIR/$scummlabel.sh
      file: chmod
  - insert-disc:
      requires: ../DISCWORLD/dwu.exe
  - execute:
      command: cp -rn "$DISC/../DISCWORLD/discwld/"{*.idx,*.scn,*.smp,*.txt,midi.dat,index,../drivers/sample.ad,../drivers/sample.opl}
        "$GAMEDIR/gamefiles/"
  require-binaries: scummvm
  variables:
    scummid: tinsel:dw
    scummlabel: dw-cd
slug: discworld-cd-v2
steamid: null
version: CD v2
year: 1995
{
  "game_slug": "discworld",
  "version": "CD v2",
  "description": "Creates launcher script that uses system's scummvm binary and stores persistent config in game directory.",
  "notes": "Requires scummvm (https://www.scummvm.org/) package for your Linux distribution to be installed.\r\n\r\nDoesn't require any patches, this version (CD v2, Discworld: The Directors Cut) shipped with all bugs fixed.\r\nVersion information: https://www.us.lspace.org/games/discworld/faq.html#part2.3",
  "name": "Discworld",
  "year": 1995,
  "steamid": null,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "linux",
  "slug": "discworld-cd-v2",
  "installer_slug": "discworld-cd-v2",
  "script": {
    "game": {
      "args": "--fullscreen $scummlabel",
      "exe": "$GAMEDIR/$scummlabel.sh"
    },
    "installer": [
      {
        "execute": {
          "args": "-p $GAMEDIR/gamefiles",
          "file": "mkdir"
        }
      },
      {
        "execute": {
          "args": "-p $GAMEDIR/savegames",
          "file": "mkdir"
        }
      },
      {
        "write_file": {
          "content": "#!/bin/bash\nscummvm --config=scummvm.ini --savepath=savegames --path=gamefiles --add --game=$scummid\nscummvm --config=scummvm.ini --savepath=savegames --path=gamefiles $@\n",
          "file": "$GAMEDIR/$scummlabel.sh"
        }
      },
      {
        "execute": {
          "args": "+x $GAMEDIR/$scummlabel.sh",
          "file": "chmod"
        }
      },
      {
        "insert-disc": {
          "requires": "../DISCWORLD/dwu.exe"
        }
      },
      {
        "execute": {
          "command": "cp -rn \"$DISC/../DISCWORLD/discwld/\"{*.idx,*.scn,*.smp,*.txt,midi.dat,index,../drivers/sample.ad,../drivers/sample.opl} \"$GAMEDIR/gamefiles/\""
        }
      }
    ],
    "require-binaries": "scummvm",
    "variables": {
      "scummid": "tinsel:dw",
      "scummlabel": "dw-cd"
    }
  }
}
Back to game