Star Wars: Knights of the Old Republic II - The Sith Lords

From PCGamingWiki, the wiki about fixing PC games
This page may require cleanup to meet basic quality standards. The specific problem is: Make the pages between the first and second game consistant, add screenshots and move some things. You can help by modifying the article. The discussion page may contain useful suggestions.
Star Wars: Knights of the Old Republic II - The Sith Lords
Star Wars: Knights of the Old Republic II - The Sith Lords cover
Developers
Obsidian Entertainment
Maintenance Aspyr Media
macOS (OS X) Aspyr Media
Linux Aspyr Media
Publishers
LucasArts
Disney Interactive Studios
OS X, Linux Aspyr Media
Engines
Odyssey
Release dates
Windows February 8, 2005
macOS (OS X) July 21, 2015[1]
Linux July 21, 2015[1]
Reception
Metacritic 85
Taxonomy
Monetization One-time game purchase, Subscription gaming service
Modes Singleplayer
Pacing Continuous turn-based
Perspectives Third-person
Controls Direct control, Menu-based
Genres RPG
Themes Sci-fi, Space
Series Star Wars: Knights of the Old Republic
Star Wars: Knights of the Old Republic II - The Sith Lords on HowLongToBeat
Star Wars: Knights of the Old Republic II - The Sith Lords on IGDB
Star Wars: Knights of the Old Republic II - The Sith Lords guide on StrategyWiki
Star Wars: Knights of the Old Republic II - The Sith Lords on MobyGames
Star Wars: Knights of the Old Republic II - The Sith Lords on Wikipedia
Star Wars: Knights of the Old Republic
Subseries of Star Wars
Star Wars: Knights of the Old Republic 2003
Star Wars: Knights of the Old Republic II - The Sith Lords 2005
Star Wars: The Old Republic 2011
Star Wars: Knights of the Old Republic – Remake TBA

Star Wars: Knights of the Old Republic II - The Sith Lords is a singleplayer third-person RPG game in the Star Wars: Knights of the Old Republic series.

Key points

Retail version (2012) re-released in a bundle with the first game and made compatible with recent operating systems.
Steam version (2015) updated to support OS X and Linux, add Steamworks features and many other great improvements, including Steam Workshop support.[1]

General information

Aspyr Media support page
GOG.com Community Discussions for game series
GOG.com Support Page
Obsidian Forum
Steam Community Discussions
Modding guide for Steam version.

Availability[edit]

Source DRM Notes Keys OS
Retail
Disc check (requires the CD/DVD in the drive to play)
SecuROM 5 DRM disc check (1.0)
SecuROM 7 DRM disc check (1.0b/1.02b)
Windows
GamersGate
Icon overlay.png
Windows
macOS (OS X)
Linux
Gamesplanet logo.svg
Icon overlay.png
Sold by Aspyr Media.
macOS (OS X)
Linux
GOG.com
DRM-free
Windows
Green Man Gaming
Icon overlay.png
Windows
macOS (OS X)
Linux
Humble Store
Icon overlay.png
Windows
macOS (OS X)
Linux
Mac App Store
Icon overlay.png
Same as Steam version.
macOS (OS X)
Origin
Origin
Included with EA Play Pro.
Windows
Steam
Icon overlay.png
Windows
macOS (OS X)
Linux
Gamesplanet logo.svg (unavailable)
Icon overlay.png
Sold by Disney Interactive Studios.
Windows
macOS (OS X)
Linux
The soundtrack is stored in MP3 format, however junk data at the beginning of each file prevents them from being played back in media players. Run this script[Note 1] from the game's music directory[Note 2] to create standard music files that can be played back in most media players.[3]

Version differences[edit]

Knights of the Old Republic Collection includes both Knights of the Old Republic and Knights of the Old Republic II – The Sith Lords.
Retail (CD/DVD) releases of KOTOR II do not include Aspyr Media's update.
Aspyr Media's update was made available on Steam in 2015.[1] The prior version of KOTOR II, which does not include Aspyr's changes, can still be accessed. To access the prior version, select the "legacypc" beta branch in the game properties window in Steam.
Aspyr Media's update ("1.0b update") was made available on GOG.com in 2022.[4] The prior version of KOTOR II, which does not include Aspyr's changes, can still be accessed via GOG Galaxy. To access the prior version, install KOTOR II, uncheck "Automatically update to newest version" in the GOG Galaxy game configuration window, and select "Version 1.0b".
STAR WARS Knights of the Old Republic II - The Sith Lords on Origin does not include Aspyr Media's update.

Essential improvements[edit]

Patches[edit]

1.0b is the latest patch for the 4-CD release. The patch is not applicable to the Star Wars: Knights of the Old Republic Collection DVD release or downloads via Steam, GOG.com, or Origin.

Skip intro videos[edit]

Instructions[5]
  1. Go to <path-to-game>\Movies
  2. Delete or rename leclogo.bik, ObsidianEnt.bik, Legal.bik (and aspyr.bik if applicable).

Higher quality media[edit]

Not applicable to the Star Wars: Knights of the Old Republic Collection DVD release or downloads via Steam, GOG.com, or Origin.
Higher quality movies install instructions[citation needed]

Install Movie Update Patch - 1135 MB

Notes

LucasArts released replacement upscaled cutscene videos.
Only benefits resolutions of 1600x1200 or higher, otherwise it defaults back to 640x480.[6]
Higher quality music install instructions[citation needed]

Install Music Update Patch - 145 MB

Notes

Pre-installed audio's sample rate is 11,025Hz. This patch comes with CD-quality audio resolution with 44,100Hz sample rate.

Restored Content Mod[edit]

Also available on Steam Workshop.
Available in English, German, French, Spanish, Italian, Polish and Russian.
Highly recommended to restore content that was cut from the game.
Version 1.8.2 now supports M4-78 Enhancement Project which restores droid planet content, but works only for English version
The steam workshop version is currently outdated.

Game data[edit]

Configuration file(s) location[edit]

System Location
Windows <path-to-game>\swkotor2.ini[Note 3]
macOS (OS X) ~/Library/Application Support/Star Wars Knights of the Old Republic II/swkotor2.ini
Linux $XDG_DATA_HOME/aspyr-media/kotor2/

Save game data location[edit]

System Location
Windows <path-to-game>\Saves\[Note 3]
macOS (OS X) ~/Library/Application Support/Star Wars Knights of the Old Republic II/saves/
Linux $XDG_DATA_HOME/aspyr-media/kotor2/saves/
This game follows the XDG Base Directory Specification on Linux.

Save game cloud syncing[edit]

System Native Notes
GOG Galaxy
Origin
Steam Cloud

Video[edit]

Graphics feature State WSGF Notes
Widescreen resolution
Native for Steam.[1] For other versions, see Widescreen resolution.
Multi-monitor
Use Flawless Widescreen.
Ultra-widescreen
Use Flawless Widescreen.
4K Ultra HD
Native for Steam.[1]
Field of view (FOV)
Windowed
See Windowed.
Borderless fullscreen windowed
Use Borderless Gaming. Any other hacks will make the mouse cursor inaccurate.[citation needed]
Anisotropic filtering (AF)
Anti-aliasing (AA)
Vertical sync (Vsync)
External Vsync will cause performance issues.[7][8]
60 FPS
120+ FPS
No limit. Frame rates over 60 can cause issues, see Stuttering or Freezing after combat / Unable to move the character
High dynamic range display (HDR)
See the glossary page for potential alternatives.
TweakGuides has created a comprehensive guide for fixing issues in this game. It can be found here.

Widescreen resolution[edit]

Not necessary for Steam version.
Widescreen fixes will break the minimap location reporting, which can be solved using the UI fixes.[9]
Widescreen fixes resolutions of 1366x768 and under will not display dialogue option text correctly and are unplayable.[10]
Video tutorial for widescreen available here
This uses a slightly older version of the game with some bugs (not necessary for the GOG.com version).[11]
Make necessary changes[citation needed]
  1. Apply the latest Patches (retail versions only).
  2. Download this file (skip this step for the GOG.com version).
  3. Extract to the installation folder.
  4. Run the game as an admin, then change the resolution to 1920x960.
  5. Download and run the Universal Widescreen patcher.
  6. Locate the game, set the desired custom resolution and then patch it.
  7. Go to the installation folder.
  8. Open swkotor2.ini.
  9. Change the following lines in order to set the custom resolution, ex.:
[Display Options]
Width=2048
Height=1152
 
[Graphics Options]
Height=1152
Width=2048

Notes

Bear in mind that the order of width and height is reversed.

Ultra-widescreen resolution[edit]

Ultra-Widescreen fixes will break the minimap location reporting, which can be solved using the UI fixes (instructions included below).
Using Flawless Widescreen can cause memory leaks, which in turn can corrupt the current save file.
Apply the following instructions[citation needed]
  1. Download and run the Flawless Widescreen application.
  2. In Flawless Widescreen, search and install the "STAR WARS : KOTOR II" plugin.
  3. Download the updated Widescreen UI Fix by Achilles.
  4. Extract the contents to a folder other than the Override folder (e.g. Desktop).
  5. Select 1920x1080 for 21:9 and copy the contents of the selected folder into Override.

Notes

2560 x 1080 (21:9) mods exist to work for Ultra Wide resolutions. Link right here, and read the instructions https://deadlystream.com/files/file/1892-ultrawide-ui-dialogletterboxing-fix-for-uniws-219/
The Flawless Widescreen application must be up and running every time before launching the game.

Windowed[edit]

Windowed[citation needed]
  1. Go to the configuration file(s) location.
  2. Edit swkotor2.ini.
  3. Add AllowWindowedMode=1 under [Graphics Options].
  4. Change FullScreen=1 to FullScreen=0.

Full Screen Movies[edit]

This method does not work on latest game version.
Guide located here Archived (it is not necessary to edit your .bik files)
Instructions[citation needed]
  1. Open swkotor2.exe with a hex editor such as HxD.
  2. Determine your desired movie resolution expressed in hexadecimal notation, and reverse the order of the bytes. Each byte is two hexadecimal characters, so you want to make sure that you're not entering the hexidecimal string backwards but are instead separating it into bytes (2 character chunks) and then reversing the byte order (the reversal has to do with the order data is stored in and read from memory, which is called endianness). For example, 1920 in decimal notation is 0780 in hexadecimal notation, which is 8007 with the bytes reversed. 1080 in dec is 0438 in hex, which becomes 3804 with reversed bytes.
  3. Replace 80 02 with your desired width and E0 01 with your desired height in the following two places (search for these hex sequences):
80 02 00 00 75 15 81 3D E8 C1 80 00 E0 01
.
.
.
80 02 00 00 C7 44 24 10 E0 01 

The resulting hex sequences should look like this, for a 1920x1080 resolution:

80 07 00 00 75 15 81 3D E8 C1 80 00 38 04 
.
.
.
80 07 00 00 C7 44 24 10 38 04 

Recommended graphical mods (Steam)[edit]

This section may require cleanup to meet basic quality standards. The specific problem is: Needs descriptions for the individual mods. You can help by modifying the article. The discussion page may contain useful suggestions.
Mod list

Input[edit]

Keyboard and mouse State Notes
Remapping
Mouse acceleration
Mouse sensitivity
Mouse input in menus
Mouse Y-axis inversion
By default reversed, i.e. activate inversion to get "normal" behaviour.
Controller
Controller support
Steam version only, XInput supported, DirectInput has some mapping issues.[1]
Full controller support
Steam version only.
Controller remapping
See the glossary page for potential workarounds.
Controller sensitivity
Controller Y-axis inversion
Steam version only.
Controller types
XInput-compatible controllers
Xbox button prompts
Impulse Trigger vibration
DualShock 4 controllers
Generic/other controllers
Additional information
Button prompts
For DualShock controllers use DualShock 3 Button Prompts mod. For Steam controllers use Steam Controller Buttons for KOTOR II
Controller hotplugging
Haptic feedback
Simultaneous controller+KB/M
Steam Input
Steam Input API support
Hook input (legacy mode)
Official controller preset(s)
Steam Controller button prompts
Mod available on the Steam Workshop: Steam Controller Buttons for KOTOR II
Cursor detection

Audio[edit]

Audio feature State Notes
Separate volume controls
In some sections of a game, the in-game music volume is not affected by the volume slider.[12]
Surround sound
Subtitles
Closed captions
Mute on focus lost
EAX support
EAX 3 (Newest Update removes EAX from Steam version))
(Manual download https://drive.google.com/file/d/15nyAOKWS_gHU-J6oa5a_3lZkmAvBBaXA/ - copy the .dll file next to the swkotor2.exe and the in-game EAX option becomes unlocked)
Royalty free audio

Localizations

Language UI Audio Sub Notes
English
French
German
Italian
Polish
Fan translation, download or steam workshop page.
Russian
1) Fan translation, text and video or Steam Workshop page.
2) Fan translation + translation Restored Content (Recommended), .
Spanish
Updated Steam version comes with Spanish UI elements. For subtitles, use The Sith Lords Restored Content Modification (TSLRCM).

Issues fixed[edit]

"Stopped working"[edit]

Error fixable by going into windowed mode or by changing Nvidia Control Panel settings.
Error fixable by going into windowed mode or by changing Nvidia Control Panel settings.
Error occurs after the company logos and before the main menu, or after clicking on 'Load Game' from the main menu.
Full error message: 'Star Wars: Knights of the Old Republic II: The Sith Lords has stopped working'.
Switch to windowed mode[13]

Switching to windowed mode sometimes fixes this issue..

Activate discrete graphics card[14]

Make sure non-Intel graphics card is being used. Intel integrated graphics seems to work for the Steam version but not the retail version in some cases.

Change Nvidia Control Panel settings[15]

If you have a newer Nvidia GPU and your game keeps crashing when you click 'Load Game' from the main menu, a detailed solution for this can be found here.[16] The critical detail seems to be changing Threaded Optimization in the Nvidia Control Panel to OFF

Disable "Frame Buffer Effects"[citation needed]

If the game crashes after initial character creation and an AMD/ATI video card is in use, disabling Frame Buffer Effects in the game's Advanced Graphics Options may fix the issue.

atioglxx.dll from AMD Catalyst 14.4 may allow "Frame Buffer Effects" to work with AMD/ATI cards as described here

Disable "Shadows" setting[citation needed]

If the game crashes unexpectedly from time to time, disabling the shadows can fix it. For example, the crash may be at the Ebon Hawk, on the Prologue level, when approaching the Quadlaser turret.

Stuttering or Freezing after combat / Unable to move the character[edit]

This can be fixed by limiting maximum frame rate.
Cap the maximum FPS.[17]
Capping the framerate at or below 90 FPS solves this issue.
Temporary solution[citation needed]
  1. Hold down both the right and the left mouse button.
  2. Press the quicksave button and keep both mouse buttons pressed during the whole saving process.
  3. Once the saving process is completed, release both mouse buttons. The character should now be able to move again.
Use VSync[citation needed]
Enable VSync in the graphics options or the launcher and set the refresh rate to 60 Hz.

Low performance[edit]

Disable frame buffer effects[citation needed]
  1. Disable frame buffer effects in the settings.
Low Frame Rate[18]
The Steam version has by default the wrong syntax in the swkotor2.ini for enabling this OpenGL method for storing vertex data in video memory.
This fix may cause crashing on Telos' Surface.[19]
  1. Go to the installation folder.
  2. Locate file swkotor2.ini
  3. Edit and change DisableVertexBufferObjects=1 under "[Graphics Options]" to Disable Vertex Buffer Objects=1

Retail installation for Windows 7[edit]

All steps should be done with an administrator account.
Working on Windows 7 x64 bit.
Retail installation instructions[20]
  1. Install the DirectX End-User Runtimes.
  2. Insert the game disc, and ignore any auto play screens.
  3. Open the Start menu and click on 'Computer'. Right click on the disc drive that has the game disc and select 'Explore'.
  4. Right click on setup.exe and select 'Properties'. Click on 'Compatibility' and select the options 'Run this program in compatibility mode for Windows XP Service Pack 2 (SP2)' and 'Run as Administrator'.
  5. Run setup.exe and install the game as normal. The path where the game is normally installed is C:\Program Files (x86)\LucasArts\SWKotOR2\
  6. Apply the retail patches. Once the patches are downloaded, right click on the files, select 'Properties', and follow the same compatibility settings as was done on setup.exe.
  7. Explore the hard drive and find the folder where you installed the game. Right click on the folder, select 'Properties', un-check 'Read-Only', then click 'Apply'.
  8. Right click on every .exe file in the installation folders and set the compatibility modes to the same as in step 4.
  9. Right click on the kotor2.exe and select 'Create shortcut'. Move the shortcuts to your desktop.
  10. This shortcut needs to be set to 'Run as Administrator'. To change the icon to the shortcut, click on 'Properties' and then 'Change icon'. A new box will open. Find the installation folder and select the game .exe. To prevent the command window from popping up briefly while launching, under the shortcut properties change the 'Run' mode to 'Minimized'.
  11. TSL Windows Vista Fix needs to be downloaded.
  12. Extract TSL Windows Vista Fix and place the mss32.dll file in the installation folder, overwriting the file of the same name.

Stretched UI on widescreen resolutions[edit]

After applying a widescreen resolution, the HUD elements will be stretched.
Steam[21]

Subscribe to Widescreen UI (stretch fix).

Notes

16:9 only.
Retail
  1. Download the updated Widescreen UI Fix by Achilles or Improved Widescreen Experience.
  2. Extract content to a folder other than the Override folder (e.g. Desktop).
  3. Select EITHER 1920x1080 for 16:9 OR 1680x1050 for 16:10 (but not both).
  4. Copy the contents of the selected folder to Override.

Dialogue options will not display on vertical resolutions of 1366x768 or below[edit]

Increase resolution to 1366x785[22]
This causes some of the screen to be cut off at the top.
  1. Using the widescreen resolution method, set the resolution to 1366x785.
  2. Check swkotor.ini has the desired resolution (under the [Display Options] and [Graphics Options] headers):
[Display Options]
Width=1366
Height=795

[Graphics Options]
Height=795
Width=1366

The game crashes on Intel HD Graphics (Linux, Wine)[edit]

The issue is, that the game uses a very old OpenGL version, which is often not compatible with modern drivers. These steps also fix various graphical bugs.[citation needed]
  1. Install Iris Mesa Driver. It's also available from Oibaf ppa or download the extracted driver from here.
  2. Run MESA_LOADER_DRIVER_OVERRIDE=iris glxinfo to check if driver works correctly.
  3. Make a script in the game directory with following parameters:
#!/bin/sh

export MESA_LOADER_DRIVER_OVERRIDE=iris
export MESA_EXTENSION_MAX_YEAR=2001

wine swkotor2.exe
MESA_EXTENSION_MAX_YEAR variable is required to fix graphical issues during playing. Disabling shadows can resolve some graphical issues too.

VR support[edit]

3D modes Native Notes
vorpX
G3D
User created game profile, see vorpx forum profile introduction for important notes.

Other information[edit]

API[edit]

Technical specs Supported Notes
Direct3D 9.0c
OpenGL 1.4
Executable 32-bit 64-bit Notes
Windows
macOS (OS X)
Linux

Middleware[edit]

Middleware Notes
Audio Miles Sound System 6.5h[23]
Cutscenes Bink Video

KOTOR and TSL Save Game Editor[edit]

KOTOR and TSL Save Game Editor (English Language Only), also known as the 'KSE'.
Save game editor (cheat) works for both KOTOR 1 and 2.
The save game editor doesn't automatically detect the Steam version of KotOR2.
Choosing game location inside the KSE program[citation needed]
  1. Right click the name of the game you want to edit (The Sith Lords).
  2. Go to the installation folder.
  3. Click OK.
Steam registry[citation needed]
  1. Go to HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\LucasArts\KotOR2
  2. Add a string value named Path.

System requirements[edit]

Windows
Minimum Recommended
Operating system (OS) 98, 2000, ME, XP
Processor (CPU) 1 GHz
System memory (RAM) 128 MB
Hard disk drive (HDD) 4 GB
Video card (GPU) 32 MB of VRAM
OpenGL 1.4 compatible
DirectX 9.0c compatible
macOS (OS X)
Minimum
Operating system (OS) 10.9.5, 10.10
Processor (CPU) Intel Core i3 Dual Core 2.2 GHz
System memory (RAM) 4 GB
Hard disk drive (HDD) 10 GB
Video card (GPU) Nvidia GeForce GT 330M
ATI Radeon HD 3870
Intel HD 3000
256 MB of VRAM
A 64-bit operating system is required.
Linux
Minimum
Operating system (OS) SteamOS, Ubuntu 14.04
Processor (CPU) Intel Core i3 Dual Core 2.2 GHz
AMD A10 Series
System memory (RAM) 4 GB
Hard disk drive (HDD) 10 GB
Video card (GPU) Nvidia GeForce GT 440
ATI Radeon HD 5450
Intel HD 4400
256 MB of VRAM

Notes

  1. If using Windows, install Git for Windows to enable Bash scripts.[2]
  2. It may be necessary to copy the music directory to the desktop.[2]
  3. 3.0 3.1 When running this game without elevated privileges (Run as administrator option), write operations against a location below %PROGRAMFILES%, %PROGRAMDATA%, or %WINDIR% might be redirected to %LOCALAPPDATA%\VirtualStore on Windows Vista and later (more details).

References

  1. 1.0 1.1 1.2 1.3 1.4 1.5 1.6 Introducing and updated KOTOR II for Mac, Linux, and Windows!
  2. 2.0 2.1 Verified by User:SirYodaJedi on 2018-10-18
  3. Music from Star Wars: Knights of the Old Republic, page 1 - Forum - GOG.com
  4. STAR WARS Knights of the Old Republic II: The Sith Lords - GOG Database
  5. Verified by User:Nessy on 2021-09-27
  6. http://lucasforums.com/showthread.php?t=206028
  7. Tweakguides - Star Wars Knights of the Old Republic 2 Tweak Guide
  8. Daily Stream - Vsync and Kotor 2
  9. Widescreen Gaming Forum - Star Wars Knights of the Old Republic 2
  10. Tested by Andytizer, 1920x1080 tested as working.
  11. Steam Forums - Ultimate KOTOR 2 Tweak Guide (retrieved)
  12. Verified by User:Suicide machine on August 13, 2016
    Tested on Steam version of a game. Noticed mostly in the beginning sections of Peragus II and in settlers' chamber on Tatooine.
  13. Tested by Andytizer
  14. Kotor 2 will not work (steam version) - Steam Users' Forums (retrieved)
  15. https://deadlystream.com/forum/topic/1545-nvidia-gfx-guide/page__pid__16526
  16. Tested by Ehs0329.
  17. Ultimate KOTOR 2 Tweak Guide - Page 2 - Steam Users' Forums (retrieved)
  18. https://tweakguides.pcgamingwiki.com/KOTOR2_7.html
  19. Crash on Telos Surface :: STAR WARS™ Knights of the Old Republic™ II: The Sith Lords™ Technical Support Discussions - last accessed on 2022-01-14
  20. http://lucasforums.com/showthread.php?t=194296
  21. Verified by User:Blackbird on 2016-10-31
  22. https://steamcommunity.com/app/208580/discussions/0/882966056505690417/#c846940248097567648
  23. Verified by User:Markhoris on 2019-01-30
    Version number found in Mss32.dll in the game installation folder.