Installer journey-the-quest-begins-ms-dos

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

      sensitivity=20

      [autoexec]

      mount C "$GAMEDIR/HDD" -t dir

      C:

      cd JOURNEY

      JOURNEY.EXE

      exit'
    file: $GAMEDIR/JOURNEY.conf
description: null
game_slug: journey-the-quest-begins
gogslug: ''
humblestoreid: ''
installer_slug: journey-the-quest-begins-ms-dos
name: 'Journey: The Quest Begins'
notes: ''
runner: dosbox
script:
  files:
  - game: N/A:Select the file JOURNEY.EXE
  game:
    main_file: $GAMEDIR/JOURNEY.conf
  installer:
  - execute:
      args: $GAMEDIR/HDD  $GAMEDIR/HDD/JOURNEY
      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/JOURNEY
      file: $CACHE/bulkcopy.sh
  - write_file:
      content: '[sdl]

        sensitivity=20

        [autoexec]

        mount C "$GAMEDIR/HDD" -t dir

        C:

        cd JOURNEY

        JOURNEY.EXE

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