I'm making this post to hopefully help some who will likely have some issues running this game in widescreen/running this game on a modern Windows 10 OS.
First of all use this guys method. Do not use Flawless Widescreen. It's too much of a pain and it's results, while it works, has bugs of it's own. Use the Universal Widescreen method as outlined by this guy. It's far more reliable and requires far fewer hoops to jump through once you get it set up. I will edit in some additional information into this guys post too.
Here's some info for anyone confused on how to get this game working in widescreen (1920x1080) and have the movies work as well.
This is what I did step by step using the Universal Widescreen Patcher (Not the Flawless Widescreen program):
1. If you already have unsuccessfully patched the game restore your backup of the original EXE if you haven't already, if you don't have a backup on hand then uninstall and reinstall the game.
2. Make sure you ran the game once before patching to create your default configuration.
3. Download the Universial Widescreen patcher from the site above if you haven't already
4. Download the Hud Correction files for your resolution, the one I specifically used since I want to run 1920x1080 is 1920x1080 (Updated by nix3r)
5.6.7. My EDIT: Don't bother with these steps. The issue of blacked out videos is due to a bug in the game, not the format the game forces the videos to play in. Removing those lines of code from uniws script will not fix blacked out videos. In either case, so you know exactly what's happening, this issue actually only affects a couple of the videos in game, not all of them. Sometimes it happens randomly, but there are only 2 instances in game where this will happen nearly 100% of the time. And that's the very first video of the game just after you finish setting up your character, and a video on Manaan underwater when you make your choice while interfaced with a computer. It's something to do with the way the game transitions from menu's straight into a video. But in most situations when it transitions from game level to video, videos play fine 99% of the time. But for all instances of blacked out videos, there's an easy way to fix it. If you get a black video and you can tell it's video, simply hit the Windows key on your keyboard OR Alt+Tab out. Same difference. Then once you're on your desktop, click the running game icon on your taskbar to bring the game back to full screen. The game will automatically restart the video from the beginning and play through properly. That's all you have to do. You see a black video, Alt+Tab out then click the running game icon on your taskbar to restart the video.
8. Run uniws.exe, choose Star Wars: KOTOR (1024x768 interface), doesn't matter what resolution you ultimately plan on running, that's the one you need. My EDIT: In case anyone's confused, he's referring to the 1024x768 interface option that's in the "drop-down menu" that's at the top of the uniws GUI. The two typable boxes on the bottom of the uniws is where you type the resolution you "want" your game to play at. But in the drop-down box you select 1024x768, because that is the resolution option in game that your new custom resolution will be replacing.
9. Browse to your KOTOR installation in the game installation folder section. Afterwards, set your screen resolution in the New Resolution section, I made mine 1920 for screen width and 1080 for height. Once you are finished go ahead and hit the patch button and exit the program.
10. Extract your fixed hud files. (mine being kotor-1920x1080_updated.rar) Extract them to your KOTOR/override directory, under the default installation path, that would be: C:\GOG Games\Star Wars - KotOR\Override (My Edit: Do not copy the folder with the HUD files into the Override Directory. Copy the "contents" (the actual individual files) for your HUD correction into the Override directory)
11. Edit swkotor.ini (This is in your game's installation directory) . We need to change the resolution still since it won't be able to be changed in game to the widescreen resolution and the patcher doesn't actually seem to change it for us. Find the section [Graphics Options]
in swkotor.ini and set your resolution with the Width and Height variables. You can also set your refresh rate as well here.
12. (Optional) I recommend disabling the Frame Buffer in game. If it's enabled on my AMD Radeon 270x the game seems to lock up before it finishes loading the first level with Frame Buffer and anti aliasing enabled. You can disable the Frame Buffer in the advanced graphics options in game or disable it in the swkotor.ini file in the [Graphics Options]
section by setting Frame Buffer=0
. This may not be an issue on nVidia cards so I would probably only change this if you have any issues. My EDIT: Antialiasing is fine and has no issues. On AMD cards, the only two settings you need to disable are Frame Buffer Effects and Soft Shadows. Both are in "Advanced Settings". Everything else is fine.
Hope this solves some of the issues some people have been having with the game, these are my findings and experience so far. Once the game is setup though, it seems to run great has no issues so far.
Here are some new things I'm putting up here in case anyone wants them. Upscaled Videos:
I've taken the time to upscale all of the videos in the game to a couple more modern monitor friendly resolutions. Most modern monitors do well enough, but some just seem to have issues with certain resolutions once they go below a certain threshold. And some just don't like to constantly switch. So I've made upscaled versions in 1440p and 1080p. I made the 1440p version originally for my play through (I have a 4K monitor), and planned to share it, but I know most people only have 1080p monitors so I went ahead and did them again in 1080p as well so I can share them here. But even if your monitor doesn't have issues in this regard, I do recommend the upscaled videos in either case as there is still a considerable quality improvement as a result of the upscaling.
To install, simply copy and paste the files into the \GOG Games\Star Wars - KotOR\movies directory. When windows asks, select overwrite and replace all files.
1080p Upscaled Videos: https://drive.google.com/file/d/1MhRTsS5eZzFb53W7OwCyYaPG8EL7BG14/view?usp=sharing
1440p Upscaled Videos: https://drive.google.com/file/d/1vY0Zk8wf1F7HwX6Kfc36kf2UNhAtoeNC/view?usp=sharing 1440p HUD Files
As the guy I quoted mentioned, you will need to download files to fix the HUD in game. But the site he links, doesn't have any HUD files for 1440p or 4K resolutions. After some digging I was able to find HUD files for 1440p. Sharing it here in case anyone else wants the 1440p files:
1440p HUD files: https://drive.google.com/file/d/1G9hkh3A2fhV9FcRxp2vZxCsQulyZRb1a/view?usp=sharing
Those of you wanting the 1080p HUD files, just go to http://www.wsgf.org/article/star-wars-knights-old-republic
and download the nix3r updated version. Grass Fix
I ran into this issue on my run through of the game on my 290X, but I don't know if Nvidia cards have the same issue. If you Nvidia users are also having issues with grass, try this as well. Basically once I got down to lower Taris, I was having a lot of issues with the grass. It wasn't properly blending with your characters nor NPC's. Looking transparent, yet not. It's hard to describe, but essentially the grass was cutting off the legs of your characters and NPC's because the transparency effects weren't working properly. Or at least, that's how it appeared in game. I managed to find a fix for it and will post it here. Simply copy and paste "opengl32.dll" and "opengl32.ini" into the root level of your KotOR installation directory. I've already pre-configured .ini file to enable the fix for the grass so it will render grass correctly in game.
Grass Fix: https://drive.google.com/file/d/1_pvaDyFLICHyzfwpEERrc0CO6Y-wSSwH/view?usp=sharing
I hope this helps any remaining stragglers who were having issues getting this game to run properly.
Also, these upscaled videos I've made available (1080p = about 4GB / 1440p = about 6GB / 10GB total) are taking up a fair chunk of my google drive (I only have the free 15GB max storage limit). So if anyone's willing, I would appreciate it if someone else who has online storage to spare, could grab those videos and make them permanently available for others to download. If anyone's able and willing to do that, I would really appreciate. I'll keep them on my drive for a couple months or as long as I can, but I will eventually have to remove the upscaled videos at the very least. The other files such as the grass fix and 1440p HUD files, I should be able to leave there for quite awhile without issue.