Installer castle-of-dr-brain-ms-dos

files:
- game: N/A:Select the file Brain.exe
game:
  game_id: castlebrain
  path: $GAMEDIR
installer:
- write_file:
    content: '#!/bin/bash

      src=$1

      dst=$2

      src_path=$(echo "$1" | sed -r "s/(.+)\/.+/\1/")

      cp -avr "$src_path/."  "$dst"'
    file: $CACHE/bulkcopy.sh
- chmodx: $CACHE/bulkcopy.sh
- execute:
    args: $game $GAMEDIR
    file: $CACHE/bulkcopy.sh
scummvm:
  fullscreen: true
description: null
game_slug: castle-of-dr-brain
gogslug: ''
humblestoreid: ''
installer_slug: castle-of-dr-brain-ms-dos
name: Castle of Dr. Brain
notes: ''
runner: scummvm
script:
  files:
  - game: N/A:Select the file Brain.exe
  game:
    game_id: castlebrain
    path: $GAMEDIR
  installer:
  - write_file:
      content: '#!/bin/bash

        src=$1

        dst=$2

        src_path=$(echo "$1" | sed -r "s/(.+)\/.+/\1/")

        cp -avr "$src_path/."  "$dst"'
      file: $CACHE/bulkcopy.sh
  - chmodx: $CACHE/bulkcopy.sh
  - execute:
      args: $game $GAMEDIR
      file: $CACHE/bulkcopy.sh
  scummvm:
    fullscreen: true
slug: castle-of-dr-brain-ms-dos
steamid: null
version: MS-DOS
year: 1991
{
  "game_slug": "castle-of-dr-brain",
  "version": "MS-DOS",
  "description": null,
  "notes": "",
  "name": "Castle of Dr. Brain",
  "year": 1991,
  "steamid": null,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "scummvm",
  "slug": "castle-of-dr-brain-ms-dos",
  "installer_slug": "castle-of-dr-brain-ms-dos",
  "script": {
    "files": [
      {
        "game": "N/A:Select the file Brain.exe"
      }
    ],
    "game": {
      "game_id": "castlebrain",
      "path": "$GAMEDIR"
    },
    "installer": [
      {
        "write_file": {
          "content": "#!/bin/bash\nsrc=$1\ndst=$2\nsrc_path=$(echo \"$1\" | sed -r \"s/(.+)\\/.+/\\1/\")\ncp -avr \"$src_path/.\"  \"$dst\"",
          "file": "$CACHE/bulkcopy.sh"
        }
      },
      {
        "chmodx": "$CACHE/bulkcopy.sh"
      },
      {
        "execute": {
          "args": "$game $GAMEDIR",
          "file": "$CACHE/bulkcopy.sh"
        }
      }
    ],
    "scummvm": {
      "fullscreen": true
    }
  }
}
Back to game