MisterBlack: 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):
Homepage:
http://www.wsgf.org/article/star-wars-knights-old-republic 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. Extract uniws.zip anywhere and open patches.ini
6. Scroll down or search for the section labeled
[Star Wars: KOTOR (1024x768 interface)] 7. From that section remove these lines and save the file. This will fix the black screen when viewing movies in game:
;movies edit 1
p4modfile=swkotor.exe
p4undofile=swkotorc.undom1
p4sig=800200007515813DD8D17800E001
p4sigwild=00000000000000
p4xoffset=0
p4yoffset=12
p4occur=1
;movies edit 2
p5modfile=swkotor.exe
p5undofile=swkotorc.undom2
p5sig=80020000C7442410E001
p5sigwild=0000000000
p5xoffset=0
p5yoffset=8
p5occur=1 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.
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
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.
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.
CUTSCENES RUNNING FULLSCREEN @ 1920 X 1080 For anyone else using the UNIWS method of getting widescreen working for KOTOR, and who is interested in having fullscreen cutscenes too, here's how I achieved it...
But first a few Caveats i. This method took me a LONG time to implement - it relies on the upscaling conversion of KOTORS .BIK movies (Using RADTOOLS), and took my humble little PC the best part of a day to convert. SO: if you're looking for a quick fix, forget it. Please don't ask me to share my upscaled movies or hacked .EXE file. Let's try to keep things beautiful round here.
ii. As it relies on modifying your .BIK files and your "swkotor.exe" remember to
BACK UP YOUR ORIGINALS. If you don't do this and it all goes horribly wrong then when you come back to the forum crying and mewling we'll all laugh at you and sing the "S/HE DIDN'T BACK UP THE ORIGINALS SO THEY'LL HAVE TO UN/INSTALL AND REINSTALL" song. Loudly.
iii. I've only tested this method for the 1920x1080 resolution. If you are set-up for anything else then you'll have to modify the hack to the executable that is detailed (as the hex is hardcoded specifically for whatever resolution you have scaled your movies to).
iv. This method does rely on being able to download and utilise additional external tools for its implementation - RAD VIDEO TOOLS (for the movie conversion) and HxD (for the EXE Hex hack). If you don't feel confident enough to batch process files or mess around editing Hex then best to leave this fix alone. Move along. Nothing to see here.
Ok - on to the fix. 1. Apply the Universal Widescreen Patcher as detailed by MisterBlack (see "quoted" above).
2. Backup the "Movie" directory and "swkotor.exe" located in your KOTOR Main directory - I created a directory called BACKUP and dumped a COPY of them in there.
3. Download and install
RAD VIDEO TOOLS and
HxD Hex Editor.
4. Set some time aside for this step as it takes a LONG time (Mine took about 6 hours so I left it to run overnight). Open RADTOOLS and in the LOOK IN browseable box at the top, browse to your original MOVIES directory (Your .BIK files should display in the box below). Click/Highlight the first file - Which should be "0a.bik" and then CTRL/A to highlight all the .BIK files. Then click the "BINK IT" button. Click "YES" at the one by one batch process prompt.
5. In the next "Bink Compressor" dialogue box, ensure that you select a suitable "output" directory (use the "Browse" button to select where your upscaled files are going to be stored when converted - I created a dir called "NewMovies") and under the "Scaling Type..." button, you input the desired "Width" of 1920 and "Height" of 1080.
6. Ensure that the tick is visible in "Compress audio" and that your "Compress Level" is set to 4. When this is done, click the "BATCH" button AND start the upscaling conversion. THIS WILL TAKE A LONG TIME TO DO - GO OUT FOR A MEAL OR VISIT THOSE RELATIVES YOU DON'T SEE OFTEN BECAUSE YOU'RE PLAYING RPG's ALL THE TIME.
7. Now that you have upscaled copies of the .BIK files in the output directory that you selected, you will need to rename these files, as the output process has added a "New_" to the front of all file names. As an example "0a.bik" has been outputted as "New_0a.bik". Remove all "New_" from your .BIK filenames.
8. Copy and OVERWRITE your new upscaled files into your original "Movies" directory located in your KOTOR Main directory.
9. Now, start the HxD program, (as we need to specify our new resolution which is hard coded into the EXE) and click
File ->
Open -> "
swkotor.exe".
10. When "swkotor.exe" is open in HxD, click
Search ->
Find.
11. In the find dialogue box, ensure that "Datatype:" is set to "Hex-values".
12. in the "Search for:" box paste the following values 80 02 00 00 75 15 81 3D D8 D1 78 00 E0 01
13. Carefully change the highlighted Hex string to read as the following
80 07 00 00 75 15 81 3D D8 D1 78 00
38 04 14. Again, click
Search ->
Find.
15. In the find dialogue box, ensure that "Datatype:" is still set to "Hex-values".
16. in the "Search for:" box paste the following values 80 02 00 00 C7 44 24 10 E0 01
17. Carefully change the highlighted Hex string to read as the following
80 07 00 00 C7 44 24 10
38 04 18. Save your "swkotor.exe" and close HxD.
That's it - when you reload KOTOR all movies should play at fullscreen resolution!
Should you need any additional pointers and tips please feel free to consult the following resources from which I culled this install method, and give thanks to these guys, without whom, KOTOR cutscenes would be very small indeed.
RenegadeSniper7's Original Exehack forum posting (Lucasarts) Xuul's Excellent Cutscene installation guide (Youtube)