Installer ishar-2-messengers-of-doom-gog

files:
- installer: 'N/A:Select the GOG installer for Ishar 2: Messengers of Doom'
- innoextract: https://lutris.nyc3.digitaloceanspaces.com/tools/innoextract/innoextract-1.8-dev-2019-01-13-linux.tar.xz
game:
  config_file: $GAMEDIR/dosboxishar2.conf
  game_id: ishar-2-messengers-of-doom
  main_file: $GAMEDIR/dosboxishar2_single.conf
installer:
- extract:
    description: Extracting innoextract application
    dst: $CACHE
    file: $innoextract
- execute:
    args: -d "$GAMEDIR" "$installer"
    description: Extracting game data
    file: $CACHE/bin/amd64/innoextract
- move:
    dst: $GAMEDIR
    src: $GAMEDIR/__support/app/dosboxishar2.conf
- execute:
    args: -r $GAMEDIR/app
    file: rm
- execute:
    args: -r $GAMEDIR/commonappdata
    file: rm
- execute:
    args: -r $GAMEDIR/DOSBOX
    file: rm
- execute:
    args: -r $GAMEDIR/__redist
    file: rm
- execute:
    args: -r $GAMEDIR/__support
    file: rm
- execute:
    args: -r $GAMEDIR/tmp
    file: rm
- write_config:
    file: $GAMEDIR/dosboxishar2.conf
    key: output
    section: sdl
    value: opengl
- write_config:
    file: $GAMEDIR/dosboxishar2.conf
    key: fullresolution
    section: sdl
    value: desktop
- write_config:
    file: $GAMEDIR/dosboxishar2.conf
    key: aspect
    section: render
    value: true
- write_config:
    file: $GAMEDIR/dosboxishar2.conf
    key: scaler
    section: render
    value: normal2x
- write_file:
    content: '[ipx] ipx=false

      [autoexec]

      @echo off

      mount c .

      c:

      cls

      start.exe

      exit

      '
    file: $GAMEDIR/dosboxishar2_single.conf
description: Install the GOG version of the game, stripping the unnecessary GOG content.
game_slug: ishar-2-messengers-of-doom
gogslug: ishar_compilation
humblestoreid: ''
installer_slug: ishar-2-messengers-of-doom-gog
name: 'Ishar 2: Messengers of Doom'
notes: The language selection uses the number pad rather than normal number keys.
  If your keyboard does not have a number pad, press Ctrl+F1 to use DOSBox's remapper
  to create a mapping for the number you need.
runner: dosbox
script:
  files:
  - installer: 'N/A:Select the GOG installer for Ishar 2: Messengers of Doom'
  - innoextract: https://lutris.nyc3.digitaloceanspaces.com/tools/innoextract/innoextract-1.8-dev-2019-01-13-linux.tar.xz
  game:
    config_file: $GAMEDIR/dosboxishar2.conf
    game_id: ishar-2-messengers-of-doom
    main_file: $GAMEDIR/dosboxishar2_single.conf
  installer:
  - extract:
      description: Extracting innoextract application
      dst: $CACHE
      file: $innoextract
  - execute:
      args: -d "$GAMEDIR" "$installer"
      description: Extracting game data
      file: $CACHE/bin/amd64/innoextract
  - move:
      dst: $GAMEDIR
      src: $GAMEDIR/__support/app/dosboxishar2.conf
  - execute:
      args: -r $GAMEDIR/app
      file: rm
  - execute:
      args: -r $GAMEDIR/commonappdata
      file: rm
  - execute:
      args: -r $GAMEDIR/DOSBOX
      file: rm
  - execute:
      args: -r $GAMEDIR/__redist
      file: rm
  - execute:
      args: -r $GAMEDIR/__support
      file: rm
  - execute:
      args: -r $GAMEDIR/tmp
      file: rm
  - write_config:
      file: $GAMEDIR/dosboxishar2.conf
      key: output
      section: sdl
      value: opengl
  - write_config:
      file: $GAMEDIR/dosboxishar2.conf
      key: fullresolution
      section: sdl
      value: desktop
  - write_config:
      file: $GAMEDIR/dosboxishar2.conf
      key: aspect
      section: render
      value: true
  - write_config:
      file: $GAMEDIR/dosboxishar2.conf
      key: scaler
      section: render
      value: normal2x
  - write_file:
      content: '[ipx] ipx=false

        [autoexec]

        @echo off

        mount c .

        c:

        cls

        start.exe

        exit

        '
      file: $GAMEDIR/dosboxishar2_single.conf
slug: ishar-2-messengers-of-doom-gog
steamid: null
version: GOG
year: 1993
{
  "game_slug": "ishar-2-messengers-of-doom",
  "version": "GOG",
  "description": "Install the GOG version of the game, stripping the unnecessary GOG content.",
  "notes": "The language selection uses the number pad rather than normal number keys. If your keyboard does not have a number pad, press Ctrl+F1 to use DOSBox's remapper to create a mapping for the number you need.",
  "name": "Ishar 2: Messengers of Doom",
  "year": 1993,
  "steamid": null,
  "gogslug": "ishar_compilation",
  "humblestoreid": "",
  "runner": "dosbox",
  "slug": "ishar-2-messengers-of-doom-gog",
  "installer_slug": "ishar-2-messengers-of-doom-gog",
  "script": {
    "files": [
      {
        "installer": "N/A:Select the GOG installer for Ishar 2: Messengers of Doom"
      },
      {
        "innoextract": "https://lutris.nyc3.digitaloceanspaces.com/tools/innoextract/innoextract-1.8-dev-2019-01-13-linux.tar.xz"
      }
    ],
    "game": {
      "config_file": "$GAMEDIR/dosboxishar2.conf",
      "game_id": "ishar-2-messengers-of-doom",
      "main_file": "$GAMEDIR/dosboxishar2_single.conf"
    },
    "installer": [
      {
        "extract": {
          "description": "Extracting innoextract application",
          "dst": "$CACHE",
          "file": "$innoextract"
        }
      },
      {
        "execute": {
          "args": "-d \"$GAMEDIR\" \"$installer\"",
          "description": "Extracting game data",
          "file": "$CACHE/bin/amd64/innoextract"
        }
      },
      {
        "move": {
          "dst": "$GAMEDIR",
          "src": "$GAMEDIR/__support/app/dosboxishar2.conf"
        }
      },
      {
        "execute": {
          "args": "-r $GAMEDIR/app",
          "file": "rm"
        }
      },
      {
        "execute": {
          "args": "-r $GAMEDIR/commonappdata",
          "file": "rm"
        }
      },
      {
        "execute": {
          "args": "-r $GAMEDIR/DOSBOX",
          "file": "rm"
        }
      },
      {
        "execute": {
          "args": "-r $GAMEDIR/__redist",
          "file": "rm"
        }
      },
      {
        "execute": {
          "args": "-r $GAMEDIR/__support",
          "file": "rm"
        }
      },
      {
        "execute": {
          "args": "-r $GAMEDIR/tmp",
          "file": "rm"
        }
      },
      {
        "write_config": {
          "file": "$GAMEDIR/dosboxishar2.conf",
          "key": "output",
          "section": "sdl",
          "value": "opengl"
        }
      },
      {
        "write_config": {
          "file": "$GAMEDIR/dosboxishar2.conf",
          "key": "fullresolution",
          "section": "sdl",
          "value": "desktop"
        }
      },
      {
        "write_config": {
          "file": "$GAMEDIR/dosboxishar2.conf",
          "key": "aspect",
          "section": "render",
          "value": true
        }
      },
      {
        "write_config": {
          "file": "$GAMEDIR/dosboxishar2.conf",
          "key": "scaler",
          "section": "render",
          "value": "normal2x"
        }
      },
      {
        "write_file": {
          "content": "[ipx] ipx=false\n[autoexec]\n@echo off\nmount c .\nc:\ncls\nstart.exe\nexit\n",
          "file": "$GAMEDIR/dosboxishar2_single.conf"
        }
      }
    ]
  }
}
Back to game