Installer planescape-torment-gog-native-gemrb

files:
- game: N/A:Select the Linux installer downloaded from GOG
- gemrbengine: https://lutris.net/files/runners/gemrb-0.8.1-x64.tar.gz
game:
  args: -c planescape-torment.cfg
  exe: gemrb
installer:
- input_menu:
    description: Select the game's language (same as the version downloaded from GOG)
    id: FOLDER
    options:
    - Planescape Torment: English
    - Planescape Torment (German): Deutsch
    - Planescape Torment (French): "Fran\xE7ais"
    - Planescape Torment (Polish): Polski
- extract:
    dst: $GAMEDIR
    file: $game
- extract:
    dst: $GAMEDIR
    file: gemrbengine
- move:
    dst: $GAMEDIR/planescape-torment
    src: $GAMEDIR/tmp/data/noarch/prefix/drive_c/GOG Games/$INPUT_FOLDER
- write_file:
    content: 'GameName=Planescape: Torment

      GameType=pst

      GamePath=./planescape-torment

      CD1=./planescape-torment/data/

      Fullscreen=1

      Width=640

      Height=480

      Bpp=32

      TooltipDelay=500

      GUIEnhancements=15

      GemRBPath=.

      GUIScriptsPath=.

      CachePath=./Cache

      SavePath=~/.local/share/planescape-torment/'
    file: $GAMEDIR/planescape-torment.cfg
description: GOG version run with the GemRB libre engine. (gemrb.org)
game_slug: planescape-torment
gogslug: planescape_torment_enhanced_edition
humblestoreid: ''
installer_slug: planescape-torment-gog-native-gemrb
name: 'Planescape: Torment'
notes: ''
runner: linux
script:
  files:
  - game: N/A:Select the Linux installer downloaded from GOG
  - gemrbengine: https://lutris.net/files/runners/gemrb-0.8.1-x64.tar.gz
  game:
    args: -c planescape-torment.cfg
    exe: gemrb
  installer:
  - input_menu:
      description: Select the game's language (same as the version downloaded from
        GOG)
      id: FOLDER
      options:
      - Planescape Torment: English
      - Planescape Torment (German): Deutsch
      - Planescape Torment (French): "Fran\xE7ais"
      - Planescape Torment (Polish): Polski
  - extract:
      dst: $GAMEDIR
      file: $game
  - extract:
      dst: $GAMEDIR
      file: gemrbengine
  - move:
      dst: $GAMEDIR/planescape-torment
      src: $GAMEDIR/tmp/data/noarch/prefix/drive_c/GOG Games/$INPUT_FOLDER
  - write_file:
      content: 'GameName=Planescape: Torment

        GameType=pst

        GamePath=./planescape-torment

        CD1=./planescape-torment/data/

        Fullscreen=1

        Width=640

        Height=480

        Bpp=32

        TooltipDelay=500

        GUIEnhancements=15

        GemRBPath=.

        GUIScriptsPath=.

        CachePath=./Cache

        SavePath=~/.local/share/planescape-torment/'
      file: $GAMEDIR/planescape-torment.cfg
slug: planescape-torment-gog-native-gemrb
steamid: null
version: GOG - Native (GemRB)
year: 1999
{
  "game_slug": "planescape-torment",
  "version": "GOG - Native (GemRB)",
  "description": "GOG version run with the GemRB libre engine. (gemrb.org)",
  "notes": "",
  "name": "Planescape: Torment",
  "year": 1999,
  "steamid": null,
  "gogslug": "planescape_torment_enhanced_edition",
  "humblestoreid": "",
  "runner": "linux",
  "slug": "planescape-torment-gog-native-gemrb",
  "installer_slug": "planescape-torment-gog-native-gemrb",
  "script": {
    "files": [
      {
        "game": "N/A:Select the Linux installer downloaded from GOG"
      },
      {
        "gemrbengine": "https://lutris.net/files/runners/gemrb-0.8.1-x64.tar.gz"
      }
    ],
    "game": {
      "args": "-c planescape-torment.cfg",
      "exe": "gemrb"
    },
    "installer": [
      {
        "input_menu": {
          "description": "Select the game's language (same as the version downloaded from GOG)",
          "id": "FOLDER",
          "options": [
            {
              "Planescape Torment": "English"
            },
            {
              "Planescape Torment (German)": "Deutsch"
            },
            {
              "Planescape Torment (French)": "Fran\u00e7ais"
            },
            {
              "Planescape Torment (Polish)": "Polski"
            }
          ]
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR",
          "file": "$game"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR",
          "file": "gemrbengine"
        }
      },
      {
        "move": {
          "dst": "$GAMEDIR/planescape-torment",
          "src": "$GAMEDIR/tmp/data/noarch/prefix/drive_c/GOG Games/$INPUT_FOLDER"
        }
      },
      {
        "write_file": {
          "content": "GameName=Planescape: Torment\nGameType=pst\nGamePath=./planescape-torment\nCD1=./planescape-torment/data/\nFullscreen=1\nWidth=640\nHeight=480\nBpp=32\nTooltipDelay=500\nGUIEnhancements=15\nGemRBPath=.\nGUIScriptsPath=.\nCachePath=./Cache\nSavePath=~/.local/share/planescape-torment/",
          "file": "$GAMEDIR/planescape-torment.cfg"
        }
      }
    ]
  }
}
Back to game