Here is the info for patching Star Wars: Knights of the Old Republic with the WS and HUD patches, so that the game will run properly in widescreen. Note that you should perform the steps described in both the WS Resolutions and HUD Correction sections.
Unfortunately, because the Steam version executable is encrypted, UniWS can not be used to modify the Steam version of the game directly. However, UniWS will work on a no-CD (cracked) executable of the original disc version of the game. This executable can in turn be used with the Steam version's content files to play the Steam version in widescreen.
Please be aware that using a cracked exe could be seen as a violation of Steam's Subscriber Agreement, and you accept full responsibility for whatever resulting consequences, if any. In practice however, Steam has generally allowed us to discuss the mod openly on their forums and there are other precedents where they've allowed (or knowingly overlooked) the use of alternate executables for modding purposes.
The game plays in Hor+ widescreen with the use of the UniWS patcher, originally developed by Wogg. The Patcher consists of two parts: Uniws.exe (which is the GUI interface and patcher), and the patches.ini file (which contains the game data to make the patch).
Sweetz (old username: Stevedroid), with the help of Malakaius (who originally discovered the HUD files could be edited), has created adjusted HUD files for all working common widescreen resolutions as well as corrected 2D backgrounds for the menus. Many thanks to both of them, without whom this would not be possible.
1530x864 (Use for 720p HDTV or 1360/1366x768 displays)
1440x900
1680x1050
1920x1080
1920x1080 (Updated by nix3r)
1920x1200
2560x1600
First, please review the instructions carefully, making sure you didn't miss a step. We've found that 9 times out 10 when someone reports trouble getting the mod to work correctly, they made a small mistake or skipped a step.
If you experience an issue where you can not move the mouse cursor all the way to the right edge of the screen, enable Hardware Mouse in the game's options.
If pre-rendered movies aren't playing correctly:
By default, KotOR is hardcoded to play pre-rendered movies at 800x600 regardless of game resolution. UniWS alters this so that movies will play at the same resolution the game is patched to, this fixes movie playback on some systems where it did not work. However, some people have indicated that while movies played fine in the pre-modded game, they do not display correctly after modding. As a possible solution, UniWS's patches.ini can be altered so that it will not modify the movie resolution.
;movies edit 1
p6modfile=swkotor.exe
p6undofile=swkotorc.undom1
p6sig=800200007515813DD8D17800E001
p6sigwild=00000000000000
p6xoffset=0
p6yoffset=12
p6occur=1
;movies edit 2
p7modfile=swkotor.exe
p7undofile=swkotorc.undom2
p7sig=80020000C7442410E001
p7sigwild=0000000000
p7xoffset=0
p7yoffset=8
p7occur=1
Save the file and repeat the WS Resolutions steps using the updated patches.ini
If KOTOR is run at standard widescreen resolutions below 1440x900 it will either crash, or dialog text will be missing (preventing the player from responding to conversations and rendering the game unplayable). For users of 720p HDTVs or 1360x768 displays, I suggest setting up a custom resolution of 1530x864 (the closest resolution that runs ok) and using video card scaling to downscale this to your native resolution. You would then patch KOTOR to use 1530x864 based on the instructions above, not 1360x768. Files have been provided for this resolution. For 1280x800 users, the same solution of setting up a custom resolution and downscaling will work; 1440x900 would be an appropriate choice in that case. Setting up custom resolutions can be a troublesome process and varies from driver to driver, ask around on video card enthusiast forums (Guru3D, Beyond3D, Rage3D, NVNews, etc.) for instructions on how to create custom resolutions with your video card if you do not know how to do this.
This is no longer necessary with the release of KotOR High Resolution Menus, set up UniWS as usual, then you can instead install this mod (setting to run in letterboxing for 1366/1360 x 768 with the .bat patcher. It also has support for 1280x720 and other resolutions that previously needed workarounds. This will fix the HUD issues.
https://deadlystream.com/files/file/1159-kotor-high-resolution-menus/?ta...
The highest resolution KOTOR normally supports is 1600x1200. Therefore, 1600x1200 was highest resolution available for the 2D background art. My (Sweetz's) fixed 2D backgrounds are merely resized/recentered versions of the original source art. For resolutions with a width greater than 1600, I simply filled in the extra space with black because I'm not the greatest with Photoshop. The menu backgrounds are simple TGA image files, so if you do have some art skills, you may be able to fill in the blank space with something a bit better looking. Please share them (contact Sweetz through the forums) if you do.