Installer might-and-magic-book-one-the-gog

files:
- gogsetup: N/A:Select GOG's setup file
- inno: https://lutris.nyc3.digitaloceanspaces.com/tools/innoextract/innoextract-1.8-dev-2019-01-13-linux.tar.xz
game:
  config_file: $GAMEDIR/dosbox_conf/dosboxMM1.conf
  gogid: 1207661203
  main_file: $GAMEDIR/dosbox_conf/dosboxMM1_single.conf
installer:
- extract:
    dst: $CACHE
    file: inno
- execute:
    args: -d "$GAMEDIR" "$gogsetup"
    file: $CACHE/innoextract
- merge:
    dst: $GAMEDIR/dosbox_conf
    src: $GAMEDIR/__support/app
- copy:
    dst: $GAMEDIR
    src: $GAMEDIR/__support/save/ROSTER.DTA
- execute:
    command: cd "$GAMEDIR"; sed -i '/overlay/d' dosbox_conf/dosboxMM1_single.conf;
      sed -i 's=mount C.*=mount C $GAMEDIR=' dosbox_conf/dosboxMM1_single.conf; rm
      -f -r app commonappdata DOSBOX __redist __support tmp goggame-$gogid.*
description: Play "Might and Magic 1 - Book I" provided by GOG on Linux
game_slug: might-and-magic-book-one-the-secret-of-the-inner-sanctum
gogslug: might_and_magic_6_limited_edition
humblestoreid: ''
installer_slug: might-and-magic-book-one-the-gog
name: 'Might and Magic: Book One - The Secret of the Inner Sanctum'
notes: "missing ROSTER.DTA press enter bug fix\r\ntested with dosbox and dosbox-staging"
runner: dosbox
script:
  files:
  - gogsetup: N/A:Select GOG's setup file
  - inno: https://lutris.nyc3.digitaloceanspaces.com/tools/innoextract/innoextract-1.8-dev-2019-01-13-linux.tar.xz
  game:
    config_file: $GAMEDIR/dosbox_conf/dosboxMM1.conf
    gogid: 1207661203
    main_file: $GAMEDIR/dosbox_conf/dosboxMM1_single.conf
  installer:
  - extract:
      dst: $CACHE
      file: inno
  - execute:
      args: -d "$GAMEDIR" "$gogsetup"
      file: $CACHE/innoextract
  - merge:
      dst: $GAMEDIR/dosbox_conf
      src: $GAMEDIR/__support/app
  - copy:
      dst: $GAMEDIR
      src: $GAMEDIR/__support/save/ROSTER.DTA
  - execute:
      command: cd "$GAMEDIR"; sed -i '/overlay/d' dosbox_conf/dosboxMM1_single.conf;
        sed -i 's=mount C.*=mount C $GAMEDIR=' dosbox_conf/dosboxMM1_single.conf;
        rm -f -r app commonappdata DOSBOX __redist __support tmp goggame-$gogid.*
slug: might-and-magic-book-one-the-gog
steamid: null
version: GOG
year: 1986
{
  "game_slug": "might-and-magic-book-one-the-secret-of-the-inner-sanctum",
  "version": "GOG",
  "description": "Play \"Might and Magic 1 - Book I\" provided by GOG on Linux",
  "notes": "missing ROSTER.DTA press enter bug fix\r\ntested with dosbox and dosbox-staging",
  "name": "Might and Magic: Book One - The Secret of the Inner Sanctum",
  "year": 1986,
  "steamid": null,
  "gogslug": "might_and_magic_6_limited_edition",
  "humblestoreid": "",
  "runner": "dosbox",
  "slug": "might-and-magic-book-one-the-gog",
  "installer_slug": "might-and-magic-book-one-the-gog",
  "script": {
    "files": [
      {
        "gogsetup": "N/A:Select GOG's setup file"
      },
      {
        "inno": "https://lutris.nyc3.digitaloceanspaces.com/tools/innoextract/innoextract-1.8-dev-2019-01-13-linux.tar.xz"
      }
    ],
    "game": {
      "config_file": "$GAMEDIR/dosbox_conf/dosboxMM1.conf",
      "gogid": 1207661203,
      "main_file": "$GAMEDIR/dosbox_conf/dosboxMM1_single.conf"
    },
    "installer": [
      {
        "extract": {
          "dst": "$CACHE",
          "file": "inno"
        }
      },
      {
        "execute": {
          "args": "-d \"$GAMEDIR\" \"$gogsetup\"",
          "file": "$CACHE/innoextract"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/dosbox_conf",
          "src": "$GAMEDIR/__support/app"
        }
      },
      {
        "copy": {
          "dst": "$GAMEDIR",
          "src": "$GAMEDIR/__support/save/ROSTER.DTA"
        }
      },
      {
        "execute": {
          "command": "cd \"$GAMEDIR\"; sed -i '/overlay/d' dosbox_conf/dosboxMM1_single.conf; sed -i 's=mount C.*=mount C $GAMEDIR=' dosbox_conf/dosboxMM1_single.conf; rm -f -r app commonappdata DOSBOX __redist __support tmp goggame-$gogid.*"
        }
      }
    ]
  }
}
Back to game