Installer descent-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.

files:
- file1: N/A:Please select the GOG installer
- file2: https://lutris.net/files/tools/innoextract.tar.gz
game:
  config_file: $GAMEDIR/dosboxDescent.conf
installer:
- extract:
    dst: $CACHE
    file: $file2
- execute:
    args: -d "$CACHE" "$file1"
    file: $CACHE/innoextract
- merge:
    dst: $GAMEDIR
    src: $CACHE/app
- merge:
    dst: $GAMEDIR/DOSBOX
    src: $GAMEDIR/dosboxDescent_single.conf
- write_config:
    file: $GAMEDIR/dosboxDescent.conf
    key: aspect
    section: render
    value: true
- write_config:
    file: $GAMEDIR/dosboxDescent.conf
    key: fullscreen
    section: sdl
    value: false
main_file: DOSBOX/dosboxDescent_single.conf
{
  "game": {
    "config_file": "$GAMEDIR/dosboxDescent.conf"
  },
  "installer": [
    {
      "extract": {
        "file": "$file2",
        "dst": "$CACHE"
      }
    },
    {
      "execute": {
        "file": "$CACHE/innoextract",
        "args": "-d \"$CACHE\" \"$file1\""
      }
    },
    {
      "merge": {
        "dst": "$GAMEDIR",
        "src": "$CACHE/app"
      }
    },
    {
      "merge": {
        "dst": "$GAMEDIR/DOSBOX",
        "src": "$GAMEDIR/dosboxDescent_single.conf"
      }
    },
    {
      "write_config": {
        "file": "$GAMEDIR/dosboxDescent.conf",
        "section": "render",
        "key": "aspect",
        "value": true
      }
    },
    {
      "write_config": {
        "file": "$GAMEDIR/dosboxDescent.conf",
        "section": "sdl",
        "key": "fullscreen",
        "value": false
      }
    }
  ],
  "files": [
    {
      "file1": "N/A:Please select the GOG installer"
    },
    {
      "file2": "https://lutris.net/files/tools/innoextract.tar.gz"
    }
  ],
  "main_file": "DOSBOX/dosboxDescent_single.conf"
}
Back to game