Installer quest-for-glory-iv-shadows-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/dosboxQG4.conf
  main_file: $GAMEDIR/DOSBOX/dosboxQG4_single.conf
installer:
- extract:
    dst: $CACHE
    file: $file2
- execute:
    args: -d "$CACHE" "$file1"
    file: $CACHE/innoextract
- merge:
    dst: $GAMEDIR
    src: $CACHE
- merge:
    dst: $GAMEDIR/DOSBOX
    src: $GAMEDIR/__support/app/dosboxQG4_single.conf
- merge:
    dst: $GAMEDIR/DOSBOX
    src: $GAMEDIR/__support/app/dosboxQG4.conf
- write_config:
    file: $GAMEDIR/DOSBOX/dosboxQG4.conf
    key: aspect
    section: render
    value: true
- write_config:
    file: $GAMEDIR/DOSBOX/dosboxQG4.conf
    key: output
    section: sdl
    value: overlay
- write_config:
    file: $GAMEDIR/DOSBOX/dosboxQG4.conf
    key: fullscreen
    section: sdl
    value: false
- write_config:
    file: $GAMEDIR/DOSBOX/dosboxQG4.conf
    key: fullresolution
    section: sdl
    value: 1920x1080
- write_config:
    file: $GAMEDIR/DOSBOX/dosboxQG4.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/dosboxQG4_settings.conf
description: ''
game_slug: quest-for-glory-iv-shadows-of-darkness
gogslug: quest_for_glory
humblestoreid: ''
installer_slug: quest-for-glory-iv-shadows-of-gog
name: 'Quest For Glory IV: Shadows of Darkness'
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 'dosboxQG4_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 'dosboxQG4_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/dosboxQG4.conf
    main_file: $GAMEDIR/DOSBOX/dosboxQG4_single.conf
  installer:
  - extract:
      dst: $CACHE
      file: $file2
  - execute:
      args: -d "$CACHE" "$file1"
      file: $CACHE/innoextract
  - merge:
      dst: $GAMEDIR
      src: $CACHE
  - merge:
      dst: $GAMEDIR/DOSBOX
      src: $GAMEDIR/__support/app/dosboxQG4_single.conf
  - merge:
      dst: $GAMEDIR/DOSBOX
      src: $GAMEDIR/__support/app/dosboxQG4.conf
  - write_config:
      file: $GAMEDIR/DOSBOX/dosboxQG4.conf
      key: aspect
      section: render
      value: true
  - write_config:
      file: $GAMEDIR/DOSBOX/dosboxQG4.conf
      key: output
      section: sdl
      value: overlay
  - write_config:
      file: $GAMEDIR/DOSBOX/dosboxQG4.conf
      key: fullscreen
      section: sdl
      value: false
  - write_config:
      file: $GAMEDIR/DOSBOX/dosboxQG4.conf
      key: fullresolution
      section: sdl
      value: 1920x1080
  - write_config:
      file: $GAMEDIR/DOSBOX/dosboxQG4.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/dosboxQG4_settings.conf
slug: quest-for-glory-iv-shadows-of-gog
steamid: 502750
version: GOG
year: 1993
{
  "game_slug": "quest-for-glory-iv-shadows-of-darkness",
  "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 'dosboxQG4_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 'dosboxQG4_single.conf'\r\n  VI - Start the game.",
  "name": "Quest For Glory IV: Shadows of Darkness",
  "year": 1993,
  "steamid": 502750,
  "gogslug": "quest_for_glory",
  "humblestoreid": "",
  "runner": "dosbox",
  "slug": "quest-for-glory-iv-shadows-of-gog",
  "installer_slug": "quest-for-glory-iv-shadows-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/dosboxQG4.conf",
      "main_file": "$GAMEDIR/DOSBOX/dosboxQG4_single.conf"
    },
    "installer": [
      {
        "extract": {
          "dst": "$CACHE",
          "file": "$file2"
        }
      },
      {
        "execute": {
          "args": "-d \"$CACHE\" \"$file1\"",
          "file": "$CACHE/innoextract"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR",
          "src": "$CACHE"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/DOSBOX",
          "src": "$GAMEDIR/__support/app/dosboxQG4_single.conf"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/DOSBOX",
          "src": "$GAMEDIR/__support/app/dosboxQG4.conf"
        }
      },
      {
        "write_config": {
          "file": "$GAMEDIR/DOSBOX/dosboxQG4.conf",
          "key": "aspect",
          "section": "render",
          "value": true
        }
      },
      {
        "write_config": {
          "file": "$GAMEDIR/DOSBOX/dosboxQG4.conf",
          "key": "output",
          "section": "sdl",
          "value": "overlay"
        }
      },
      {
        "write_config": {
          "file": "$GAMEDIR/DOSBOX/dosboxQG4.conf",
          "key": "fullscreen",
          "section": "sdl",
          "value": false
        }
      },
      {
        "write_config": {
          "file": "$GAMEDIR/DOSBOX/dosboxQG4.conf",
          "key": "fullresolution",
          "section": "sdl",
          "value": "1920x1080"
        }
      },
      {
        "write_config": {
          "file": "$GAMEDIR/DOSBOX/dosboxQG4.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/dosboxQG4_settings.conf"
        }
      }
    ]
  }
}
Back to game