Installer commander-keen-4-secret-of-th-ms-dos-directory

files:
- game: N/A:Select the file keen4e.exe
game:
  main_file: $GAMEDIR/keen4.conf
installer:
- write_file:
    content: '#! /bin/bash

      mkdir -p "${2%/*}"

      cp -vr "${1%/*}"  "$2"

      '
    file: $CACHE/bulkcopy.sh
- chmodx: $CACHE/bulkcopy.sh
- execute:
    args: $game $GAMEDIR/HDD/keen4
    file: $CACHE/bulkcopy.sh
- write_file:
    content: '[cpu]

      cputype=386_slow

      [autoexec]

      mount C "$GAMEDIR/HDD" -t dir

      C:

      cd keen4

      keen4e.EXE

      exit

      '
    file: $GAMEDIR/keen4.conf
description: ''
game_slug: commander-keen-4-secret-of-the-oracle
gogslug: ''
humblestoreid: ''
installer_slug: commander-keen-4-secret-of-th-ms-dos-directory
name: 'Commander Keen 4: Secret of the Oracle'
notes: "You must have a directory containing the files for Keen4, in particular KEEN4E.EXE,\
  \ e.g. from an old DOS backup or floppy disk.\r\nNote: The standard controls (Left\
  \ Control, Left Alt, Space) don't work well on modern keyboards. You can use \"\
  Ctrl-F1\" to open the DosBox dialog for binding additional keys (like \"z\", \"\
  x\", and \"c\") for better control."
runner: dosbox
script:
  files:
  - game: N/A:Select the file keen4e.exe
  game:
    main_file: $GAMEDIR/keen4.conf
  installer:
  - write_file:
      content: '#! /bin/bash

        mkdir -p "${2%/*}"

        cp -vr "${1%/*}"  "$2"

        '
      file: $CACHE/bulkcopy.sh
  - chmodx: $CACHE/bulkcopy.sh
  - execute:
      args: $game $GAMEDIR/HDD/keen4
      file: $CACHE/bulkcopy.sh
  - write_file:
      content: '[cpu]

        cputype=386_slow

        [autoexec]

        mount C "$GAMEDIR/HDD" -t dir

        C:

        cd keen4

        keen4e.EXE

        exit

        '
      file: $GAMEDIR/keen4.conf
slug: commander-keen-4-secret-of-th-ms-dos-directory
steamid: null
version: MS-DOS directory
year: 1991
{
  "game_slug": "commander-keen-4-secret-of-the-oracle",
  "version": "MS-DOS directory",
  "description": "",
  "notes": "You must have a directory containing the files for Keen4, in particular KEEN4E.EXE, e.g. from an old DOS backup or floppy disk.\r\nNote: The standard controls (Left Control, Left Alt, Space) don't work well on modern keyboards. You can use \"Ctrl-F1\" to open the DosBox dialog for binding additional keys (like \"z\", \"x\", and \"c\") for better control.",
  "name": "Commander Keen 4: Secret of the Oracle",
  "year": 1991,
  "steamid": null,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "dosbox",
  "slug": "commander-keen-4-secret-of-th-ms-dos-directory",
  "installer_slug": "commander-keen-4-secret-of-th-ms-dos-directory",
  "script": {
    "files": [
      {
        "game": "N/A:Select the file keen4e.exe"
      }
    ],
    "game": {
      "main_file": "$GAMEDIR/keen4.conf"
    },
    "installer": [
      {
        "write_file": {
          "content": "#! /bin/bash\nmkdir -p \"${2%/*}\"\ncp -vr \"${1%/*}\"  \"$2\"\n",
          "file": "$CACHE/bulkcopy.sh"
        }
      },
      {
        "chmodx": "$CACHE/bulkcopy.sh"
      },
      {
        "execute": {
          "args": "$game $GAMEDIR/HDD/keen4",
          "file": "$CACHE/bulkcopy.sh"
        }
      },
      {
        "write_file": {
          "content": "[cpu]\ncputype=386_slow\n[autoexec]\nmount C \"$GAMEDIR/HDD\" -t dir\nC:\ncd keen4\nkeen4e.EXE\nexit\n",
          "file": "$GAMEDIR/keen4.conf"
        }
      }
    ]
  }
}
Back to game