Installer kings-quest-ii-romancing-the-ms-dos

files:
- game: N/A:Select a file with the extension VOL.1
game:
  game_id: agi
  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: kings-quest-ii-romancing-the-throne
gogslug: kings_quest_1_2_3
humblestoreid: ''
installer_slug: kings-quest-ii-romancing-the-ms-dos
name: 'King''s Quest II: Romancing the Throne'
notes: ''
runner: scummvm
script:
  files:
  - game: N/A:Select a file with the extension VOL.1
  game:
    game_id: agi
    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: kings-quest-ii-romancing-the-ms-dos
steamid: null
version: MS-DOS
year: 1985
{
  "game_slug": "kings-quest-ii-romancing-the-throne",
  "version": "MS-DOS",
  "description": null,
  "notes": "",
  "name": "King's Quest II: Romancing the Throne",
  "year": 1985,
  "steamid": null,
  "gogslug": "kings_quest_1_2_3",
  "humblestoreid": "",
  "runner": "scummvm",
  "slug": "kings-quest-ii-romancing-the-ms-dos",
  "installer_slug": "kings-quest-ii-romancing-the-ms-dos",
  "script": {
    "files": [
      {
        "game": "N/A:Select a file with the extension VOL.1"
      }
    ],
    "game": {
      "game_id": "agi",
      "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