Installer discworld-ii-missing-presumed-2-cd-gb

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: ../DW2CD1_ENG/dw2win.exe
- execute:
    command: cp -n "$DISC/../DW2CD1_ENG/dw2/"{*.bmv,*.cdp,*.mus,*.scn,gdata,hopper,index,../sample.bnk}
      "$GAMEDIR/gamefiles/"
- execute:
    command: for i in "$DISC/../DW2CD1_ENG/dw2/"english.*; do cp -n "$i" "$GAMEDIR/gamefiles/english1.$(basename
      "$i" | cut -d. -f2)"; done
- insert-disc:
    requires: ../DW2_CD1_ENG/dw2win.exe
- execute:
    command: cp -n "$DISC/../DW2_CD1_ENG/dw2/"{*.bmv,*.cdp,*.mus,*.scn,gdata,hopper,index,../sample.bnk}
      "$GAMEDIR/gamefiles/"
- execute:
    command: for i in "$DISC/../DW2_CD1_ENG/dw2/"english.*; do cp -n "$i" "$GAMEDIR/gamefiles/english2.$(basename
      "$i" | cut -d. -f2)"; done
require-binaries: scummvm
variables:
  scummid: tinsel:dw2
  scummlabel: dw2-gb
description: Creates launcher script that uses system's scummvm binary and stores
  persistent config in game directory.
game_slug: discworld-ii-missing-presumed
gogslug: ''
humblestoreid: ''
installer_slug: discworld-ii-missing-presumed-2-cd-gb
name: 'Discworld II: Missing Presumed...!?'
notes: Requires scummvm (https://www.scummvm.org/) package for your Linux distribution
  to be installed.
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: ../DW2CD1_ENG/dw2win.exe
  - execute:
      command: cp -n "$DISC/../DW2CD1_ENG/dw2/"{*.bmv,*.cdp,*.mus,*.scn,gdata,hopper,index,../sample.bnk}
        "$GAMEDIR/gamefiles/"
  - execute:
      command: for i in "$DISC/../DW2CD1_ENG/dw2/"english.*; do cp -n "$i" "$GAMEDIR/gamefiles/english1.$(basename
        "$i" | cut -d. -f2)"; done
  - insert-disc:
      requires: ../DW2_CD1_ENG/dw2win.exe
  - execute:
      command: cp -n "$DISC/../DW2_CD1_ENG/dw2/"{*.bmv,*.cdp,*.mus,*.scn,gdata,hopper,index,../sample.bnk}
        "$GAMEDIR/gamefiles/"
  - execute:
      command: for i in "$DISC/../DW2_CD1_ENG/dw2/"english.*; do cp -n "$i" "$GAMEDIR/gamefiles/english2.$(basename
        "$i" | cut -d. -f2)"; done
  require-binaries: scummvm
  variables:
    scummid: tinsel:dw2
    scummlabel: dw2-gb
slug: discworld-ii-missing-presumed-2-cd-gb
steamid: null
version: 2 CD (GB)
year: 1996
{
  "game_slug": "discworld-ii-missing-presumed",
  "version": "2 CD (GB)",
  "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.",
  "name": "Discworld II: Missing Presumed...!?",
  "year": 1996,
  "steamid": null,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "linux",
  "slug": "discworld-ii-missing-presumed-2-cd-gb",
  "installer_slug": "discworld-ii-missing-presumed-2-cd-gb",
  "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": "../DW2CD1_ENG/dw2win.exe"
        }
      },
      {
        "execute": {
          "command": "cp -n \"$DISC/../DW2CD1_ENG/dw2/\"{*.bmv,*.cdp,*.mus,*.scn,gdata,hopper,index,../sample.bnk} \"$GAMEDIR/gamefiles/\""
        }
      },
      {
        "execute": {
          "command": "for i in \"$DISC/../DW2CD1_ENG/dw2/\"english.*; do cp -n \"$i\" \"$GAMEDIR/gamefiles/english1.$(basename \"$i\" | cut -d. -f2)\"; done"
        }
      },
      {
        "insert-disc": {
          "requires": "../DW2_CD1_ENG/dw2win.exe"
        }
      },
      {
        "execute": {
          "command": "cp -n \"$DISC/../DW2_CD1_ENG/dw2/\"{*.bmv,*.cdp,*.mus,*.scn,gdata,hopper,index,../sample.bnk} \"$GAMEDIR/gamefiles/\""
        }
      },
      {
        "execute": {
          "command": "for i in \"$DISC/../DW2_CD1_ENG/dw2/\"english.*; do cp -n \"$i\" \"$GAMEDIR/gamefiles/english2.$(basename \"$i\" | cut -d. -f2)\"; done"
        }
      }
    ],
    "require-binaries": "scummvm",
    "variables": {
      "scummid": "tinsel:dw2",
      "scummlabel": "dw2-gb"
    }
  }
}
Back to game