Installer dungeon-keeper-gog-keeperfx-tux-edi

files:
- gogsetup: N/A:Please select the installer downloaded from GOG.
- engine:
    filename: KeeperFX-Tux-Edition-x86_64.AppImage
    url: https://github.com/ForkedInTime/keeperfx-tux-edition/releases/latest/download/KeeperFX-Tux-Edition-x86_64.AppImage
game:
  exe: $GAMEDIR/KeeperFX-Tux-Edition-x86_64.AppImage
  gogid: 1207658934
  working_dir: $GAMEDIR
installer:
- extract:
    dst: $CACHE/keeperfx-alpha
    file: $gogsetup
    format: gog
- execute:
    command: "set -o pipefail\nset -e\n\nmkdir -p \"$GAMEDIR/keeperfx/\"{music,data,sound}/\n\
      \ncp -rv \"$CACHE/keeperfx-alpha/DATA/\"{BLUEPAL.DAT,BLUEPALL.DAT,DOGPAL.PAL,HITPALL.DAT,LIGHTNG.PAL,REDPAL.COL,REDPALL.DAT,SLAB0-0.DAT,SLAB0-1.DAT,VAMPAL.PAL,WHITEPAL.COL}\
      \ \"$GAMEDIR/keeperfx/data/\"\ncp -rv \"$CACHE/keeperfx-alpha/SOUND/\"{ATMOS1.SBK,ATMOS2.SBK,BULLFROG.SBK}\
      \ \"$GAMEDIR/keeperfx/sound/\"\ncp -rv \"$CACHE/keeperfx-alpha\"/keeper*.ogg\
      \ \"$GAMEDIR/keeperfx/music/\"\n\n# Rename all files to lowercase\nfor dir in\
      \ \"$GAMEDIR/keeperfx\"; do\n  [ -d \"$dir\" ] || continue\n  find \"$dir\"\
      \ -depth -mindepth 1 -print0 | while IFS= read -r -d '' path; do\n    base=$(basename\
      \ \"$path\")\n    low=$(printf '%s' \"$base\" | tr '[:upper:]' '[:lower:]')\n\
      \    [ \"$base\" = \"$low\" ] || mv -vn -- \"$path\" \"$(dirname \"$path\")/$low\"\
      \n  done\ndone\ntrue\n"
    description: Renaming files to lowercase
- move:
    dst: $GAMEDIR/
    src: $engine
- chmodx: $GAMEDIR/KeeperFX-Tux-Edition-x86_64.AppImage
system:
  env:
    KFX_ALPHA_PREFIX: $GAMEDIR/keeperfx
    KFX_NO_DESKTOP_ENTRY: '1'
description: Latest version from Github, uses the native Linux version of KeeperFX
game_slug: dungeon-keeper
gogslug: dungeon_keeper
humblestoreid: ''
installer_slug: dungeon-keeper-gog-keeperfx-tux-edi
name: Dungeon Keeper
notes: Minimal data are copied from Dungeon Keeper installation
runner: linux
script:
  files:
  - gogsetup: N/A:Please select the installer downloaded from GOG.
  - engine:
      filename: KeeperFX-Tux-Edition-x86_64.AppImage
      url: https://github.com/ForkedInTime/keeperfx-tux-edition/releases/latest/download/KeeperFX-Tux-Edition-x86_64.AppImage
  game:
    exe: $GAMEDIR/KeeperFX-Tux-Edition-x86_64.AppImage
    gogid: 1207658934
    working_dir: $GAMEDIR
  installer:
  - extract:
      dst: $CACHE/keeperfx-alpha
      file: $gogsetup
      format: gog
  - execute:
      command: "set -o pipefail\nset -e\n\nmkdir -p \"$GAMEDIR/keeperfx/\"{music,data,sound}/\n\
        \ncp -rv \"$CACHE/keeperfx-alpha/DATA/\"{BLUEPAL.DAT,BLUEPALL.DAT,DOGPAL.PAL,HITPALL.DAT,LIGHTNG.PAL,REDPAL.COL,REDPALL.DAT,SLAB0-0.DAT,SLAB0-1.DAT,VAMPAL.PAL,WHITEPAL.COL}\
        \ \"$GAMEDIR/keeperfx/data/\"\ncp -rv \"$CACHE/keeperfx-alpha/SOUND/\"{ATMOS1.SBK,ATMOS2.SBK,BULLFROG.SBK}\
        \ \"$GAMEDIR/keeperfx/sound/\"\ncp -rv \"$CACHE/keeperfx-alpha\"/keeper*.ogg\
        \ \"$GAMEDIR/keeperfx/music/\"\n\n# Rename all files to lowercase\nfor dir\
        \ in \"$GAMEDIR/keeperfx\"; do\n  [ -d \"$dir\" ] || continue\n  find \"$dir\"\
        \ -depth -mindepth 1 -print0 | while IFS= read -r -d '' path; do\n    base=$(basename\
        \ \"$path\")\n    low=$(printf '%s' \"$base\" | tr '[:upper:]' '[:lower:]')\n\
        \    [ \"$base\" = \"$low\" ] || mv -vn -- \"$path\" \"$(dirname \"$path\"\
        )/$low\"\n  done\ndone\ntrue\n"
      description: Renaming files to lowercase
  - move:
      dst: $GAMEDIR/
      src: $engine
  - chmodx: $GAMEDIR/KeeperFX-Tux-Edition-x86_64.AppImage
  system:
    env:
      KFX_ALPHA_PREFIX: $GAMEDIR/keeperfx
      KFX_NO_DESKTOP_ENTRY: '1'
slug: dungeon-keeper-gog-keeperfx-tux-edi
steamid: null
version: GOG + KeeperFX Tux Edition
year: 1997
{
  "game_slug": "dungeon-keeper",
  "version": "GOG + KeeperFX Tux Edition",
  "description": "Latest version from Github, uses the native Linux version of KeeperFX",
  "notes": "Minimal data are copied from Dungeon Keeper installation",
  "name": "Dungeon Keeper",
  "year": 1997,
  "steamid": null,
  "gogslug": "dungeon_keeper",
  "humblestoreid": "",
  "runner": "linux",
  "slug": "dungeon-keeper-gog-keeperfx-tux-edi",
  "installer_slug": "dungeon-keeper-gog-keeperfx-tux-edi",
  "script": {
    "files": [
      {
        "gogsetup": "N/A:Please select the installer downloaded from GOG."
      },
      {
        "engine": {
          "filename": "KeeperFX-Tux-Edition-x86_64.AppImage",
          "url": "https://github.com/ForkedInTime/keeperfx-tux-edition/releases/latest/download/KeeperFX-Tux-Edition-x86_64.AppImage"
        }
      }
    ],
    "game": {
      "exe": "$GAMEDIR/KeeperFX-Tux-Edition-x86_64.AppImage",
      "gogid": 1207658934,
      "working_dir": "$GAMEDIR"
    },
    "installer": [
      {
        "extract": {
          "dst": "$CACHE/keeperfx-alpha",
          "file": "$gogsetup",
          "format": "gog"
        }
      },
      {
        "execute": {
          "command": "set -o pipefail\nset -e\n\nmkdir -p \"$GAMEDIR/keeperfx/\"{music,data,sound}/\n\ncp -rv \"$CACHE/keeperfx-alpha/DATA/\"{BLUEPAL.DAT,BLUEPALL.DAT,DOGPAL.PAL,HITPALL.DAT,LIGHTNG.PAL,REDPAL.COL,REDPALL.DAT,SLAB0-0.DAT,SLAB0-1.DAT,VAMPAL.PAL,WHITEPAL.COL} \"$GAMEDIR/keeperfx/data/\"\ncp -rv \"$CACHE/keeperfx-alpha/SOUND/\"{ATMOS1.SBK,ATMOS2.SBK,BULLFROG.SBK} \"$GAMEDIR/keeperfx/sound/\"\ncp -rv \"$CACHE/keeperfx-alpha\"/keeper*.ogg \"$GAMEDIR/keeperfx/music/\"\n\n# Rename all files to lowercase\nfor dir in \"$GAMEDIR/keeperfx\"; do\n  [ -d \"$dir\" ] || continue\n  find \"$dir\" -depth -mindepth 1 -print0 | while IFS= read -r -d '' path; do\n    base=$(basename \"$path\")\n    low=$(printf '%s' \"$base\" | tr '[:upper:]' '[:lower:]')\n    [ \"$base\" = \"$low\" ] || mv -vn -- \"$path\" \"$(dirname \"$path\")/$low\"\n  done\ndone\ntrue\n",
          "description": "Renaming files to lowercase"
        }
      },
      {
        "move": {
          "dst": "$GAMEDIR/",
          "src": "$engine"
        }
      },
      {
        "chmodx": "$GAMEDIR/KeeperFX-Tux-Edition-x86_64.AppImage"
      }
    ],
    "system": {
      "env": {
        "KFX_ALPHA_PREFIX": "$GAMEDIR/keeperfx",
        "KFX_NO_DESKTOP_ENTRY": "1"
      }
    }
  }
}
Back to game