Installer quest-for-glory-iii-wages-of-gog

files:
- file1: N/A:Please select the GOG installer
- file2: https://lutris.nyc3.digitaloceanspaces.com/tools/innoextract/innoextract-1.8-dev-2019-01-13-linux.tar.xz
game:
  config_file: $GAMEDIR/DOSBOX/dosboxQG3.conf
  main_file: $GAMEDIR/DOSBOX/dosboxQG3.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/dosboxQG3.conf
- merge:
    dst: $GAMEDIR/DOSBOX
    src: $GAMEDIR/dosboxQG3.conf
- write_config:
    file: $GAMEDIR/DOSBOX/dosboxQG3.conf
    key: aspect
    section: render
    value: true
- write_config:
    file: $GAMEDIR/DOSBOX/dosboxQG3.conf
    key: output
    section: sdl
    value: overlay
- write_config:
    file: $GAMEDIR/DOSBOX/dosboxQG3.conf
    key: fullscreen
    section: sdl
    value: false
- write_config:
    file: $GAMEDIR/DOSBOX/dosboxQG3.conf
    key: fullresolution
    section: sdl
    value: 1920x1080
- write_config:
    file: $GAMEDIR/DOSBOX/dosboxQG3.conf
    key: midiconfig
    section: midi
    value: '128:0'
- write_file:
    content: "[ipx]\n # ipx: Enable ipx over UDP/IP emulation.\n\n ipx=false\n\n\n\
      [autoexec]\n @echo off\n mount C \"..\n c:\n cls\n INSTALL.EXE\n cls\n exit"
    file: $GAMEDIR/DOSBOX/dosboxQG3_settings.conf
description: ''
game_slug: quest-for-glory-iii-wages-of-war
gogslug: quest_for_glory
humblestoreid: ''
installer_slug: quest-for-glory-iii-wages-of-gog
name: 'Quest For Glory III: Wages of War'
notes: "MIDI does not work without additional setup.\r\n\r\nTo get better quality\
  \ MIDI audio (might require additional packages):\r\n  I - Need to install fluid-soundfont-gm\
  \ and fluidsynth.  For Mint 19:\r\nsudo apt install -y fluid-soundfont-gm fluidsynth\r\
  \n  II - Open terminal and run the command (needs to be run each time you want to\
  \ play):\r\nfluidsynth -l -s -i -aalsa -o audio.alsa.device=default /usr/share/sounds/sf2/FluidR3_GM.sf2\r\
  \n  III - Start the game.\r\n\r\nTo get MIDI audio without additional packages:\r\
  \n   I - Configure --> Game Options --> Main File --> Select 'dosboxQG3_settings.conf'\r\
  \n   II - Run the game and you'll start the Setup\r\n   III - Choose Music --> Sound\
  \ Blaster / AdLib (or compatibles)\r\n   IV - Accept these choices and save configuration\r\
  \n   V - Configure --> Game Options --> Main File --> Select 'dosboxQG3_single.conf'\r\
  \n  VI - Start the game."
runner: dosbox
script:
  files:
  - file1: N/A:Please select the GOG installer
  - file2: https://lutris.nyc3.digitaloceanspaces.com/tools/innoextract/innoextract-1.8-dev-2019-01-13-linux.tar.xz
  game:
    config_file: $GAMEDIR/DOSBOX/dosboxQG3.conf
    main_file: $GAMEDIR/DOSBOX/dosboxQG3.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/dosboxQG3.conf
  - merge:
      dst: $GAMEDIR/DOSBOX
      src: $GAMEDIR/dosboxQG3.conf
  - write_config:
      file: $GAMEDIR/DOSBOX/dosboxQG3.conf
      key: aspect
      section: render
      value: true
  - write_config:
      file: $GAMEDIR/DOSBOX/dosboxQG3.conf
      key: output
      section: sdl
      value: overlay
  - write_config:
      file: $GAMEDIR/DOSBOX/dosboxQG3.conf
      key: fullscreen
      section: sdl
      value: false
  - write_config:
      file: $GAMEDIR/DOSBOX/dosboxQG3.conf
      key: fullresolution
      section: sdl
      value: 1920x1080
  - write_config:
      file: $GAMEDIR/DOSBOX/dosboxQG3.conf
      key: midiconfig
      section: midi
      value: '128:0'
  - write_file:
      content: "[ipx]\n # ipx: Enable ipx over UDP/IP emulation.\n\n ipx=false\n\n\
        \n[autoexec]\n @echo off\n mount C \"..\n c:\n cls\n INSTALL.EXE\n cls\n exit"
      file: $GAMEDIR/DOSBOX/dosboxQG3_settings.conf
slug: quest-for-glory-iii-wages-of-gog
steamid: 502750
version: GOG
year: 1992
{
  "game_slug": "quest-for-glory-iii-wages-of-war",
  "version": "GOG",
  "description": "",
  "notes": "MIDI does not work without additional setup.\r\n\r\nTo get better quality MIDI audio (might require additional packages):\r\n  I - Need to install fluid-soundfont-gm and fluidsynth.  For Mint 19:\r\nsudo apt install -y fluid-soundfont-gm fluidsynth\r\n  II - Open terminal and run the command (needs to be run each time you want to play):\r\nfluidsynth -l -s -i -aalsa -o audio.alsa.device=default /usr/share/sounds/sf2/FluidR3_GM.sf2\r\n  III - Start the game.\r\n\r\nTo get MIDI audio without additional packages:\r\n   I - Configure --> Game Options --> Main File --> Select 'dosboxQG3_settings.conf'\r\n   II - Run the game and you'll start the Setup\r\n   III - Choose Music --> Sound Blaster / AdLib (or compatibles)\r\n   IV - Accept these choices and save configuration\r\n   V - Configure --> Game Options --> Main File --> Select 'dosboxQG3_single.conf'\r\n  VI - Start the game.",
  "name": "Quest For Glory III: Wages of War",
  "year": 1992,
  "steamid": 502750,
  "gogslug": "quest_for_glory",
  "humblestoreid": "",
  "runner": "dosbox",
  "slug": "quest-for-glory-iii-wages-of-gog",
  "installer_slug": "quest-for-glory-iii-wages-of-gog",
  "script": {
    "files": [
      {
        "file1": "N/A:Please select the GOG installer"
      },
      {
        "file2": "https://lutris.nyc3.digitaloceanspaces.com/tools/innoextract/innoextract-1.8-dev-2019-01-13-linux.tar.xz"
      }
    ],
    "game": {
      "config_file": "$GAMEDIR/DOSBOX/dosboxQG3.conf",
      "main_file": "$GAMEDIR/DOSBOX/dosboxQG3.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/dosboxQG3.conf"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/DOSBOX",
          "src": "$GAMEDIR/dosboxQG3.conf"
        }
      },
      {
        "write_config": {
          "file": "$GAMEDIR/DOSBOX/dosboxQG3.conf",
          "key": "aspect",
          "section": "render",
          "value": true
        }
      },
      {
        "write_config": {
          "file": "$GAMEDIR/DOSBOX/dosboxQG3.conf",
          "key": "output",
          "section": "sdl",
          "value": "overlay"
        }
      },
      {
        "write_config": {
          "file": "$GAMEDIR/DOSBOX/dosboxQG3.conf",
          "key": "fullscreen",
          "section": "sdl",
          "value": false
        }
      },
      {
        "write_config": {
          "file": "$GAMEDIR/DOSBOX/dosboxQG3.conf",
          "key": "fullresolution",
          "section": "sdl",
          "value": "1920x1080"
        }
      },
      {
        "write_config": {
          "file": "$GAMEDIR/DOSBOX/dosboxQG3.conf",
          "key": "midiconfig",
          "section": "midi",
          "value": "128:0"
        }
      },
      {
        "write_file": {
          "content": "[ipx]\n # ipx: Enable ipx over UDP/IP emulation.\n\n ipx=false\n\n\n[autoexec]\n @echo off\n mount C \"..\n c:\n cls\n INSTALL.EXE\n cls\n exit",
          "file": "$GAMEDIR/DOSBOX/dosboxQG3_settings.conf"
        }
      }
    ]
  }
}
Back to game