Installer duke-nukem-ii-gog-rigelengine

files:
- goginstaller: N/A:Please select the GOG.com Linux installer
game:
  exe: $GAMEDIR/data/RigelEngine
installer:
- extract:
    dst: $CACHE/GOG
    file: goginstaller
    format: zip
- merge:
    dst: $GAMEDIR
    src: $CACHE/GOG/data/noarch
- execute:
    command: curl https://api.github.com/repos/lethal-guitar/RigelEngine/releases/latest
      | grep browser_download_url | grep -vE '(win|mac|gles)' | cut -d '"' -f 4 |
      wget -i- -P $CACHE
    description: Download latest RigelEngine release
- extract:
    dst: $CACHE
    file: $CACHE/rigelengine_linux_x64.deb
- merge:
    description: Copy RigelEngine to $GAMEDIR
    dst: $GAMEDIR/data
    src: $CACHE/usr/bin/RigelEngine
description: Installs RigelEngine reimplementation engine https://github.com/lethal-guitar/RigelEngine
game_slug: duke-nukem-2
gogslug: ultra_pack_deluxe_turbo_hd_remix_vol2
humblestoreid: ''
installer_slug: duke-nukem-ii-gog-rigelengine
name: Duke Nukem II
notes: ''
runner: linux
script:
  files:
  - goginstaller: N/A:Please select the GOG.com Linux installer
  game:
    exe: $GAMEDIR/data/RigelEngine
  installer:
  - extract:
      dst: $CACHE/GOG
      file: goginstaller
      format: zip
  - merge:
      dst: $GAMEDIR
      src: $CACHE/GOG/data/noarch
  - execute:
      command: curl https://api.github.com/repos/lethal-guitar/RigelEngine/releases/latest
        | grep browser_download_url | grep -vE '(win|mac|gles)' | cut -d '"' -f 4
        | wget -i- -P $CACHE
      description: Download latest RigelEngine release
  - extract:
      dst: $CACHE
      file: $CACHE/rigelengine_linux_x64.deb
  - merge:
      description: Copy RigelEngine to $GAMEDIR
      dst: $GAMEDIR/data
      src: $CACHE/usr/bin/RigelEngine
slug: duke-nukem-ii-gog-rigelengine
steamid: 240180
version: GOG + RigelEngine
year: 1993
{
  "game_slug": "duke-nukem-2",
  "version": "GOG + RigelEngine",
  "description": "Installs RigelEngine reimplementation engine https://github.com/lethal-guitar/RigelEngine",
  "notes": "",
  "name": "Duke Nukem II",
  "year": 1993,
  "steamid": 240180,
  "gogslug": "ultra_pack_deluxe_turbo_hd_remix_vol2",
  "humblestoreid": "",
  "runner": "linux",
  "slug": "duke-nukem-ii-gog-rigelengine",
  "installer_slug": "duke-nukem-ii-gog-rigelengine",
  "script": {
    "files": [
      {
        "goginstaller": "N/A:Please select the GOG.com Linux installer"
      }
    ],
    "game": {
      "exe": "$GAMEDIR/data/RigelEngine"
    },
    "installer": [
      {
        "extract": {
          "dst": "$CACHE/GOG",
          "file": "goginstaller",
          "format": "zip"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR",
          "src": "$CACHE/GOG/data/noarch"
        }
      },
      {
        "execute": {
          "command": "curl https://api.github.com/repos/lethal-guitar/RigelEngine/releases/latest | grep browser_download_url | grep -vE '(win|mac|gles)' | cut -d '\"' -f 4 | wget -i- -P $CACHE",
          "description": "Download latest RigelEngine release"
        }
      },
      {
        "extract": {
          "dst": "$CACHE",
          "file": "$CACHE/rigelengine_linux_x64.deb"
        }
      },
      {
        "merge": {
          "description": "Copy RigelEngine to $GAMEDIR",
          "dst": "$GAMEDIR/data",
          "src": "$CACHE/usr/bin/RigelEngine"
        }
      }
    ]
  }
}
Back to game