Installer ultima-underworld-the-stygian-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:
- installer: "N/A:Select the GOG.com game setup file. Download it here: \nhttps://www.gog.com/downloads/ultima_underworld_1/en1installer0\n"
- fileextract: https://lutris.nyc3.digitaloceanspaces.com/tools/innoextract/innoextract-1.8-dev-2019-01-13-linux.tar.xz
game:
  config_file: $GAMEDIR/dosboxULTIMA1.conf
  game_id: ultima-underworld-the-stygian-abyss
  main_file: $GAMEDIR/dosboxULTIMA1_single.conf
installer:
- extract:
    description: Extracting innoextract application
    dst: $CACHE
    file: $fileextract
- execute:
    args: -d "$CACHE/game" "$installer"
    description: Extracting game data
    file: $CACHE/innoextract
- merge:
    dst: $GAMEDIR
    src: $CACHE/game
- move:
    dst: $GAMEDIR
    src: $GAMEDIR/__support/app/dosboxULTIMA1.conf
- move:
    dst: $GAMEDIR
    src: $GAMEDIR/__support/app/dosboxULTIMA1_single.conf
- write_config:
    file: $GAMEDIR/dosboxULTIMA1.conf
    key: output
    section: sdl
    value: opengl
- write_config:
    file: $GAMEDIR/dosboxULTIMA1.conf
    key: fulldouble
    section: sdl
    value: true
- write_config:
    file: $GAMEDIR/dosboxULTIMA1.conf
    key: fullresolution
    section: sdl
    value: desktop
- write_config:
    file: $GAMEDIR/dosboxULTIMA1.conf
    key: aspect
    section: render
    value: true
- write_config:
    file: $GAMEDIR/dosboxULTIMA1.conf
    key: scaler
    section: render
    value: normal2x
- write_file:
    content: "[ipx] ipx=false\n[autoexec]\nmount c \".\"\nimgmount d game.gog -t iso\
      \ -fs iso\nd: \nuw.bat\nexit\n"
    file: $GAMEDIR/dosboxULTIMA1_single.conf
- write_file:
    content: '4 7 220 1 sound


      2 7 220 1 speech


      0 cuts

      '
    file: $GAMEDIR/UNDEROM1/DATA/UW.CFG
{
  "files": [
    {
      "installer": "N/A:Select the GOG.com game setup file. Download it here: \nhttps://www.gog.com/downloads/ultima_underworld_1/en1installer0\n"
    },
    {
      "fileextract": "https://lutris.nyc3.digitaloceanspaces.com/tools/innoextract/innoextract-1.8-dev-2019-01-13-linux.tar.xz"
    }
  ],
  "game": {
    "config_file": "$GAMEDIR/dosboxULTIMA1.conf",
    "game_id": "ultima-underworld-the-stygian-abyss",
    "main_file": "$GAMEDIR/dosboxULTIMA1_single.conf"
  },
  "installer": [
    {
      "extract": {
        "description": "Extracting innoextract application",
        "dst": "$CACHE",
        "file": "$fileextract"
      }
    },
    {
      "execute": {
        "args": "-d \"$CACHE/game\" \"$installer\"",
        "description": "Extracting game data",
        "file": "$CACHE/innoextract"
      }
    },
    {
      "merge": {
        "dst": "$GAMEDIR",
        "src": "$CACHE/game"
      }
    },
    {
      "move": {
        "dst": "$GAMEDIR",
        "src": "$GAMEDIR/__support/app/dosboxULTIMA1.conf"
      }
    },
    {
      "move": {
        "dst": "$GAMEDIR",
        "src": "$GAMEDIR/__support/app/dosboxULTIMA1_single.conf"
      }
    },
    {
      "write_config": {
        "file": "$GAMEDIR/dosboxULTIMA1.conf",
        "key": "output",
        "section": "sdl",
        "value": "opengl"
      }
    },
    {
      "write_config": {
        "file": "$GAMEDIR/dosboxULTIMA1.conf",
        "key": "fulldouble",
        "section": "sdl",
        "value": true
      }
    },
    {
      "write_config": {
        "file": "$GAMEDIR/dosboxULTIMA1.conf",
        "key": "fullresolution",
        "section": "sdl",
        "value": "desktop"
      }
    },
    {
      "write_config": {
        "file": "$GAMEDIR/dosboxULTIMA1.conf",
        "key": "aspect",
        "section": "render",
        "value": true
      }
    },
    {
      "write_config": {
        "file": "$GAMEDIR/dosboxULTIMA1.conf",
        "key": "scaler",
        "section": "render",
        "value": "normal2x"
      }
    },
    {
      "write_file": {
        "content": "[ipx] ipx=false\n[autoexec]\nmount c \".\"\nimgmount d game.gog -t iso -fs iso\nd: \nuw.bat\nexit\n",
        "file": "$GAMEDIR/dosboxULTIMA1_single.conf"
      }
    },
    {
      "write_file": {
        "content": "4 7 220 1 sound\n\n2 7 220 1 speech\n\n0 cuts\n",
        "file": "$GAMEDIR/UNDEROM1/DATA/UW.CFG"
      }
    }
  ]
}
Back to game