Installer star-wars-knights-of-the-old-gog-ws-patch-hd-mods

custom-name: Star Wars - Knights of the Old Republic - GOG
files:
- gogsetup: N/A:Please select the exe setup file downloaded from your GOG account.
- inno: https://constexpr.org/innoextract/files/innoextract-1.9/innoextract-1.9-linux.tar.xz
- script: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Star%20Wars%20-%20Knights%20of%20the%20Old%20Republic/clean.sh
game:
  arch: win64
  exe: drive_c/GOG Games/Star Wars - KotOR/swkotor.exe
  prefix: $GAMEDIR
installer:
- task:
    arch: win64
    install_gecko: false
    install_mono: false
    name: create_prefix
    prefix: $GAMEDIR
- extract:
    dst: $CACHE/innoextract
    file: inno
- execute:
    args: --extract --gog $gogsetup --output-dir "$CACHE/Star Wars - KotOR/"
    file: $CACHE/innoextract/innoextract
- merge:
    dst: $GAMEDIR/drive_c/GOG Games/Star Wars - KotOR/
    src: $CACHE/Star Wars - KotOR/
- copy:
    dst: $GAMEDIR/drive_c/GOG Games/Star Wars - KotOR/
    src: $GAMEDIR/drive_c/GOG Games/Star Wars - KotOR/__support/app/swkotor.ini
- chmodx: script
- execute:
    args: $RESOLUTION_WIDTH $RESOLUTION_HEIGHT
    file: script
- task:
    arch: win64
    key: background
    name: set_regedit
    path: HKEY_CURRENT_USER\Control Panel\Colors\
    prefix: $GAMEDIR
    type: REG_SZ
    value: 0 0 0
wine:
  Desktop: true
  dxvk: false
description: '"Star Wars - Knights of the Old Republic" provided by GOG using Lutris
  Wine runner.'
game_slug: star-wars-knights-of-the-old-republic
gogslug: star_wars_knights_of_the_old_republic
humblestoreid: ''
installer_slug: star-wars-knights-of-the-old-gog-ws-patch-hd-mods
name: 'Star Wars: Knights of the Old Republic'
notes: "- This script is optimized ONLY for 1920x1080 resolution\r\n- Widescreen patch\
  \ and HD mods included"
runner: wine
script:
  custom-name: Star Wars - Knights of the Old Republic - GOG
  files:
  - gogsetup: N/A:Please select the exe setup file downloaded from your GOG account.
  - inno: https://constexpr.org/innoextract/files/innoextract-1.9/innoextract-1.9-linux.tar.xz
  - script: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Star%20Wars%20-%20Knights%20of%20the%20Old%20Republic/clean.sh
  game:
    arch: win64
    exe: drive_c/GOG Games/Star Wars - KotOR/swkotor.exe
    prefix: $GAMEDIR
  installer:
  - task:
      arch: win64
      install_gecko: false
      install_mono: false
      name: create_prefix
      prefix: $GAMEDIR
  - extract:
      dst: $CACHE/innoextract
      file: inno
  - execute:
      args: --extract --gog $gogsetup --output-dir "$CACHE/Star Wars - KotOR/"
      file: $CACHE/innoextract/innoextract
  - merge:
      dst: $GAMEDIR/drive_c/GOG Games/Star Wars - KotOR/
      src: $CACHE/Star Wars - KotOR/
  - copy:
      dst: $GAMEDIR/drive_c/GOG Games/Star Wars - KotOR/
      src: $GAMEDIR/drive_c/GOG Games/Star Wars - KotOR/__support/app/swkotor.ini
  - chmodx: script
  - execute:
      args: $RESOLUTION_WIDTH $RESOLUTION_HEIGHT
      file: script
  - task:
      arch: win64
      key: background
      name: set_regedit
      path: HKEY_CURRENT_USER\Control Panel\Colors\
      prefix: $GAMEDIR
      type: REG_SZ
      value: 0 0 0
  wine:
    Desktop: true
    dxvk: false
slug: star-wars-knights-of-the-old-gog-ws-patch-hd-mods
steamid: 32370
version: GOG WS patch + HD mods 1920x1080
year: 2003
{
  "game_slug": "star-wars-knights-of-the-old-republic",
  "version": "GOG WS patch + HD mods 1920x1080",
  "description": "\"Star Wars - Knights of the Old Republic\" provided by GOG using Lutris Wine runner.",
  "notes": "- This script is optimized ONLY for 1920x1080 resolution\r\n- Widescreen patch and HD mods included",
  "name": "Star Wars: Knights of the Old Republic",
  "year": 2003,
  "steamid": 32370,
  "gogslug": "star_wars_knights_of_the_old_republic",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "star-wars-knights-of-the-old-gog-ws-patch-hd-mods",
  "installer_slug": "star-wars-knights-of-the-old-gog-ws-patch-hd-mods",
  "script": {
    "custom-name": "Star Wars - Knights of the Old Republic - GOG",
    "files": [
      {
        "gogsetup": "N/A:Please select the exe setup file downloaded from your GOG account."
      },
      {
        "inno": "https://constexpr.org/innoextract/files/innoextract-1.9/innoextract-1.9-linux.tar.xz"
      },
      {
        "script": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Star%20Wars%20-%20Knights%20of%20the%20Old%20Republic/clean.sh"
      }
    ],
    "game": {
      "arch": "win64",
      "exe": "drive_c/GOG Games/Star Wars - KotOR/swkotor.exe",
      "prefix": "$GAMEDIR"
    },
    "installer": [
      {
        "task": {
          "arch": "win64",
          "install_gecko": false,
          "install_mono": false,
          "name": "create_prefix",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "extract": {
          "dst": "$CACHE/innoextract",
          "file": "inno"
        }
      },
      {
        "execute": {
          "args": "--extract --gog $gogsetup --output-dir \"$CACHE/Star Wars - KotOR/\"",
          "file": "$CACHE/innoextract/innoextract"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/drive_c/GOG Games/Star Wars - KotOR/",
          "src": "$CACHE/Star Wars - KotOR/"
        }
      },
      {
        "copy": {
          "dst": "$GAMEDIR/drive_c/GOG Games/Star Wars - KotOR/",
          "src": "$GAMEDIR/drive_c/GOG Games/Star Wars - KotOR/__support/app/swkotor.ini"
        }
      },
      {
        "chmodx": "script"
      },
      {
        "execute": {
          "args": "$RESOLUTION_WIDTH $RESOLUTION_HEIGHT",
          "file": "script"
        }
      },
      {
        "task": {
          "arch": "win64",
          "key": "background",
          "name": "set_regedit",
          "path": "HKEY_CURRENT_USER\\Control Panel\\Colors\\",
          "prefix": "$GAMEDIR",
          "type": "REG_SZ",
          "value": "0 0 0"
        }
      }
    ],
    "wine": {
      "Desktop": true,
      "dxvk": false
    }
  }
}
Back to game