Installer ultima-underworld-ii-labyrint-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:
- game: N/A:Select the Windows installer for Ultima Underworld 1 and 2 provided by
    GOG
- innoextract: https://lutris.nyc3.digitaloceanspaces.com/tools/innoextract/innoextract-1.8-dev-2019-01-13-linux.tar.xz
- conf: https://lutris.net/files/games/ultima-underworld-ii-labyrinth-of-worlds/uuw2_conf.zip
game:
  config_file: $GAMEDIR/DOSBOX/dosboxULTIMA2.conf
installer:
- extract:
    dst: $CACHE
    file: $innoextract
- execute:
    args: -d "$CACHE" "$game"
    file: $CACHE/innoextract
- merge:
    dst: $GAMEDIR
    src: $CACHE
- merge:
    dst: $GAMEDIR/DOSBOX
    src: $GAMEDIR/__support/app/
- extract:
    dst: $GAMEDIR/DOSBOX
    file: $conf
- write_config:
    file: $GAMEDIR/DOSBOX/dosboxULTIMA2.conf
    key: output
    section: sdl
    value: opengl
- write_config:
    file: $GAMEDIR/DOSBOX/dosboxULTIMA2.conf
    key: fulldouble
    section: sdl
    value: false
- write_config:
    file: $GAMEDIR/DOSBOX/dosboxULTIMA2.conf
    key: fullresolution
    section: sdl
    value: 1920x1080
main_file: $GAMEDIR/DOSBOX/dosboxULTIMA2_single.conf
{
  "files": [
    {
      "game": "N/A:Select the Windows installer for Ultima Underworld 1 and 2 provided by GOG"
    },
    {
      "innoextract": "https://lutris.nyc3.digitaloceanspaces.com/tools/innoextract/innoextract-1.8-dev-2019-01-13-linux.tar.xz"
    },
    {
      "conf": "https://lutris.net/files/games/ultima-underworld-ii-labyrinth-of-worlds/uuw2_conf.zip"
    }
  ],
  "game": {
    "config_file": "$GAMEDIR/DOSBOX/dosboxULTIMA2.conf"
  },
  "installer": [
    {
      "extract": {
        "dst": "$CACHE",
        "file": "$innoextract"
      }
    },
    {
      "execute": {
        "args": "-d \"$CACHE\" \"$game\"",
        "file": "$CACHE/innoextract"
      }
    },
    {
      "merge": {
        "dst": "$GAMEDIR",
        "src": "$CACHE"
      }
    },
    {
      "merge": {
        "dst": "$GAMEDIR/DOSBOX",
        "src": "$GAMEDIR/__support/app/"
      }
    },
    {
      "extract": {
        "dst": "$GAMEDIR/DOSBOX",
        "file": "$conf"
      }
    },
    {
      "write_config": {
        "file": "$GAMEDIR/DOSBOX/dosboxULTIMA2.conf",
        "key": "output",
        "section": "sdl",
        "value": "opengl"
      }
    },
    {
      "write_config": {
        "file": "$GAMEDIR/DOSBOX/dosboxULTIMA2.conf",
        "key": "fulldouble",
        "section": "sdl",
        "value": false
      }
    },
    {
      "write_config": {
        "file": "$GAMEDIR/DOSBOX/dosboxULTIMA2.conf",
        "key": "fullresolution",
        "section": "sdl",
        "value": "1920x1080"
      }
    }
  ],
  "main_file": "$GAMEDIR/DOSBOX/dosboxULTIMA2_single.conf"
}
Back to game