Installer jade-empire-special-edition-gog

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
description: ''
game_slug: jade-empire-special-edition
gogslug: jade_empire_special_edition
humblestoreid: ''
installer_slug: jade-empire-special-edition-gog
name: 'Jade Empire: Special Edition'
notes: "If the game doesn't start, try alter the following items in JadeEmpire.ini:\r\
  \nWidescreen=1 # Enable Widescreen\r\nScrW=640 # Enter your screen Width\r\nScrH=480\
  \ # Enter your screen Height\r\n\r\nSource: https://www.gog.com/forum/jade_empire_special_edition/start_up_crash_problem_fix"
runner: wine
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
slug: jade-empire-special-edition-gog
steamid: 7110
version: GOG
year: 2007
{
  "game_slug": "jade-empire-special-edition",
  "version": "GOG",
  "description": "",
  "notes": "If the game doesn't start, try alter the following items in JadeEmpire.ini:\r\nWidescreen=1 # Enable Widescreen\r\nScrW=640 # Enter your screen Width\r\nScrH=480 # Enter your screen Height\r\n\r\nSource: https://www.gog.com/forum/jade_empire_special_edition/start_up_crash_problem_fix",
  "name": "Jade Empire: Special Edition",
  "year": 2007,
  "steamid": 7110,
  "gogslug": "jade_empire_special_edition",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "jade-empire-special-edition-gog",
  "installer_slug": "jade-empire-special-edition-gog",
  "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
        }
      }
    ]
  }
}
Back to game