Installer albion-gog

files:
- installer: "N/A:Select the GOG.com game setup file. Download it here: \nhttps://www.gog.com/downloads/albion/en1installer0\n"
- fileextract: https://lutris.nyc3.digitaloceanspaces.com/tools/innoextract/innoextract-1.8-dev-2019-01-13-linux.tar.xz
game:
  config_file: $GAMEDIR/dosbox_albion.conf
  game_id: albion
  main_file: $GAMEDIR/dosbox_albion_single.conf
installer:
- extract:
    description: Extracting innoextract application
    dst: $CACHE
    file: $fileextract
- execute:
    args: -d "$CACHE/game" "$installer"
    description: Extracting game data
    file: $CACHE/innoextract
- merge:
    dst: $GAMEDIR
    src: $CACHE/game
- move:
    dst: $GAMEDIR
    src: $GAMEDIR/__support/app/dosbox_albion.conf
- write_config:
    file: $GAMEDIR/dosbox_albion.conf
    key: output
    section: sdl
    value: opengl
- write_config:
    file: $GAMEDIR/dosbox_albion.conf
    key: fullresolution
    section: sdl
    value: desktop
- write_config:
    file: $GAMEDIR/dosbox_albion.conf
    key: aspect
    section: render
    value: true
- write_config:
    file: $GAMEDIR/dosbox_albion.conf
    key: scaler
    section: render
    value: normal2x
- write_file:
    content: '[ipx] ipx=false

      [autoexec]

      @echo off

      mount c .

      imgmount d game.ins -t iso -fs iso

      c:

      md SAVES

      md XLDLIBS\CURRENT

      COPY XLDLIBS\INITIAL XLDLIBS\CURRENT

      cls

      albion.exe

      exit

      '
    file: $GAMEDIR/dosbox_albion_single.conf
description: The DOSBox configuration is optimized for the best performance.
game_slug: albion
gogslug: albion
humblestoreid: ''
installer_slug: albion-gog
name: Albion
notes: ''
runner: dosbox
script:
  files:
  - installer: "N/A:Select the GOG.com game setup file. Download it here: \nhttps://www.gog.com/downloads/albion/en1installer0\n"
  - fileextract: https://lutris.nyc3.digitaloceanspaces.com/tools/innoextract/innoextract-1.8-dev-2019-01-13-linux.tar.xz
  game:
    config_file: $GAMEDIR/dosbox_albion.conf
    game_id: albion
    main_file: $GAMEDIR/dosbox_albion_single.conf
  installer:
  - extract:
      description: Extracting innoextract application
      dst: $CACHE
      file: $fileextract
  - execute:
      args: -d "$CACHE/game" "$installer"
      description: Extracting game data
      file: $CACHE/innoextract
  - merge:
      dst: $GAMEDIR
      src: $CACHE/game
  - move:
      dst: $GAMEDIR
      src: $GAMEDIR/__support/app/dosbox_albion.conf
  - write_config:
      file: $GAMEDIR/dosbox_albion.conf
      key: output
      section: sdl
      value: opengl
  - write_config:
      file: $GAMEDIR/dosbox_albion.conf
      key: fullresolution
      section: sdl
      value: desktop
  - write_config:
      file: $GAMEDIR/dosbox_albion.conf
      key: aspect
      section: render
      value: true
  - write_config:
      file: $GAMEDIR/dosbox_albion.conf
      key: scaler
      section: render
      value: normal2x
  - write_file:
      content: '[ipx] ipx=false

        [autoexec]

        @echo off

        mount c .

        imgmount d game.ins -t iso -fs iso

        c:

        md SAVES

        md XLDLIBS\CURRENT

        COPY XLDLIBS\INITIAL XLDLIBS\CURRENT

        cls

        albion.exe

        exit

        '
      file: $GAMEDIR/dosbox_albion_single.conf
slug: albion-gog
steamid: null
version: GOG
year: 1995
{
  "game_slug": "albion",
  "version": "GOG",
  "description": "The DOSBox configuration is optimized for the best performance.",
  "notes": "",
  "name": "Albion",
  "year": 1995,
  "steamid": null,
  "gogslug": "albion",
  "humblestoreid": "",
  "runner": "dosbox",
  "slug": "albion-gog",
  "installer_slug": "albion-gog",
  "script": {
    "files": [
      {
        "installer": "N/A:Select the GOG.com game setup file. Download it here: \nhttps://www.gog.com/downloads/albion/en1installer0\n"
      },
      {
        "fileextract": "https://lutris.nyc3.digitaloceanspaces.com/tools/innoextract/innoextract-1.8-dev-2019-01-13-linux.tar.xz"
      }
    ],
    "game": {
      "config_file": "$GAMEDIR/dosbox_albion.conf",
      "game_id": "albion",
      "main_file": "$GAMEDIR/dosbox_albion_single.conf"
    },
    "installer": [
      {
        "extract": {
          "description": "Extracting innoextract application",
          "dst": "$CACHE",
          "file": "$fileextract"
        }
      },
      {
        "execute": {
          "args": "-d \"$CACHE/game\" \"$installer\"",
          "description": "Extracting game data",
          "file": "$CACHE/innoextract"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR",
          "src": "$CACHE/game"
        }
      },
      {
        "move": {
          "dst": "$GAMEDIR",
          "src": "$GAMEDIR/__support/app/dosbox_albion.conf"
        }
      },
      {
        "write_config": {
          "file": "$GAMEDIR/dosbox_albion.conf",
          "key": "output",
          "section": "sdl",
          "value": "opengl"
        }
      },
      {
        "write_config": {
          "file": "$GAMEDIR/dosbox_albion.conf",
          "key": "fullresolution",
          "section": "sdl",
          "value": "desktop"
        }
      },
      {
        "write_config": {
          "file": "$GAMEDIR/dosbox_albion.conf",
          "key": "aspect",
          "section": "render",
          "value": true
        }
      },
      {
        "write_config": {
          "file": "$GAMEDIR/dosbox_albion.conf",
          "key": "scaler",
          "section": "render",
          "value": "normal2x"
        }
      },
      {
        "write_file": {
          "content": "[ipx] ipx=false\n[autoexec]\n@echo off\nmount c .\nimgmount d game.ins -t iso -fs iso\nc:\nmd SAVES\nmd XLDLIBS\\CURRENT\nCOPY XLDLIBS\\INITIAL XLDLIBS\\CURRENT\ncls\nalbion.exe\nexit\n",
          "file": "$GAMEDIR/dosbox_albion_single.conf"
        }
      }
    ]
  }
}
Back to game