Installer albion-gog

This script is for reference only and can't be directly used to install the game in the Lutris client. To install the game, download the full 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
{
  "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