Installer ultima-iv-quest-of-the-avatar-gog

custom-name: Ultima IV - Quest of the Avatar - GOG - DOSBox
files:
- patch: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Ultima%20IV%20-%20Quest%20of%20the%20Avatar/u4upgrad.zip
- inno: http://constexpr.org/innoextract/files/snapshots/innoextract-1.8-dev-2019-01-13/innoextract-1.8-dev-2019-01-13-linux.tar.xz
- gamesetup: N/A:Please select the Windows setup exe file downloaded from your GOG
    account.
game:
  config_file: $GAMEDIR/dosbox_conf/dosboxULTIMA4.conf
  main_file: dosbox_conf/dosboxULTIMA4_single.conf
installer:
- extract:
    dst: $CACHE
    file: inno
- execute:
    args: -d "$GAMEDIR" "$gamesetup"
    file: $CACHE/innoextract
- merge:
    dst: $GAMEDIR/
    src: $GAMEDIR/__support/save/
- merge:
    dst: $GAMEDIR/dosbox_conf
    src: $GAMEDIR/__support/app
- extract:
    dst: $GAMEDIR
    src: patch
- task:
    executable: $GAMEDIR/SETUP.BAT
    name: dosexec
- execute:
    command: cd "$GAMEDIR"; rm -f -r app/ commonappdata/ DOSBOX/ __redist/ __support/
      tmp/ goggame-1207658962.*; cd dosbox_conf; sed -i -e 's/fullscreen=true/fullscreen=false/g'
      -e 's/fulldouble=false/fulldouble=true/g' -e 's/output=overlay/output=opengl/g'
      -e 's/aspect=.*/aspect=true/g' -e 's/mididevice=default/mididevice=none/g' -e
      's/mapperfile=mapper-0.74-2.map/# mapperfile=mapper-0.74-2.map/g' dosboxULTIMA4.conf;
description: "\"Ultima IV - Quest of the Avatar\" GOG edition with DOSBox runner.\r\
  \nThis script uses Ultima IV Upgrade Patch project: http://www.moongates.com/u4/upgrade/Upgrade.htm"
game_slug: ultima-iv-quest-of-the-avatar
gogslug: ultima_4
humblestoreid: ''
installer_slug: ultima-iv-quest-of-the-avatar-gog
name: 'Ultima IV: Quest of the Avatar'
notes: "- With Ultima IV Upgrade Patch 1.3\r\n- Keys: \"Alt+V\": music on/off - \"\
  Ctrl+F9\" to quit."
runner: dosbox
script:
  custom-name: Ultima IV - Quest of the Avatar - GOG - DOSBox
  files:
  - patch: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Ultima%20IV%20-%20Quest%20of%20the%20Avatar/u4upgrad.zip
  - inno: http://constexpr.org/innoextract/files/snapshots/innoextract-1.8-dev-2019-01-13/innoextract-1.8-dev-2019-01-13-linux.tar.xz
  - gamesetup: N/A:Please select the Windows setup exe file downloaded from your GOG
      account.
  game:
    config_file: $GAMEDIR/dosbox_conf/dosboxULTIMA4.conf
    main_file: dosbox_conf/dosboxULTIMA4_single.conf
  installer:
  - extract:
      dst: $CACHE
      file: inno
  - execute:
      args: -d "$GAMEDIR" "$gamesetup"
      file: $CACHE/innoextract
  - merge:
      dst: $GAMEDIR/
      src: $GAMEDIR/__support/save/
  - merge:
      dst: $GAMEDIR/dosbox_conf
      src: $GAMEDIR/__support/app
  - extract:
      dst: $GAMEDIR
      src: patch
  - task:
      executable: $GAMEDIR/SETUP.BAT
      name: dosexec
  - execute:
      command: cd "$GAMEDIR"; rm -f -r app/ commonappdata/ DOSBOX/ __redist/ __support/
        tmp/ goggame-1207658962.*; cd dosbox_conf; sed -i -e 's/fullscreen=true/fullscreen=false/g'
        -e 's/fulldouble=false/fulldouble=true/g' -e 's/output=overlay/output=opengl/g'
        -e 's/aspect=.*/aspect=true/g' -e 's/mididevice=default/mididevice=none/g'
        -e 's/mapperfile=mapper-0.74-2.map/# mapperfile=mapper-0.74-2.map/g' dosboxULTIMA4.conf;
slug: ultima-iv-quest-of-the-avatar-gog
steamid: null
version: GOG
year: 1985
{
  "game_slug": "ultima-iv-quest-of-the-avatar",
  "version": "GOG",
  "description": "\"Ultima IV - Quest of the Avatar\" GOG edition with DOSBox runner.\r\nThis script uses Ultima IV Upgrade Patch project: http://www.moongates.com/u4/upgrade/Upgrade.htm",
  "notes": "- With Ultima IV Upgrade Patch 1.3\r\n- Keys: \"Alt+V\": music on/off - \"Ctrl+F9\" to quit.",
  "name": "Ultima IV: Quest of the Avatar",
  "year": 1985,
  "steamid": null,
  "gogslug": "ultima_4",
  "humblestoreid": "",
  "runner": "dosbox",
  "slug": "ultima-iv-quest-of-the-avatar-gog",
  "installer_slug": "ultima-iv-quest-of-the-avatar-gog",
  "script": {
    "custom-name": "Ultima IV - Quest of the Avatar - GOG - DOSBox",
    "files": [
      {
        "patch": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Ultima%20IV%20-%20Quest%20of%20the%20Avatar/u4upgrad.zip"
      },
      {
        "inno": "http://constexpr.org/innoextract/files/snapshots/innoextract-1.8-dev-2019-01-13/innoextract-1.8-dev-2019-01-13-linux.tar.xz"
      },
      {
        "gamesetup": "N/A:Please select the Windows setup exe file downloaded from your GOG account."
      }
    ],
    "game": {
      "config_file": "$GAMEDIR/dosbox_conf/dosboxULTIMA4.conf",
      "main_file": "dosbox_conf/dosboxULTIMA4_single.conf"
    },
    "installer": [
      {
        "extract": {
          "dst": "$CACHE",
          "file": "inno"
        }
      },
      {
        "execute": {
          "args": "-d \"$GAMEDIR\" \"$gamesetup\"",
          "file": "$CACHE/innoextract"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/",
          "src": "$GAMEDIR/__support/save/"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/dosbox_conf",
          "src": "$GAMEDIR/__support/app"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR",
          "src": "patch"
        }
      },
      {
        "task": {
          "executable": "$GAMEDIR/SETUP.BAT",
          "name": "dosexec"
        }
      },
      {
        "execute": {
          "command": "cd \"$GAMEDIR\"; rm -f -r app/ commonappdata/ DOSBOX/ __redist/ __support/ tmp/ goggame-1207658962.*; cd dosbox_conf; sed -i -e 's/fullscreen=true/fullscreen=false/g' -e 's/fulldouble=false/fulldouble=true/g' -e 's/output=overlay/output=opengl/g' -e 's/aspect=.*/aspect=true/g' -e 's/mididevice=default/mididevice=none/g' -e 's/mapperfile=mapper-0.74-2.map/# mapperfile=mapper-0.74-2.map/g' dosboxULTIMA4.conf;"
        }
      }
    ]
  }
}
Back to game