Installer ultima-underworld-the-stygian-gog

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
description: ''
game_slug: ultima-underworld-the-stygian-abyss
gogslug: ultima_underworld_1_2
humblestoreid: ''
installer_slug: ultima-underworld-the-stygian-gog
name: 'Ultima Underworld: The Stygian Abyss'
notes: "- Tested with GOG installer version: setup_ultima_underworld_1.0_cs_(28190).exe\r\
  \n- Fixed music not playing\r\n- Keyboard layout image included in the game's folder."
runner: dosbox
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
slug: ultima-underworld-the-stygian-gog
steamid: null
version: GOG
year: 1992
{
  "game_slug": "ultima-underworld-the-stygian-abyss",
  "version": "GOG",
  "description": "",
  "notes": "- Tested with GOG installer version: setup_ultima_underworld_1.0_cs_(28190).exe\r\n- Fixed music not playing\r\n- Keyboard layout image included in the game's folder.",
  "name": "Ultima Underworld: The Stygian Abyss",
  "year": 1992,
  "steamid": null,
  "gogslug": "ultima_underworld_1_2",
  "humblestoreid": "",
  "runner": "dosbox",
  "slug": "ultima-underworld-the-stygian-gog",
  "installer_slug": "ultima-underworld-the-stygian-gog",
  "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\n\n2 7 220 1 speech\n\n0 cuts\n",
          "file": "$GAMEDIR/UNDEROM1/DATA/UW.CFG"
        }
      }
    ]
  }
}
Back to game