Installer star-wars-knights-of-the-old-gog-k1cp-widescreen

files:
- installer: N/A:Select the game's setup file
- kotor1_community_patch: N/A:Download the KOTOR1 Community Patch from https://deadlystream.com/files/file/1258-kotor-1-community-patch
    and select it
- uniws: https://www.wsgf.org/downloads/uniws.zip
- hud_corrections: 'N/A:Download Star Wars: Knights of the Old Republic HUD Corrections
    from https://community.pcgamingwiki.com/files/file/2044-star-wars-knights-of-the-old-republic-hud-corrections/
    and select it'
- widescreen_cockpit_and_racing_track_on_manaan: N/A:Download Widescreen Cockpit and
    Racing Track on Manaan from https://www.nexusmods.com/kotor/mods/1211 and select
    it
- ai_upscaled_cutscenes: N/A:Download KotOR 1 Remastered (AI Upscaled) Cutscenes for
    your desired resolution from https://www.nexusmods.com/kotor/mods/1306 and select
    it
- widescreen_fade_fix: N/A:Download KOTOR Widescreen Fade Fix from https://deadlystream.com/files/file/1792-kotor-widescreen-fade-fix/
    and select it
game:
  exe: $GAMEDIR/drive_c/GOG Games/Star Wars - KotOR/swkotor.exe
  prefix: $GAMEDIR
installer:
- input_menu:
    description: 'Choose resolution for the widescreen fade fix:'
    id: WIDESCREEN_FADE_FIX_RESOLUTION
    options:
    - 1440x900: 1440x900
    - 1530x864: 1530x864
    - 1680x1050: 1680x1050
    - 1920x1080: 1920x1080
    - 1920x1200: 1920x1200
    - 2048x1152 - Thanks to Dirtnose: 2048x1152
    - 2560x1440: 2560x1440
    - 2560x1600: 2560x1600
    - 3440x1440: 3440x1440
    - 3840x2160: 3840x2160 (4K)
- task:
    args: /NOGUI /SILENT /SUPPRESSMSGBOXES
    executable: installer
    name: wineexec
- extract:
    dst: $CACHE/kotor1_community_patch
    file: kotor1_community_patch
- task:
    description: Select the path 'C:\GOG Games\Star Wars - KotOR' and click Install.
      Close the patcher after the process completes.
    executable: $CACHE/kotor1_community_patch/INSTALL.exe
    name: wineexec
- extract:
    dst: $GAMEDIR
    file: uniws
- task:
    description: 'Select "Star Wars: KOTOR (1024x768 interface)" from the dropdown.
      Hit "Find It For Me..." Then input your desired resolution above 1440x900. You
      selected $INPUT_WIDESCREEN_FADE_FIX_RESOLUTION for the widescreen fade fix.
      Hit Patch. Then close the patcher.'
    executable: $GAMEDIR/uniws.exe
    name: wineexec
- extract:
    dst: $GAMEDIR/drive_c/GOG Games/Star Wars - KotOR/Override
    file: hud_corrections
- extract:
    dst: $GAMEDIR/drive_c/GOG Games/Star Wars - KotOR/Override
    file: widescreen_cockpit_and_racing_track_on_manaan
- extract:
    dst: $GAMEDIR/drive_c/GOG Games/Star Wars - KotOR/movies
    file: ai_upscaled_cutscenes
- extract:
    dst: $CACHE/widescreen_fade_fix
    file: widescreen_fade_fix
- copy:
    dst: $GAMEDIR/drive_c/GOG Games/Star Wars - KotOR/Override
    src: $CACHE/widescreen_fade_fix/$INPUT_WIDESCREEN_FADE_FIX_RESOLUTION
system:
  gamescope_game_res: $RESOLUTION
  gamescope_output_res: $RESOLUTION
description: ''
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-k1cp-widescreen
name: 'Star Wars: Knights of the Old Republic'
notes: "When installing, use the provided links to download the mods.\r\nTwo mods\
  \ are from Nexus Mods and require a free account to download.\r\nAfter installation,\
  \ open the game's graphics options.\r\nSelect Screen Resolution.\r\nFirst, select\
  \ the resolution 1024x768.\r\nHit Okay.\r\nSelect Screen Resolution again.\r\nSelect\
  \ your desired resolution.\r\nHit Okay to apply the resolution.\r\nWidescreen mods\
  \ are installed according to the instructions documented in PCGamingWiki: https://www.pcgamingwiki.com/wiki/Star_Wars:_Knights_of_the_Old_Republic#Widescreen_resolution\r\
  \nNote that Gamescope requires setting the game and output resolutions. The installer\
  \ sets these automatically for the game from your system's resolution at the time\
  \ of the installation."
runner: wine
script:
  files:
  - installer: N/A:Select the game's setup file
  - kotor1_community_patch: N/A:Download the KOTOR1 Community Patch from https://deadlystream.com/files/file/1258-kotor-1-community-patch
      and select it
  - uniws: https://www.wsgf.org/downloads/uniws.zip
  - hud_corrections: 'N/A:Download Star Wars: Knights of the Old Republic HUD Corrections
      from https://community.pcgamingwiki.com/files/file/2044-star-wars-knights-of-the-old-republic-hud-corrections/
      and select it'
  - widescreen_cockpit_and_racing_track_on_manaan: N/A:Download Widescreen Cockpit
      and Racing Track on Manaan from https://www.nexusmods.com/kotor/mods/1211 and
      select it
  - ai_upscaled_cutscenes: N/A:Download KotOR 1 Remastered (AI Upscaled) Cutscenes
      for your desired resolution from https://www.nexusmods.com/kotor/mods/1306 and
      select it
  - widescreen_fade_fix: N/A:Download KOTOR Widescreen Fade Fix from https://deadlystream.com/files/file/1792-kotor-widescreen-fade-fix/
      and select it
  game:
    exe: $GAMEDIR/drive_c/GOG Games/Star Wars - KotOR/swkotor.exe
    prefix: $GAMEDIR
  installer:
  - input_menu:
      description: 'Choose resolution for the widescreen fade fix:'
      id: WIDESCREEN_FADE_FIX_RESOLUTION
      options:
      - 1440x900: 1440x900
      - 1530x864: 1530x864
      - 1680x1050: 1680x1050
      - 1920x1080: 1920x1080
      - 1920x1200: 1920x1200
      - 2048x1152 - Thanks to Dirtnose: 2048x1152
      - 2560x1440: 2560x1440
      - 2560x1600: 2560x1600
      - 3440x1440: 3440x1440
      - 3840x2160: 3840x2160 (4K)
  - task:
      args: /NOGUI /SILENT /SUPPRESSMSGBOXES
      executable: installer
      name: wineexec
  - extract:
      dst: $CACHE/kotor1_community_patch
      file: kotor1_community_patch
  - task:
      description: Select the path 'C:\GOG Games\Star Wars - KotOR' and click Install.
        Close the patcher after the process completes.
      executable: $CACHE/kotor1_community_patch/INSTALL.exe
      name: wineexec
  - extract:
      dst: $GAMEDIR
      file: uniws
  - task:
      description: 'Select "Star Wars: KOTOR (1024x768 interface)" from the dropdown.
        Hit "Find It For Me..." Then input your desired resolution above 1440x900.
        You selected $INPUT_WIDESCREEN_FADE_FIX_RESOLUTION for the widescreen fade
        fix. Hit Patch. Then close the patcher.'
      executable: $GAMEDIR/uniws.exe
      name: wineexec
  - extract:
      dst: $GAMEDIR/drive_c/GOG Games/Star Wars - KotOR/Override
      file: hud_corrections
  - extract:
      dst: $GAMEDIR/drive_c/GOG Games/Star Wars - KotOR/Override
      file: widescreen_cockpit_and_racing_track_on_manaan
  - extract:
      dst: $GAMEDIR/drive_c/GOG Games/Star Wars - KotOR/movies
      file: ai_upscaled_cutscenes
  - extract:
      dst: $CACHE/widescreen_fade_fix
      file: widescreen_fade_fix
  - copy:
      dst: $GAMEDIR/drive_c/GOG Games/Star Wars - KotOR/Override
      src: $CACHE/widescreen_fade_fix/$INPUT_WIDESCREEN_FADE_FIX_RESOLUTION
  system:
    gamescope_game_res: $RESOLUTION
    gamescope_output_res: $RESOLUTION
slug: star-wars-knights-of-the-old-gog-k1cp-widescreen
steamid: 32370
version: GOG + K1CP + Widescreen
year: 2003
{
  "game_slug": "star-wars-knights-of-the-old-republic",
  "version": "GOG + K1CP + Widescreen",
  "description": "",
  "notes": "When installing, use the provided links to download the mods.\r\nTwo mods are from Nexus Mods and require a free account to download.\r\nAfter installation, open the game's graphics options.\r\nSelect Screen Resolution.\r\nFirst, select the resolution 1024x768.\r\nHit Okay.\r\nSelect Screen Resolution again.\r\nSelect your desired resolution.\r\nHit Okay to apply the resolution.\r\nWidescreen mods are installed according to the instructions documented in PCGamingWiki: https://www.pcgamingwiki.com/wiki/Star_Wars:_Knights_of_the_Old_Republic#Widescreen_resolution\r\nNote that Gamescope requires setting the game and output resolutions. The installer sets these automatically for the game from your system's resolution at the time of the installation.",
  "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-k1cp-widescreen",
  "installer_slug": "star-wars-knights-of-the-old-gog-k1cp-widescreen",
  "script": {
    "files": [
      {
        "installer": "N/A:Select the game's setup file"
      },
      {
        "kotor1_community_patch": "N/A:Download the KOTOR1 Community Patch from https://deadlystream.com/files/file/1258-kotor-1-community-patch and select it"
      },
      {
        "uniws": "https://www.wsgf.org/downloads/uniws.zip"
      },
      {
        "hud_corrections": "N/A:Download Star Wars: Knights of the Old Republic HUD Corrections from https://community.pcgamingwiki.com/files/file/2044-star-wars-knights-of-the-old-republic-hud-corrections/ and select it"
      },
      {
        "widescreen_cockpit_and_racing_track_on_manaan": "N/A:Download Widescreen Cockpit and Racing Track on Manaan from https://www.nexusmods.com/kotor/mods/1211 and select it"
      },
      {
        "ai_upscaled_cutscenes": "N/A:Download KotOR 1 Remastered (AI Upscaled) Cutscenes for your desired resolution from https://www.nexusmods.com/kotor/mods/1306 and select it"
      },
      {
        "widescreen_fade_fix": "N/A:Download KOTOR Widescreen Fade Fix from https://deadlystream.com/files/file/1792-kotor-widescreen-fade-fix/ and select it"
      }
    ],
    "game": {
      "exe": "$GAMEDIR/drive_c/GOG Games/Star Wars - KotOR/swkotor.exe",
      "prefix": "$GAMEDIR"
    },
    "installer": [
      {
        "input_menu": {
          "description": "Choose resolution for the widescreen fade fix:",
          "id": "WIDESCREEN_FADE_FIX_RESOLUTION",
          "options": [
            {
              "1440x900": "1440x900"
            },
            {
              "1530x864": "1530x864"
            },
            {
              "1680x1050": "1680x1050"
            },
            {
              "1920x1080": "1920x1080"
            },
            {
              "1920x1200": "1920x1200"
            },
            {
              "2048x1152 - Thanks to Dirtnose": "2048x1152"
            },
            {
              "2560x1440": "2560x1440"
            },
            {
              "2560x1600": "2560x1600"
            },
            {
              "3440x1440": "3440x1440"
            },
            {
              "3840x2160": "3840x2160 (4K)"
            }
          ]
        }
      },
      {
        "task": {
          "args": "/NOGUI /SILENT /SUPPRESSMSGBOXES",
          "executable": "installer",
          "name": "wineexec"
        }
      },
      {
        "extract": {
          "dst": "$CACHE/kotor1_community_patch",
          "file": "kotor1_community_patch"
        }
      },
      {
        "task": {
          "description": "Select the path 'C:\\GOG Games\\Star Wars - KotOR' and click Install. Close the patcher after the process completes.",
          "executable": "$CACHE/kotor1_community_patch/INSTALL.exe",
          "name": "wineexec"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR",
          "file": "uniws"
        }
      },
      {
        "task": {
          "description": "Select \"Star Wars: KOTOR (1024x768 interface)\" from the dropdown. Hit \"Find It For Me...\" Then input your desired resolution above 1440x900. You selected $INPUT_WIDESCREEN_FADE_FIX_RESOLUTION for the widescreen fade fix. Hit Patch. Then close the patcher.",
          "executable": "$GAMEDIR/uniws.exe",
          "name": "wineexec"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/drive_c/GOG Games/Star Wars - KotOR/Override",
          "file": "hud_corrections"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/drive_c/GOG Games/Star Wars - KotOR/Override",
          "file": "widescreen_cockpit_and_racing_track_on_manaan"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/drive_c/GOG Games/Star Wars - KotOR/movies",
          "file": "ai_upscaled_cutscenes"
        }
      },
      {
        "extract": {
          "dst": "$CACHE/widescreen_fade_fix",
          "file": "widescreen_fade_fix"
        }
      },
      {
        "copy": {
          "dst": "$GAMEDIR/drive_c/GOG Games/Star Wars - KotOR/Override",
          "src": "$CACHE/widescreen_fade_fix/$INPUT_WIDESCREEN_FADE_FIX_RESOLUTION"
        }
      }
    ],
    "system": {
      "gamescope_game_res": "$RESOLUTION",
      "gamescope_output_res": "$RESOLUTION"
    }
  }
}
Back to game