Installer screamer-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/dosboxScreamer.conf
  main_file: DOSBOX/dosboxScreamer_single.conf
installer:
- extract:
    dst: $CACHE
    file: $file2
- execute:
    args: -d "$CACHE" "$file1"
    file: $CACHE/innoextract
- merge:
    dst: $GAMEDIR
    src: $CACHE/app
- merge:
    dst: $GAMEDIR/CONFIG
    src: $CACHE/CONFIG
- merge:
    dst: $GAMEDIR/DATA
    src: $CACHE/DATA
- merge:
    dst: $GAMEDIR/GFX
    src: $CACHE/GFX
- merge:
    dst: $GAMEDIR/REPLAYS
    src: $CACHE/REPLAYS
- merge:
    dst: $GAMEDIR/TABS
    src: $CACHE/TABS
- merge:
    dst: $GAMEDIR
    src: $CACHE/DOS4GW.EXE
- merge:
    dst: $GAMEDIR
    src: $CACHE/HMIDET.386
- merge:
    dst: $GAMEDIR
    src: $CACHE/HMIDRV.386
- merge:
    dst: $GAMEDIR
    src: $CACHE/README.TXT
- merge:
    dst: $GAMEDIR
    src: $CACHE/SCREAM.DAT
- merge:
    dst: $GAMEDIR
    src: $CACHE/SCREAM.gog
- merge:
    dst: $GAMEDIR
    src: $CACHE/SCREAMER.CFG
- merge:
    dst: $GAMEDIR
    src: $CACHE/SETUP.EXE
- merge:
    dst: $GAMEDIR
    src: $CACHE/STARTH.EXE
- merge:
    dst: $GAMEDIR
    src: $CACHE/STARTL.EXE
- merge:
    dst: $GAMEDIR/DOSBOX
    src: $CACHE/__support/app
- write_config:
    file: $GAMEDIR/DOSBOX/dosboxScreamer.conf
    key: aspect
    section: render
    value: true
- write_config:
    file: $GAMEDIR/DOSBOX/dosboxScreamer.conf
    key: fullscreen
    section: sdl
    value: false
- execute:
    command: cp "$GAMEDIR/DOSBOX/dosboxScreamer.conf" "$GAMEDIR/DOSBOX/dosboxScreamer_setup.conf"
- write_config:
    file: $GAMEDIR/DOSBOX/dosboxScreamer_setup.conf
    key: cycles
    section: cpu
    value: 20000
- write_file:
    content: '[ipx]

      # ipx -- Enable ipx over UDP/IP emulation.

      ipx=false


      [autoexec]

      # Lines in this section will be run at startup.

      @ECHO OFF

      mount C ".."

      imgmount d "C:/scream.dat" -t cdrom

      c:

      goto launcher


      :launcher

      cls

      ECHO ==============================

      ECHO SCREAMER

      ECHO ==============================

      ECHO 1) RUN GAME

      ECHO 2) SETUP

      ECHO ==============================

      ECHO 3) QUIT

      ECHO ==============================


      choice /c123 /s Make your choice: [1-3]: /n

      if errorlevel 3 goto exit

      if errorlevel 2 goto setup

      if errorlevel 1 goto screamer


      :screamer

      starth.exe

      goto exit


      :setup

      setup.exe

      goto exit


      :exit

      exit'
    file: $GAMEDIR/DOSBOX/dosboxScreamer_single.conf
description: Also adds DOS-based launcher menu to choose between the game and the
  setup program, as this is the only means to configure the game's controls (outside
  of DOSbox's own mapper, of course).
game_slug: screamer
gogslug: screamer
humblestoreid: ''
installer_slug: screamer-gog
name: Screamer
notes: "The game's controls can only be configured in a separate setup program rather\
  \ than ingame. However, the setup program will crash on startup if DOSBox is set\
  \ to max cycles. To get it to run correctly, 20000 seems to be ideal number.\r\n\
  \r\nTo make things a little easier for most users, you can change the configuration\
  \ file in Lutris from dosboxScreamer.conf to dosboxScreamer_setup.conf and then\
  \ access the setup program by selecting \"SETUP\" from the launch menu that appears\
  \ when DOSBox starts.\r\n\r\nDon't forget to switch the configuration file back\
  \ to dosboxScreamer.conf when you're done, though, or the main game will be stuck\
  \ on a black screen forever (or until you close DOSBox)."
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/dosboxScreamer.conf
    main_file: DOSBOX/dosboxScreamer_single.conf
  installer:
  - extract:
      dst: $CACHE
      file: $file2
  - execute:
      args: -d "$CACHE" "$file1"
      file: $CACHE/innoextract
  - merge:
      dst: $GAMEDIR
      src: $CACHE/app
  - merge:
      dst: $GAMEDIR/CONFIG
      src: $CACHE/CONFIG
  - merge:
      dst: $GAMEDIR/DATA
      src: $CACHE/DATA
  - merge:
      dst: $GAMEDIR/GFX
      src: $CACHE/GFX
  - merge:
      dst: $GAMEDIR/REPLAYS
      src: $CACHE/REPLAYS
  - merge:
      dst: $GAMEDIR/TABS
      src: $CACHE/TABS
  - merge:
      dst: $GAMEDIR
      src: $CACHE/DOS4GW.EXE
  - merge:
      dst: $GAMEDIR
      src: $CACHE/HMIDET.386
  - merge:
      dst: $GAMEDIR
      src: $CACHE/HMIDRV.386
  - merge:
      dst: $GAMEDIR
      src: $CACHE/README.TXT
  - merge:
      dst: $GAMEDIR
      src: $CACHE/SCREAM.DAT
  - merge:
      dst: $GAMEDIR
      src: $CACHE/SCREAM.gog
  - merge:
      dst: $GAMEDIR
      src: $CACHE/SCREAMER.CFG
  - merge:
      dst: $GAMEDIR
      src: $CACHE/SETUP.EXE
  - merge:
      dst: $GAMEDIR
      src: $CACHE/STARTH.EXE
  - merge:
      dst: $GAMEDIR
      src: $CACHE/STARTL.EXE
  - merge:
      dst: $GAMEDIR/DOSBOX
      src: $CACHE/__support/app
  - write_config:
      file: $GAMEDIR/DOSBOX/dosboxScreamer.conf
      key: aspect
      section: render
      value: true
  - write_config:
      file: $GAMEDIR/DOSBOX/dosboxScreamer.conf
      key: fullscreen
      section: sdl
      value: false
  - execute:
      command: cp "$GAMEDIR/DOSBOX/dosboxScreamer.conf" "$GAMEDIR/DOSBOX/dosboxScreamer_setup.conf"
  - write_config:
      file: $GAMEDIR/DOSBOX/dosboxScreamer_setup.conf
      key: cycles
      section: cpu
      value: 20000
  - write_file:
      content: '[ipx]

        # ipx -- Enable ipx over UDP/IP emulation.

        ipx=false


        [autoexec]

        # Lines in this section will be run at startup.

        @ECHO OFF

        mount C ".."

        imgmount d "C:/scream.dat" -t cdrom

        c:

        goto launcher


        :launcher

        cls

        ECHO ==============================

        ECHO SCREAMER

        ECHO ==============================

        ECHO 1) RUN GAME

        ECHO 2) SETUP

        ECHO ==============================

        ECHO 3) QUIT

        ECHO ==============================


        choice /c123 /s Make your choice: [1-3]: /n

        if errorlevel 3 goto exit

        if errorlevel 2 goto setup

        if errorlevel 1 goto screamer


        :screamer

        starth.exe

        goto exit


        :setup

        setup.exe

        goto exit


        :exit

        exit'
      file: $GAMEDIR/DOSBOX/dosboxScreamer_single.conf
slug: screamer-gog
steamid: 697580
version: GOG
year: 1995
{
  "game_slug": "screamer",
  "version": "GOG",
  "description": "Also adds DOS-based launcher menu to choose between the game and the setup program, as this is the only means to configure the game's controls (outside of DOSbox's own mapper, of course).",
  "notes": "The game's controls can only be configured in a separate setup program rather than ingame. However, the setup program will crash on startup if DOSBox is set to max cycles. To get it to run correctly, 20000 seems to be ideal number.\r\n\r\nTo make things a little easier for most users, you can change the configuration file in Lutris from dosboxScreamer.conf to dosboxScreamer_setup.conf and then access the setup program by selecting \"SETUP\" from the launch menu that appears when DOSBox starts.\r\n\r\nDon't forget to switch the configuration file back to dosboxScreamer.conf when you're done, though, or the main game will be stuck on a black screen forever (or until you close DOSBox).",
  "name": "Screamer",
  "year": 1995,
  "steamid": 697580,
  "gogslug": "screamer",
  "humblestoreid": "",
  "runner": "dosbox",
  "slug": "screamer-gog",
  "installer_slug": "screamer-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/dosboxScreamer.conf",
      "main_file": "DOSBOX/dosboxScreamer_single.conf"
    },
    "installer": [
      {
        "extract": {
          "dst": "$CACHE",
          "file": "$file2"
        }
      },
      {
        "execute": {
          "args": "-d \"$CACHE\" \"$file1\"",
          "file": "$CACHE/innoextract"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR",
          "src": "$CACHE/app"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/CONFIG",
          "src": "$CACHE/CONFIG"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/DATA",
          "src": "$CACHE/DATA"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/GFX",
          "src": "$CACHE/GFX"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/REPLAYS",
          "src": "$CACHE/REPLAYS"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/TABS",
          "src": "$CACHE/TABS"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR",
          "src": "$CACHE/DOS4GW.EXE"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR",
          "src": "$CACHE/HMIDET.386"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR",
          "src": "$CACHE/HMIDRV.386"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR",
          "src": "$CACHE/README.TXT"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR",
          "src": "$CACHE/SCREAM.DAT"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR",
          "src": "$CACHE/SCREAM.gog"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR",
          "src": "$CACHE/SCREAMER.CFG"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR",
          "src": "$CACHE/SETUP.EXE"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR",
          "src": "$CACHE/STARTH.EXE"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR",
          "src": "$CACHE/STARTL.EXE"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/DOSBOX",
          "src": "$CACHE/__support/app"
        }
      },
      {
        "write_config": {
          "file": "$GAMEDIR/DOSBOX/dosboxScreamer.conf",
          "key": "aspect",
          "section": "render",
          "value": true
        }
      },
      {
        "write_config": {
          "file": "$GAMEDIR/DOSBOX/dosboxScreamer.conf",
          "key": "fullscreen",
          "section": "sdl",
          "value": false
        }
      },
      {
        "execute": {
          "command": "cp \"$GAMEDIR/DOSBOX/dosboxScreamer.conf\" \"$GAMEDIR/DOSBOX/dosboxScreamer_setup.conf\""
        }
      },
      {
        "write_config": {
          "file": "$GAMEDIR/DOSBOX/dosboxScreamer_setup.conf",
          "key": "cycles",
          "section": "cpu",
          "value": 20000
        }
      },
      {
        "write_file": {
          "content": "[ipx]\n# ipx -- Enable ipx over UDP/IP emulation.\nipx=false\n\n[autoexec]\n# Lines in this section will be run at startup.\n@ECHO OFF\nmount C \"..\"\nimgmount d \"C:/scream.dat\" -t cdrom\nc:\ngoto launcher\n\n:launcher\ncls\nECHO ==============================\nECHO SCREAMER\nECHO ==============================\nECHO 1) RUN GAME\nECHO 2) SETUP\nECHO ==============================\nECHO 3) QUIT\nECHO ==============================\n\nchoice /c123 /s Make your choice: [1-3]: /n\nif errorlevel 3 goto exit\nif errorlevel 2 goto setup\nif errorlevel 1 goto screamer\n\n:screamer\nstarth.exe\ngoto exit\n\n:setup\nsetup.exe\ngoto exit\n\n:exit\nexit",
          "file": "$GAMEDIR/DOSBOX/dosboxScreamer_single.conf"
        }
      }
    ]
  }
}
Back to game