Installer arthur-the-quest-for-excalibu-ms-dos

files:
- game: N/A:Select the file Arthur.Bat
game:
  main_file: $GAMEDIR/Arthur.conf
installer:
- execute:
    args: $GAMEDIR/HDD  $GAMEDIR/HDD/Arthur
    file: mkdir
- 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/HDD/Arthur
    file: $CACHE/bulkcopy.sh
- write_file:
    content: '[sdl]

      sensitivity=20

      [autoexec]

      mount C "$GAMEDIR/HDD" -t dir

      C:

      cd Arthur

      Arthur.bat

      exit'
    file: $GAMEDIR/Arthur.conf
description: null
game_slug: arthur-the-quest-for-excalibur
gogslug: ''
humblestoreid: ''
installer_slug: arthur-the-quest-for-excalibu-ms-dos
name: 'Arthur: The Quest for Excalibur'
notes: ''
runner: dosbox
script:
  files:
  - game: N/A:Select the file Arthur.Bat
  game:
    main_file: $GAMEDIR/Arthur.conf
  installer:
  - execute:
      args: $GAMEDIR/HDD  $GAMEDIR/HDD/Arthur
      file: mkdir
  - 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/HDD/Arthur
      file: $CACHE/bulkcopy.sh
  - write_file:
      content: '[sdl]

        sensitivity=20

        [autoexec]

        mount C "$GAMEDIR/HDD" -t dir

        C:

        cd Arthur

        Arthur.bat

        exit'
      file: $GAMEDIR/Arthur.conf
slug: arthur-the-quest-for-excalibu-ms-dos
steamid: null
version: MS-DOS
year: 1989
{
  "game_slug": "arthur-the-quest-for-excalibur",
  "version": "MS-DOS",
  "description": null,
  "notes": "",
  "name": "Arthur: The Quest for Excalibur",
  "year": 1989,
  "steamid": null,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "dosbox",
  "slug": "arthur-the-quest-for-excalibu-ms-dos",
  "installer_slug": "arthur-the-quest-for-excalibu-ms-dos",
  "script": {
    "files": [
      {
        "game": "N/A:Select the file Arthur.Bat"
      }
    ],
    "game": {
      "main_file": "$GAMEDIR/Arthur.conf"
    },
    "installer": [
      {
        "execute": {
          "args": "$GAMEDIR/HDD  $GAMEDIR/HDD/Arthur",
          "file": "mkdir"
        }
      },
      {
        "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/HDD/Arthur",
          "file": "$CACHE/bulkcopy.sh"
        }
      },
      {
        "write_file": {
          "content": "[sdl]\nsensitivity=20\n[autoexec]\nmount C \"$GAMEDIR/HDD\" -t dir\nC:\ncd Arthur\nArthur.bat\nexit",
          "file": "$GAMEDIR/Arthur.conf"
        }
      }
    ]
  }
}
Back to game