Installer jade-empire-special-edition-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:
- setup: N/A:Select "Jade Empire" setup files
- innoextract: https://constexpr.org/innoextract/files/innoextract-1.7-linux.tar.xz
game:
  exe: $GAMEDIR/drive_c/GOG Games/Jade Empire/JadeEmpire.exe
  prefix: $GAMEDIR
installer:
- extract:
    dst: $CACHE/tmp/innoextract
    file: innoextract
- execute:
    args: --gog -d "$CACHE" setup
    description: Extracting game data
    file: $CACHE/tmp/innoextract/innoextract
- move:
    description: Moving game data
    dst: $GAMEDIR/drive_c/GOG Games/Jade Empire
    src: $CACHE/app
- task:
    arch: win64
    key: csmt
    name: set_regedit
    path: HKEY_CURRENT_USER\Software\Wine\Direct3D
    prefix: $GAMEDIR
    type: REG_DWORD
    value: '00000000'
- write_config:
    file: $GAMEDIR/drive_c/GOG Games/Jade Empire/JadeEmpire.ini
    key: Windowed
    section: Render
    value: 1
- write_config:
    file: $GAMEDIR/drive_c/GOG Games/Jade Empire/JadeEmpire.ini
    key: Widescreen
    section: Render
    value: 1
{
  "files": [
    {
      "setup": "N/A:Select \"Jade Empire\" setup files"
    },
    {
      "innoextract": "https://constexpr.org/innoextract/files/innoextract-1.7-linux.tar.xz"
    }
  ],
  "game": {
    "exe": "$GAMEDIR/drive_c/GOG Games/Jade Empire/JadeEmpire.exe",
    "prefix": "$GAMEDIR"
  },
  "installer": [
    {
      "extract": {
        "dst": "$CACHE/tmp/innoextract",
        "file": "innoextract"
      }
    },
    {
      "execute": {
        "args": "--gog -d \"$CACHE\" setup",
        "description": "Extracting game data",
        "file": "$CACHE/tmp/innoextract/innoextract"
      }
    },
    {
      "move": {
        "description": "Moving game data",
        "dst": "$GAMEDIR/drive_c/GOG Games/Jade Empire",
        "src": "$CACHE/app"
      }
    },
    {
      "task": {
        "arch": "win64",
        "key": "csmt",
        "name": "set_regedit",
        "path": "HKEY_CURRENT_USER\\Software\\Wine\\Direct3D",
        "prefix": "$GAMEDIR",
        "type": "REG_DWORD",
        "value": "00000000"
      }
    },
    {
      "write_config": {
        "file": "$GAMEDIR/drive_c/GOG Games/Jade Empire/JadeEmpire.ini",
        "key": "Windowed",
        "section": "Render",
        "value": 1
      }
    },
    {
      "write_config": {
        "file": "$GAMEDIR/drive_c/GOG Games/Jade Empire/JadeEmpire.ini",
        "key": "Widescreen",
        "section": "Render",
        "value": 1
      }
    }
  ]
}
Back to game