Installer final-doom-gog

files:
- file1: N/A:Please select the GOG installer
- file2: https://github.com/dscharrer/innoextract/releases/download/1.8/innoextract-1.8-linux.tar.xz
game:
  config_file: $GAMEDIR/DOSBOX/dosbox_doomf.conf
  main_file: $GAMEDIR/DOSBOX/dosbox_doomf_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/dosbox_doomf_single.conf
- merge:
    dst: $GAMEDIR/DOSBOX
    src: $GAMEDIR/__support/app/dosbox_doomf.conf
- write_config:
    file: $GAMEDIR/DOSBOX/dosbox_doomf.conf
    key: aspect
    section: render
    value: true
- write_config:
    file: $GAMEDIR/DOSBOX/dosbox_doomf.conf
    key: output
    section: sdl
    value: overlay
- write_config:
    file: $GAMEDIR/DOSBOX/dosbox_doomf.conf
    key: fullscreen
    section: sdl
    value: false
- write_config:
    file: $GAMEDIR/DOSBOX/dosbox_doomf.conf
    key: fullresolution
    section: sdl
    value: 1920x1080
- write_config:
    file: $GAMEDIR/DOSBOX/dosbox_doomf.conf
    key: midiconfig
    section: midi
    value: '128:0'
description: ''
game_slug: final-doom
gogslug: doom_ii
humblestoreid: ''
installer_slug: final-doom-gog
name: Final Doom
notes: "Audio (MIDI and sound FX) should work without additional setup.\r\n\r\nTo\
  \ get better quality MIDI audio:\r\n   I - Configure --> Game Options --> Main File\
  \ --> Select 'dosbox_doomf_settings.conf'\r\n   II - Run the game and you'll start\
  \ the Setup\r\n   III - Press '1' for settings for TNT: Eviluition\r\n   IV - Choose\
  \ Music Card --> General MIDI --> 330\r\n   IV - Save Parameters and Launch Final\
  \ Doom\r\n   V - Exit game, run the game again and Press '2' for settings for Plutonia\
  \ Experiment\r\n   VI - Choose Music Card --> General MIDI --> 330\r\n   VII - Save\
  \ Parameters and Launch Final Doom\r\n   VIII - Exit game, Configure --> Game Options\
  \ --> Main File --> Select 'dosbox_doomf_single.conf'\r\n   IX - Need to install\
  \ fluid-soundfont-gm and fluidsynth.  For Mint 19:\r\nsudo apt install -y fluid-soundfont-gm\
  \ fluidsynth\r\n  X - 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  XI - Start the game."
runner: dosbox
script:
  files:
  - file1: N/A:Please select the GOG installer
  - file2: https://github.com/dscharrer/innoextract/releases/download/1.8/innoextract-1.8-linux.tar.xz
  game:
    config_file: $GAMEDIR/DOSBOX/dosbox_doomf.conf
    main_file: $GAMEDIR/DOSBOX/dosbox_doomf_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/dosbox_doomf_single.conf
  - merge:
      dst: $GAMEDIR/DOSBOX
      src: $GAMEDIR/__support/app/dosbox_doomf.conf
  - write_config:
      file: $GAMEDIR/DOSBOX/dosbox_doomf.conf
      key: aspect
      section: render
      value: true
  - write_config:
      file: $GAMEDIR/DOSBOX/dosbox_doomf.conf
      key: output
      section: sdl
      value: overlay
  - write_config:
      file: $GAMEDIR/DOSBOX/dosbox_doomf.conf
      key: fullscreen
      section: sdl
      value: false
  - write_config:
      file: $GAMEDIR/DOSBOX/dosbox_doomf.conf
      key: fullresolution
      section: sdl
      value: 1920x1080
  - write_config:
      file: $GAMEDIR/DOSBOX/dosbox_doomf.conf
      key: midiconfig
      section: midi
      value: '128:0'
slug: final-doom-gog
steamid: 2290
version: GOG
year: 1996
{
  "game_slug": "final-doom",
  "version": "GOG",
  "description": "",
  "notes": "Audio (MIDI and sound FX) should work without additional setup.\r\n\r\nTo get better quality MIDI audio:\r\n   I - Configure --> Game Options --> Main File --> Select 'dosbox_doomf_settings.conf'\r\n   II - Run the game and you'll start the Setup\r\n   III - Press '1' for settings for TNT: Eviluition\r\n   IV - Choose Music Card --> General MIDI --> 330\r\n   IV - Save Parameters and Launch Final Doom\r\n   V - Exit game, run the game again and Press '2' for settings for Plutonia Experiment\r\n   VI - Choose Music Card --> General MIDI --> 330\r\n   VII - Save Parameters and Launch Final Doom\r\n   VIII - Exit game, Configure --> Game Options --> Main File --> Select 'dosbox_doomf_single.conf'\r\n   IX - Need to install fluid-soundfont-gm and fluidsynth.  For Mint 19:\r\nsudo apt install -y fluid-soundfont-gm fluidsynth\r\n  X - 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  XI - Start the game.",
  "name": "Final Doom",
  "year": 1996,
  "steamid": 2290,
  "gogslug": "doom_ii",
  "humblestoreid": "",
  "runner": "dosbox",
  "slug": "final-doom-gog",
  "installer_slug": "final-doom-gog",
  "script": {
    "files": [
      {
        "file1": "N/A:Please select the GOG installer"
      },
      {
        "file2": "https://github.com/dscharrer/innoextract/releases/download/1.8/innoextract-1.8-linux.tar.xz"
      }
    ],
    "game": {
      "config_file": "$GAMEDIR/DOSBOX/dosbox_doomf.conf",
      "main_file": "$GAMEDIR/DOSBOX/dosbox_doomf_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/dosbox_doomf_single.conf"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/DOSBOX",
          "src": "$GAMEDIR/__support/app/dosbox_doomf.conf"
        }
      },
      {
        "write_config": {
          "file": "$GAMEDIR/DOSBOX/dosbox_doomf.conf",
          "key": "aspect",
          "section": "render",
          "value": true
        }
      },
      {
        "write_config": {
          "file": "$GAMEDIR/DOSBOX/dosbox_doomf.conf",
          "key": "output",
          "section": "sdl",
          "value": "overlay"
        }
      },
      {
        "write_config": {
          "file": "$GAMEDIR/DOSBOX/dosbox_doomf.conf",
          "key": "fullscreen",
          "section": "sdl",
          "value": false
        }
      },
      {
        "write_config": {
          "file": "$GAMEDIR/DOSBOX/dosbox_doomf.conf",
          "key": "fullresolution",
          "section": "sdl",
          "value": "1920x1080"
        }
      },
      {
        "write_config": {
          "file": "$GAMEDIR/DOSBOX/dosbox_doomf.conf",
          "key": "midiconfig",
          "section": "midi",
          "value": "128:0"
        }
      }
    ]
  }
}
Back to game