Installer duke-nukem-3d-gog

This script is for reference only and can't be directly used to install the game in the Lutris client. To install the game, download the full script.

custom-name: Duke Nukem 3D - Atomic Edition - GOG - DOSBox
files:
- inno: http://constexpr.org/innoextract/files/snapshots/innoextract-1.8-dev-2019-01-13/innoextract-1.8-dev-2019-01-13-linux.tar.xz
- gog: N/A:Select the Windows setup file downloaded from GOG
game:
  config_file: $GAMEDIR/dosbox/dosboxDuke3D.conf
  main_file: $GAMEDIR/dosbox/dosboxDuke3D_single.conf
installer:
- extract:
    dst: $CACHE
    file: inno
- execute:
    args: -d "$GAMEDIR" "$gog"
    file: $CACHE/innoextract
- merge:
    dst: $GAMEDIR
    src: $GAMEDIR/app
- merge:
    dst: $GAMEDIR/dosbox
    src: $GAMEDIR/__support/app
- execute:
    command: cd "$GAMEDIR"; rm -f -r app commonappdata DOSBOX __redist __support tmp
      goggame-1207658730* webcache.zip ;
{
  "custom-name": "Duke Nukem 3D - Atomic Edition - GOG - DOSBox",
  "files": [
    {
      "inno": "http://constexpr.org/innoextract/files/snapshots/innoextract-1.8-dev-2019-01-13/innoextract-1.8-dev-2019-01-13-linux.tar.xz"
    },
    {
      "gog": "N/A:Select the Windows setup file downloaded from GOG"
    }
  ],
  "game": {
    "config_file": "$GAMEDIR/dosbox/dosboxDuke3D.conf",
    "main_file": "$GAMEDIR/dosbox/dosboxDuke3D_single.conf"
  },
  "installer": [
    {
      "extract": {
        "dst": "$CACHE",
        "file": "inno"
      }
    },
    {
      "execute": {
        "args": "-d \"$GAMEDIR\" \"$gog\"",
        "file": "$CACHE/innoextract"
      }
    },
    {
      "merge": {
        "dst": "$GAMEDIR",
        "src": "$GAMEDIR/app"
      }
    },
    {
      "merge": {
        "dst": "$GAMEDIR/dosbox",
        "src": "$GAMEDIR/__support/app"
      }
    },
    {
      "execute": {
        "command": "cd \"$GAMEDIR\"; rm -f -r app commonappdata DOSBOX __redist __support tmp goggame-1207658730* webcache.zip ;"
      }
    }
  ]
}
Back to game