Is there any way I can make the KotOR II HQ movies patch work on a 1920x1080 monitor?

Hey everyone,

I started to replay KotOR II yet again, and among the many mods and patches I have installed is the official patch that makes all the game's cutscenes 1600x1200. I know this problem has come up many times, but I couldn't find a solution. Apparently, unless your monitor is able to support a resolution of 1600x1200 or higher, the movies default back to a resolution of 640x480. Since 1080 is obviously less than 1200, I, too, have to deal with horrible 640x480 cutscenes.

Has anyone found a way to fix this? Can I force the cutscenes to play in 1920x1080 somehow? Or even at a resolution that's lower than 1920x1080 as long as it's better than 640x480? Or can I convert the 1600x1200 files to 1920x1080? If anyone knows of a solution, it would be a huge improvement. The cutscenes are almost pointless at 640x480 on my monitor.

Edit: On a related note, whenever I play a cutscene, there's a noticeable delay wherein the game fades to black, causing me to miss the first couple of seconds of cutscenes. It also happens when the cutscene ends (i.e. fades to black, takes a couple seconds before I'm back in-game, so characters could start talking while I'm waiting for the black screen to end). Any ideas on causes and how to fix it?

Edit 2: I used the RAD Video Tools to convert a file (PerMov02.bik, originally in 1600x680 according to RADVT) to 1920x1080, played the cutscene in-game and it seemed to work. I'll just have to batch convert them now, which could take a couple hours, but when it's done all of the cutscenes will be in 1920x1080. I think this should work.

I've tried exactly what you're talking about, and, in my experience, it doesn't work. I'm fairly certain that the engine will still down-convert them to 640x272, then back up to your native res. Try converting one of the high-quality movies to 640x272 and compare how it looks and plays in-game to the same movie up-converted to your native res. In my case, the down-scaled movie looked better and played more smoothly than the up-scaled one, even though the latter had been up-converted to my native res. It also looked and sounded better than the movies that shipped with the game.

Even the hex-monkeys over at the Widescreen Gaming Forum never figured out how to get the engine to properly scale the high-quality movies, so we're pretty much stuck with 640x272. I've never had the opportunity to personally test the high-quality movies on a monitor with a vertical resolution of 1200 or higher, so I don't know if they'll work properly in that case or not.

If you come to the same conclusion I did, just convert them all to 640x272 and replace the originals with them. You'll still end up with better movies in the end.

EDIT: You've figured out how to batch-convert with RVT? Would you mind telling me how?

"They should rename the team to the Washington Government Sucks. Put Obama on the helmet. Line the entire walls of the stadium with the actual text of the ACA.

Fix their home team score on the board to the debt clock, they can win every game 17,000,000,000,000 to 24. Losing team gets taxed by the IRS 100%, then droned."

I should've guessed that it was as simple as highlighting all of the files, derp-derp.

Thanks.

I'll get my computer to work on this right away. It's a few years old, but it's still pretty uber for massively-multithreaded software like RVT. It shouldn't take too long.

No problem! I've converted most of the files to 1920x1080 now, and testing them in-game, it's hard to tell the difference. It seems to be better quality than before, but I can't tell if that's just a placebo effect or not. There are still black bars above and below the cutscenes, so it's definitely not full-screen 1920x1080, though.

I'll try what you said about the 640x272 resolution.

Edit: You wouldn't have any ideas on my "fade to black" issue during cutscenes, would you?

It could have something to do with the engine down- and then up-scaling the movies like I described. That causes all kinds of delays and other stuff like minimizing or even CTD.

With the movies at 640x272, there's a minimum of that kind of thing going on and, consequently, they just work better.

That's what I suspected. I might just use the 640x272 cutscenes, then. Hopefully, that conversion takes less time than the 1080p conversion, which is still going on right now as it finishes up the last six or so cutscenes -- I built my computer in July, but it's not designed for video conversion.

Take a look at them. They've already been upscaled from 640, but not all the way to 1600, and they're pixilated as hell. You'd have to cut the bars off the sides and trim the ones on the top and bottom to get the right aspect ratio and then downscale them. They might have better audio than the ones that shipped with the game, so it might be worth a try.

And, yeah, your CPU's pretty uber; it just lacks hyper-threading, which only helps with software designed to run on more than 4 cores. Excellent gaming CPU, though. Batch converting to 640 won't take nearly as long.

"They should rename the team to the Washington Government Sucks. Put Obama on the helmet. Line the entire walls of the stadium with the actual text of the ACA.

Fix their home team score on the board to the debt clock, they can win every game 17,000,000,000,000 to 24. Losing team gets taxed by the IRS 100%, then droned."

Take a look at them. They've already been upscaled from 640, but not all the way to 1600, and they're pixilated as hell. You'd have to cut the bars off the sides and trim the ones on the top and bottom to get the right aspect ratio and then downscale them. They might have better audio than the ones that shipped with the game, so it might be worth a try.

And, yeah, your CPU's pretty uber; it just lacks hyper-threading, which only helps with software designed to run on more than 4 cores. Excellent gaming CPU, though. Batch converting to 640 won't take nearly as long.

I just converted PerMov02.bik to 640x272, but in-game it still upscales it...

PerMov02 was one of the ones that's 1600x680. What I'm talking about are the ones that are 1600x1200 like Visas's introduction that have obviously been scaled up from lower-res movies and are all pixily. Play those in the Bink player. You'll see what I mean. They don't even reach the borders of the player. There's black bars around them, even on the sides.

"They should rename the team to the Washington Government Sucks. Put Obama on the helmet. Line the entire walls of the stadium with the actual text of the ACA.

Fix their home team score on the board to the debt clock, they can win every game 17,000,000,000,000 to 24. Losing team gets taxed by the IRS 100%, then droned."

PerMov02 was one of the ones that's 1600x680. What I'm talking about are the ones that are 1600x1200 like Visas's introduction that have obviously been scaled up from lower-res movies and are all pixily.

Ah, I thought you meant convert them to 640x272 so that they don't upscale at all, and instead play without scaling, centred in the middle of the screen. I'm attempting to do this now; it'll be much smaller than my screen, but it'll be high quality. I think it's because I've used the widescreen patch, I'm trying a workaround now.

If you convert them to 640x272, the game will still upconvert them, but they'll actually look better play more smoothly than the high-res movies because the engine won't down-convert them and then up-convert them again. That's why the high-res movies looked so bad and their playback in-game was so juddery.

"They should rename the team to the Washington Government Sucks. Put Obama on the helmet. Line the entire walls of the stadium with the actual text of the ACA.

Fix their home team score on the board to the debt clock, they can win every game 17,000,000,000,000 to 24. Losing team gets taxed by the IRS 100%, then droned."

If you convert them to 640x272, the game will still upconvert them, but they'll actually look better play more smoothly than the high-res movies because the engine won't down-convert them and then up-convert them again. That's why the high-res movies looked so bad and their playback in-game was so juddery.

Nope. That involves hex-editing the .exe, and, like I said, even the guys over at the Widescreen Gaming Forum couldn't figure out how to get the game to scale the movies correctly, so they deleted their instructions on which values to mess with because they weren't working.

If you could turn the scaling off, you could just convert the movies to 1920 like you were in the first place and they'd work just fine.

640x272 is pretty much what we're stuck with.

"They should rename the team to the Washington Government Sucks. Put Obama on the helmet. Line the entire walls of the stadium with the actual text of the ACA.

Fix their home team score on the board to the debt clock, they can win every game 17,000,000,000,000 to 24. Losing team gets taxed by the IRS 100%, then droned."

Nope. That involves hex-editing the .exe, and, like I said, even the guys over at the Widescreen Gaming Forum couldn't figure out how to get the game to scale the movies correctly, so they deleted their instructions on which values to mess with because they weren't working.

If you could turn the scaling off, you could just convert the movies to 1920 like you were in the first place and they'd work just fine.

640x272 is pretty much what we're stuck with.

Ah, damn, that makes sense. Is there anywhere to find those instructions still? I'd like to at least try screwing around.

They took them down. Not really sure why, other than that they didn't work, of course. They took a lot of info out of the KotOR 2 thread, including all of Squizzy's entries. I'm guessing that they got some sort of C&D order because KotOR 2 requires a crack to get a patched game to run in widescreen, but that would be the first time I've ever seen anything like that happen over something as trivial as a widescreen mod.

"They should rename the team to the Washington Government Sucks. Put Obama on the helmet. Line the entire walls of the stadium with the actual text of the ACA.

Fix their home team score on the board to the debt clock, they can win every game 17,000,000,000,000 to 24. Losing team gets taxed by the IRS 100%, then droned."

I'm unsure if his steps are for the movies or the game itself, though; if it's the latter, that would explain why it's not working for you.

Do you have a recommended hex editor? I remember using one for KotOR before, but I don't remember which.

Edit: I misread his steps, he DOES say they are for the cutscenes. So...

Edit 2: Success! I got it to work! I edited the hex strings to be 1920x1080, and the cutscenes play out in that resolution now. When I picked the first one, it switched to my desktop and I had to switch back to the game, but it still played perfectly fine. Then, I picked another cutscene, and it also played in 1920x1080, no delay, no switch to desktop. The black screen transition is gone, too. Perfect!

Really? No scaling artifacts? Is this with the original 1600x680 movies or the ones that you upscaled to 1920?

As far as I can tell, it's working perfectly. It plays the movies in 1920x1080, full-screen, no black bars (except for the films that were in 1600x1200), and no fade-to-black issue. The only problem is the desktop switching thing I mentioned, but it's easily worth it to have good quality cutscenes.

I also tested using normal HQ movies without converting them to 1920x1080. When using them, the game correctly scales them up to 1920x1080 (with black bars), instead of scaling down to 640x272 and then back up again.

Honestly, using the normal HQ movies without converting them and then letting the game upscale for you might actually be better. You get the black bars across the top and bottom, but the cutscenes aren't upscaled to full-screen, meaning that the quality isn't noticeably degraded. Either way, though, it's infinitely better than how it was before.

Edit: I'd like to test all of the movies in-game, but right now, I only have 48/68 (with TSLRCM) unlocked. Do you know the .ini code necessary to unlock all the movies?

As a warning, Kreia's Fall is terribly stretched to make it play in 1920x1080, and there are jagged edges all over the place. I assume the same goes for the other 4:3 movies. However, it seems that replacing the 4:3 files with converted 1920x1080 ones leads to better quality. So, I recommend letting most of the HQ movies be upscaled by the game, but converting the the 4:3 ones to 1920x1080.

The movies are meant to be shown in 2.35:1 aspect ratio, like cinematic movies. There should be black bars when they play. When you upscaled them, did you keep that aspect ratio?

Once again, I followed the directions and got the same result: scaling artifacts with the high-quality movies. My resolution's 1680x150, BTW. It's OK, though. The 640x272 movies actually look better, and I can't hex-edit the .exe I'm using now anyway.

The movies are meant to be shown in 2.35:1 aspect ratio, like cinematic movies. There should be black bars when they play. When you upscaled them, did you keep that aspect ratio?

Oh, I know. But when I converted them, I upscaled them to full-screen 1920x1080, removing the black bars entirely. If you want to upscale and keep that aspect ratio, you could convert them to 1920x816.

Quote:

Originally Posted by Q

Once again, I followed the directions and got the same result: scaling artifacts with the high-quality movies. My resolution's 1680x1050, BTW.

There's definitely some fuzziness, but it plays in the resolution it's supposed to and the quality is better than before. It doesn't seem to be as good as when it's played using RVT, but it's improved.

Exactly. I'm not sure what it is, but for some reason they don't look as good in-game, but still better than before.

Quote:

Originally Posted by Q

Now if I could only hex-edit the .exe I'm using and still get it to work. I want a fully patched .exe...

I used HxD. I converted PerMov02.bik to 1920x816, then edited the .exe to play movies in 1920x816 (and changed the .ini settings), but for some reason, it wouldn't work. I got that fade-to-black problem again, and then the cutscenes were horribly downscaled and upscaled. For whatever reason that resolution didn't work.

Of course, if you use default HQ movies with the movie resolution edited to be 1920x1080, it upscales it for you like I said previously, to what I assume to be 1920x816. I was hoping that if I did the upscaling myself through conversions, it'd be higher quality. But the game didn't like that.

1) Hex-edit the .exe to play movies in your resolution, in my case, 1920x1080 (and, of course, edit the .ini). Upscale the HQ movies from their native resolution (1600x680, usually) to your desired resolution using RAD Video Tools, in my case, 1920x1080, and then use the newly-converted movies in your Movies folder. This will play the movies in-game at 1920x1080, no black bars, full-screened, at a resolution and quality level higher than default, but for some reason, not as good as they look when played through RAD Video Tools.

2) Hex-edit the .exe to play movies in your resolution, in my case, 1920x1080. Don't convert the HQ movies at all, place them in your Movies folder, and let the game upscale them for you. In the case of 1920x1080, I'm assuming the resulting resolution is 1920x816, which maintains the ~2.353:1 ratio of 640x272.

What I was saying was that I was seeing if I could upscale them from 1600x680 to 1920x816 myself with RVT, and then edit the .exe to play at 1920x816, in the hopes that there would be higher quality because I did the upscaling beforehand, instead of allowing the game to do it. But I couldn't get that to work.

I can definitely tell the difference. The movies that are upscaled to 1680x714 with RVT play pretty much perfectly, whereas the standard high-quality 1600x680 movies have very noticeable scaling artifacts when played in-game and upscaled by the game's player.

"They should rename the team to the Washington Government Sucks. Put Obama on the helmet. Line the entire walls of the stadium with the actual text of the ACA.

Fix their home team score on the board to the debt clock, they can win every game 17,000,000,000,000 to 24. Losing team gets taxed by the IRS 100%, then droned."