Installer baldurs-gate-the-original-sag-gog-native-gemrb

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.

exe: gemrb
files:
- game: N/A:Select the Linux installer downloaded from GOG
- unzip: http://lutris.net/files/tools/unzip.tar.gz
- gemrbengine: https://lutris.net/files/runners/gemrb-0.8.1-x64.tar.gz
game:
  args: -c baldurs-gate-1.cfg
installer:
- input_menu:
    description: Select the game's language (same as the version downloaded from GOG)
    id: FOLDER
    options:
    - Baldur's Gate: English
    - Baldur's Gate (French): French
    - Baldur's Gate (German): German
    - Baldur's Gate (Polish): Polish
    - Baldur's Gate (Russian): Russian
- extract:
    dst: $CACHE
    file: $unzip
- execute:
    args: $game -d "$GAMEDIR/tmp" "data/noarch/*"
    file: $CACHE/unzip
- extract:
    dst: $GAMEDIR
    file: gemrbengine
- move:
    dst: $GAMEDIR/baldurs-gate-1
    src: $GAMEDIR/tmp/data/noarch/prefix/drive_c/GOG Games/$INPUT_FOLDER
{
  "exe": "gemrb",
  "files": [
    {
      "game": "N/A:Select the Linux installer downloaded from GOG"
    },
    {
      "unzip": "http://lutris.net/files/tools/unzip.tar.gz"
    },
    {
      "gemrbengine": "https://lutris.net/files/runners/gemrb-0.8.1-x64.tar.gz"
    }
  ],
  "game": {
    "args": "-c baldurs-gate-1.cfg"
  },
  "installer": [
    {
      "input_menu": {
        "description": "Select the game's language (same as the version downloaded from GOG)",
        "id": "FOLDER",
        "options": [
          {
            "Baldur's Gate": "English"
          },
          {
            "Baldur's Gate (French)": "French"
          },
          {
            "Baldur's Gate (German)": "German"
          },
          {
            "Baldur's Gate (Polish)": "Polish"
          },
          {
            "Baldur's Gate (Russian)": "Russian"
          }
        ]
      }
    },
    {
      "extract": {
        "dst": "$CACHE",
        "file": "$unzip"
      }
    },
    {
      "execute": {
        "args": "$game -d \"$GAMEDIR/tmp\" \"data/noarch/*\"",
        "file": "$CACHE/unzip"
      }
    },
    {
      "extract": {
        "dst": "$GAMEDIR",
        "file": "gemrbengine"
      }
    },
    {
      "move": {
        "dst": "$GAMEDIR/baldurs-gate-1",
        "src": "$GAMEDIR/tmp/data/noarch/prefix/drive_c/GOG Games/$INPUT_FOLDER"
      }
    }
  ]
}
Back to game