Star Wars: Knights of the Old Republic

Detailed breakdowns of how games react to widescreen, ultra-wide, 4k and multi-mon
Post Reply
Tanuki
Posts: 2866
Joined: 07 Jul 2007, 23:55

Knights of the Old Republic

Post by Tanuki »

That is, except for 1280x720, which isn't playable.


None of the 1280s are playable at this time.

As has already been mentioned the best way to do this is to host the altered files for each resolution.

One question is how big each resolution is in filesize.


This is, of course, for Kotor 1. I imagine Kotor 2 would be similar, but I can't guarantee anything as I don't own the game.


-Hardcoding the interface positions and providing a different file for each supported resolution is a really "ghetto" way of doing things, if you'll pardon the vernacular. I'm surprised Bioware programmed it this way. So much more inefficient and inflexible than having one resolution indepedant hud layout which then places the elements dynamically based on the active resolution - that's pretty much how every other game does it.


Agreed. As did Bioware. Evidenced by KOTOR 2. 8)
Sweetz
Posts: 287
Joined: 03 Mar 2007, 06:34

Knights of the Old Republic

Post by Sweetz »


One question is how big each resolution is in filesize.

Tiny. 75KB


Agreed. As did Bioware. Evidenced by KOTOR 2. 8)

Ah, I see from the DR that Kotor 2 doesn't have this issue. As did Obsidian rather, since they did Kotor 2. ;)

I wonder what the heck Xax was trying to do then unless the 2 in his "KOTOR2" was a typo.
Tanuki
Posts: 2866
Joined: 07 Jul 2007, 23:55

Knights of the Old Republic

Post by Tanuki »

Tiny. 75KB


So it is just a drag, drop, and overwrite for the user?

Yea. that seem doable. No real way to link it with UniWS however.
Sweetz
Posts: 287
Joined: 03 Mar 2007, 06:34

Knights of the Old Republic

Post by Sweetz »

Tiny. 75KB


So it is just a drag, drop, and overwrite for the user?

Yea. that seem doable. No real way to link it with UniWS however.

Yup and yup.

Provided that they're given a pre-edited mipc210x7.gui file, a person just needs to drop it into a folder in the KOTOR directory (specifically the "override" folder as mentioned). Not even an overwrite.
Tanuki
Posts: 2866
Joined: 07 Jul 2007, 23:55

Knights of the Old Republic

Post by Tanuki »

I wonder...

KOTOR has native 1280x960 and 1280x1024. If it had HUD files for 1280x800, etc. I wonder if it would still crash out?

My ignorant belief is that because KOTOR has additional steps supporting the two 1280 resolutions it has problems with the 1280 widescreen reses.
bazo0ka
Posts: 1
Joined: 15 Apr 2008, 06:37

Knights of the Old Republic

Post by bazo0ka »

[quote]
Here's a request to whoever may be inclined: a program that would automate this process. I wouldn't think it difficult, but my programming skills leave much to be desired. Ask the user for their desired resolution, read the file, do the calculations, save the file, and bring home the bacon.

Meh it's around and hour of work, 1 time, for maybe like 3-4 resolutions; that's not a lot of work. Once one person does them it's done. The idea is that someone would do the res they need, then its done and make available for everyone else. Then someone else does one of the other resolutions, etc.

It would take a lot more effort and time to code a program to automate this process - so it'd be kind of pointless.

If no one else can be bothered to invest a measly hour of their time, I'll do at least 1680x1050 and 1920x1080 this upcoming weekend.

I know at least one person who would really appreciate it. :D
User avatar
Paradigm Shifter
Editors
Editors
Posts: 5706
Joined: 14 Oct 2003, 13:52

Knights of the Old Republic

Post by Paradigm Shifter »

You just made my day, sir.

I was contemplating playing KotOR 1 again, and seeing if I could get KotOR2 to run without hitting show-stopping bugs that mean I couldn't get out of the first visit to that Jedi Enclave place.

If I could do it in widescreen properly, it would make the experience all the sweeter. :)
User avatar
skipclarke
Founder
Founder
Posts: 7358
Joined: 13 Oct 2003, 05:00

Knights of the Old Republic

Post by skipclarke »

The WSGF will certainly host the altered HUD files.
Sweetz
Posts: 287
Joined: 03 Mar 2007, 06:34

Knights of the Old Republic

Post by Sweetz »

1680x1050 is done you lazy bums; you're just lucky I drank too much diet Pepsi tonight (I need the damn points!). I sent Ibrin the GUI file to host on the site.



Using UniWS, you need to patch the game using the 1024x768 interface option. If you have already patched the game with a different interface size, you can undo that change by selecting that interface size in UniWS again and selecting Undo. At that point, you can repatch using the 1024x768 interface.

Put the file, which Ibrin should hopefully have up soon, in the Override directory found in the main KOTOR directory.
Sweetz
Posts: 287
Joined: 03 Mar 2007, 06:34

Knights of the Old Republic

Post by Sweetz »

1920x1080 is done and sent to Ibrin. These two and Malakaius' 1440x900 hud cover all the major widescreen resolutions with the exception of 1920x1200, however that looks decent enough using the 1600x1200 interface since it already lines up with the bottom fine.



I also figured out how to edit the background/boarder texture for the menu screens to get it to look nice:


This however, needs to be done resolution specific and is too involved a process for me to explain or have the will to do over. Sorry guys, you'll have to work out that one for yourselves.

Basically every piece of the GUI in this game could be edited to get it get it looking nice for widescreen, but it would be a HUGE task.
Tanuki
Posts: 2866
Joined: 07 Jul 2007, 23:55

Knights of the Old Republic

Post by Tanuki »

Basically every piece of the GUI in this game could be edited to get it get it looking nice for widescreen, but it would be a HUGE task.


This appears to be hardcoded into the game, Malakaius tried decreasing the space used by the dialog options, but it seems the game wants to reserve 100 pixels regardless.


Thinking about your original problem. Have you tried shrinking the viewing area instead?
User avatar
skipclarke
Founder
Founder
Posts: 7358
Joined: 13 Oct 2003, 05:00

Knights of the Old Republic

Post by skipclarke »

Tanuki, can you update the original DR entry to include this new info on the HUD fixes? Or, at least do it once I get all these uploaded to the WSGF in the next couple of days?
Tanuki
Posts: 2866
Joined: 07 Jul 2007, 23:55

Knights of the Old Republic

Post by Tanuki »

Can we get the files for 1920x1200 as well?
Sweetz
Posts: 287
Joined: 03 Mar 2007, 06:34

Knights of the Old Republic

Post by Sweetz »


This appears to be hardcoded into the game, Malakaius tried decreasing the space used by the dialog options, but it seems the game wants to reserve 100 pixels regardless.


Thinking about your original problem. Have you tried shrinking the viewing area instead?

I don't think it's possible. I looked through everything trying to find something that determined the size of the letterbox bars and had no success. As said, I think it's just hardcoded into the game. Malakaius and I did find a file that determines the placement and size of the conversation options, but editing that had no effect. As long as that lower pane is less than 100 pixels the text won't show up.

Can we get the files for 1920x1200 as well

Not this weekend. I've exhausted my willingness to work on this for the time being - I want to actually start playing the game instead of working on it ;)

I'm a little torn on what to do about that anyway. So far I based the edited files off the 1024x768 interface so we could tell people to just always use the 1024x768 interface and then move the file into the folder. However, the 1600x1200 interfaces already lines up with the bottom of 1920x1200 nicely, it's just the LEFT positions that need to be adjusted - so a lot less work for me. However, then we'd have to tell people to use the 1600x1200 in one case, and the 1024x768 interface in others.

Of course it's already inconsistent because Malakaius based his work for 1440x900 on the 1280x960 interface.
greenelucky
Posts: 4
Joined: 31 Dec 2007, 16:41

File Location

Post by greenelucky »

Where are these files located for download?
User avatar
skipclarke
Founder
Founder
Posts: 7358
Joined: 13 Oct 2003, 05:00

Knights of the Old Republic

Post by skipclarke »

I've just uploaded them here:

http://www.widescreengamingforum.com/wiki/index.php/WSGF_Hacks_for_SW:KOTOR

So far the 1680x1050 and 1920x1080 HUD files are loaded.
greenelucky
Posts: 4
Joined: 31 Dec 2007, 16:41

Knights of the Old Republic

Post by greenelucky »

Fantastic! Do bad I need 1440x900. Any plans for that.
Sweetz
Posts: 287
Joined: 03 Mar 2007, 06:34

Knights of the Old Republic

Post by Sweetz »

Fantastic! Do bad I need 1440x900. Any plans for that.

Malakaius already did 1440x900 (linkage).

However, his is based on the 1280x960 interface so make sure you select that in UniWS.

At some point I'll do a 1440x900 based on 1024x768 so we're consistent. Additionally Malakaius didn't center the combat queue so I'll take care of that too.

I found a relatively quick way to edit the 2D background screens (for the inventory, Pazaak, etc) for widescreen. I suppose I'll do those too while I'm at it. Though I'm not sure why I'm bothering. I can't imagine that many people are replaying this game anymore.

In any case, because the largest background screen available is 1600x1200, and I'm no artist, they will have black bars on the side for resolutions above 1600 in width. They're plain old image files though, so once I upload the files for the corrected side, some artist can just load them into P.Shop and try their hand at filling in the blank space.
User avatar
Paradigm Shifter
Editors
Editors
Posts: 5706
Joined: 14 Oct 2003, 13:52

Knights of the Old Republic

Post by Paradigm Shifter »

I'm intending to replay it. ;)
Tanuki
Posts: 2866
Joined: 07 Jul 2007, 23:55

Knights of the Old Republic

Post by Tanuki »

I found a relatively quick way to edit the 2D background screens (for the inventory, Pazaak, etc) for widescreen. I suppose I'll do those too while I'm at it. Though I'm not sure why I'm bothering. I can't imagine that many people are replaying this game anymore.


That seems like overkill there.
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests