Installer ishar-legend-of-the-fortress-gog

files:
- installer: 'N/A:Select the GOG installer for Ishar: Legend of the Fortress'
- innoextract: https://lutris.nyc3.digitaloceanspaces.com/tools/innoextract/innoextract-1.8-dev-2019-01-13-linux.tar.xz
game:
  config_file: $GAMEDIR/dosboxishar1.conf
  game_id: ishar-legend-of-the-fortress
  main_file: $GAMEDIR/dosboxishar1_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/dosboxishar1.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/dosboxishar1.conf
    key: output
    section: sdl
    value: opengl
- write_config:
    file: $GAMEDIR/dosboxishar1.conf
    key: fullresolution
    section: sdl
    value: desktop
- write_config:
    file: $GAMEDIR/dosboxishar1.conf
    key: aspect
    section: render
    value: true
- write_config:
    file: $GAMEDIR/dosboxishar1.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/dosboxishar1_single.conf
description: Install the GOG version of the game, stripping out the unnecessary GOG
  DOSBox content.
game_slug: ishar-legend-of-the-fortress
gogslug: ishar_compilation
humblestoreid: ''
installer_slug: ishar-legend-of-the-fortress-gog
name: 'Ishar: Legend of the Fortress'
notes: Note that the game's language selection uses the number pad, not the normal
  number keys. Press Ctrl+F1 if you don't have a number pad to use DOSBox's keyboard
  mapper to create a mapping for the key you need.
runner: dosbox
script:
  files:
  - installer: 'N/A:Select the GOG installer for Ishar: Legend of the Fortress'
  - innoextract: https://lutris.nyc3.digitaloceanspaces.com/tools/innoextract/innoextract-1.8-dev-2019-01-13-linux.tar.xz
  game:
    config_file: $GAMEDIR/dosboxishar1.conf
    game_id: ishar-legend-of-the-fortress
    main_file: $GAMEDIR/dosboxishar1_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/dosboxishar1.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/dosboxishar1.conf
      key: output
      section: sdl
      value: opengl
  - write_config:
      file: $GAMEDIR/dosboxishar1.conf
      key: fullresolution
      section: sdl
      value: desktop
  - write_config:
      file: $GAMEDIR/dosboxishar1.conf
      key: aspect
      section: render
      value: true
  - write_config:
      file: $GAMEDIR/dosboxishar1.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/dosboxishar1_single.conf
slug: ishar-legend-of-the-fortress-gog
steamid: null
version: GOG
year: 1992
{
  "game_slug": "ishar-legend-of-the-fortress",
  "version": "GOG",
  "description": "Install the GOG version of the game, stripping out the unnecessary GOG DOSBox content.",
  "notes": "Note that the game's language selection uses the number pad, not the normal number keys. Press Ctrl+F1 if you don't have a number pad to use DOSBox's keyboard mapper to create a mapping for the key you need.",
  "name": "Ishar: Legend of the Fortress",
  "year": 1992,
  "steamid": null,
  "gogslug": "ishar_compilation",
  "humblestoreid": "",
  "runner": "dosbox",
  "slug": "ishar-legend-of-the-fortress-gog",
  "installer_slug": "ishar-legend-of-the-fortress-gog",
  "script": {
    "files": [
      {
        "installer": "N/A:Select the GOG installer for Ishar: Legend of the Fortress"
      },
      {
        "innoextract": "https://lutris.nyc3.digitaloceanspaces.com/tools/innoextract/innoextract-1.8-dev-2019-01-13-linux.tar.xz"
      }
    ],
    "game": {
      "config_file": "$GAMEDIR/dosboxishar1.conf",
      "game_id": "ishar-legend-of-the-fortress",
      "main_file": "$GAMEDIR/dosboxishar1_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/dosboxishar1.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/dosboxishar1.conf",
          "key": "output",
          "section": "sdl",
          "value": "opengl"
        }
      },
      {
        "write_config": {
          "file": "$GAMEDIR/dosboxishar1.conf",
          "key": "fullresolution",
          "section": "sdl",
          "value": "desktop"
        }
      },
      {
        "write_config": {
          "file": "$GAMEDIR/dosboxishar1.conf",
          "key": "aspect",
          "section": "render",
          "value": true
        }
      },
      {
        "write_config": {
          "file": "$GAMEDIR/dosboxishar1.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/dosboxishar1_single.conf"
        }
      }
    ]
  }
}
Back to game