Page 1 of 1

KOTOR on Steam - WS patches won't work

Posted: 06 Sep 2009, 02:13
by jingletard
Is there any solution to patching KOTOR from Steam to accept custom resolutions? UniWS doesn't see the executable (it finds it, but won't let me patch) because swkotor.exe has been modified to work on Steam without a CD.

What alternatives do we have to using UniWS? Can I manually hex edit it or are the values located somewhere else? I see lots of guides on here but nothing has worked for me.

Thanks

KOTOR on Steam - WS patches won't work

Posted: 06 Sep 2009, 04:19
by Sweetz
*Update for newcomers*

WSGF Hacks for KOTOR page has been updated with instructions for the Steam version of the game.

----

Yup as I guessed when I first saw the game on Steam, looks like whatever they did to modify the game's executable for Steam changed it enough that the appropriate hex strings UniWS needs to modify can not be found.

Following the manual hex editing guide we have were won't work since that relies on the same hex strings as UniWS.

Someone with appropriate compiled code reading knowledge might be able to relocate the hex strings that need to be modified - and then we can simply update UniWS with a separate entry for the Steam version of the game.

If I end up getting the game on Steam, I'll try my best. I can't make any promises though as my hex reading abilities are fairly basic, and I'm not sure when I'll get around to having the time to do the research.

KOTOR on Steam - WS patches won't work

Posted: 06 Sep 2009, 05:15
by StingingVelvet
I figured this would be the case as well.

I have the "best of PC" version and there is no working disc-crack for that of which I know, so I bought the Steam version to play without a disc. I would gladly donate some money to anyone if they are willing to mod the widescreen program to work with Steam.

KOTOR on Steam - WS patches won't work

Posted: 06 Sep 2009, 05:32
by Sweetz
Well I'll give it the old college try like I said when I can find the time. I don't want any donations or anything because I'm not sure I can do it.

KOTOR on Steam - WS patches won't work

Posted: 06 Sep 2009, 06:03
by StingingVelvet
Well I was more speaking to the guys on here who do the programs.

Someone on nvnews just said he got it working though, so it might an easy fix.

KOTOR on Steam - WS patches won't work

Posted: 06 Sep 2009, 06:23
by Sweetz
Well I was more speaking to the guys on here who do the programs.

So I'm chopped liver I suppose? :? I'm not compeltely without knowledge of the edits involved you know. And my ego is very fragile :wink:

Anyway, sounds like he's saying he used an exe other than the Steam one. Since Steam games are file-wise equivalent to the disc versions of games with the exception of the exe, there's nothing preventing you from using cracked exes with the Steam version content files. That said, I was not aware the current UniWS hack worked on any cracked exes for Kotor 1.

KOTOR on Steam - WS patches won't work

Posted: 06 Sep 2009, 07:07
by StingingVelvet
[quote]Well I was more speaking to the guys on here who do the programs.

So I'm chopped liver I suppose? :? I'm not compeltely without knowledge of the edits involved you know. And my ego is very fragile :wink:

Hahaha... I just meant they have donation pages.

Anyway, I was unaware the tool worked on no-disc cracks as well... maybe that is because I have never owned the original PC version of the game, only the later rereleases (I was impatient and played it on Xbox at first).

I'll go to game copy world and see what happens... better not screw anything up.

KOTOR on Steam - WS patches won't work

Posted: 06 Sep 2009, 12:12
by StingingVelvet
Well I swapped the exes and applied the widescreen solution, but it did not work. It finds it and says "successfully patched" but the resolution I added does not appear in the menu and rewriting the ini results in the game loading in 800x600.

I remember it didn't work before with me for the no-disc exe, so I don't know how you guys are getting it to work.

KOTOR on Steam - WS patches won't work

Posted: 06 Sep 2009, 12:40
by StingingVelvet
Neeevermiiiind... I figured out the problem, and the problem from before when I was trying to use the no-disc crack on my hard copy. The 1.3 fixed exe is not the same as the fully updated 1.3b I guess. I ran the auto update program and now all is right with the world.

KotOR in Widescreen, yay! This game still looks not bad, really... wish a real third game was coming, rather than an MMO.

KOTOR on Steam - WS patches won't work

Posted: 06 Sep 2009, 19:00
by Smurfy
So wait, Velvet, you've found a solution? Explain!

KOTOR on Steam - WS patches won't work

Posted: 06 Sep 2009, 20:45
by StingingVelvet
So wait, Velvet, you've found a solution? Explain!


It's detailed above I thought?

Maybe not... haha. Here it is, courtesy of Magus on nvnews:

1. Replace "swkotor.exe" in your Steam/Steamapps/Common/swkotor folder with the no-disc crack exe found on several websites.

2. Run the auto-update program found in the same folder to "patch" your cracked exe to 1.3b if needed. My crack was not up to date.

3. Do the normal widescreen process as outlined in the detailed report.

This also makes it so you can launch Kotor from outside of Steam, which I guess is a side benefit.

Note that this is likely a violation of Steam's ToS, and any reprecussions are not the fault of anyone on WSGF.

KOTOR on Steam - WS patches won't work

Posted: 06 Sep 2009, 23:46
by Sweetz
Well I bought the Steam version, took a look at the executable and I couldn't find anything even remotely resembling the original hex strings.

Unfortunately it appears that the Steam version is encrypted, because things like hardcoded error messages - things that I should be able to find in the code regardless of any wrapper or addition to the executable - are nowhere to be found. This is a pretty good indicator of encryption (or compression, but Steam executable is larger than the retail verison so it's likely not that). If that's the case, then there's no chance of being able to figure out the correct edits.

It looks like using the cracked executable will have to be the "official" solution :(


StingingVelvet: Step 2 is unnecessary. Assuming you got the "Fairlight" cracked exe, the game is up to date. If you look at the log for the updater program, all it actually updates it the updater program itself. The content files for the Steam version are up to date, as is the Fairlight exe. If the exe wasn't actually up to date, the updater would download and replaced it with the latest disc version exectable, rendering the game unplayable.

KOTOR on Steam - WS patches won't work

Posted: 07 Sep 2009, 00:53
by StingingVelvet
StingingVelvet: Step 2 is unnecessary. Assuming you got the "Fairlight" cracked exe, the game is up to date. If you look at the log for the updater program, all it actually updates it the updater program itself. The content files for the Steam version are up to date, as is the Fairlight exe. If the exe wasn't actually up to date, the updater would download and replaced it with the latest disc version exectable, rendering the game unplayable.


All I know is that all I did from 1080p not showing up in the menu, to it showing up in the menu, is run the auto updater.

KOTOR on Steam - WS patches won't work

Posted: 07 Sep 2009, 01:36
by Sweetz

All I know is that all I did from 1080p not showing up in the menu, to it showing up in the menu, is run the auto updater.

Probably coincidence or just a matter of needing to resest the config file or something like that. Patchers like that don't actually edit executables, they simply download the latest version and replace them.

---

I updated the Kotor wiki page with info on the Steam version and to be a bit more direct in explaining the patching process.

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

I did provide some rough instructions on getting the no-CD executable, but no direct links. If anyone has a problem with that I apologize, but it's currently the only option available to owners of the Steam version of the game. It only directs them to an executable which is useless without the content files.

KOTOR on Steam - WS patches won't work

Posted: 07 Sep 2009, 02:02
by jingletard
These are the steps I followed :

Replace swkotor.exe in (SteamSteamappsCommonswkotor) with 1.03 Fairlight No-CD crack

Run uniWS to and select 1024x768 on the dropdown, but put in my custom resolution in the other fields, then clicked patch.

Download & install the modified HUD files that matches my custom resolution, I found these here : http://www.widescreengamingforum.com/wiki/index.php/WSGF_Hacks_for_SW:KOTOR and I put them in the (SteamSteamappsCommonswkotorOverride) directory.


Launched game...And it worked! Thanks again for everyones help.

KOTOR on Steam - WS patches won't work

Posted: 07 Sep 2009, 03:45
by StingingVelvet
[quote]
All I know is that all I did from 1080p not showing up in the menu, to it showing up in the menu, is run the auto updater.

Probably coincidence or just a matter of needing to resest the config file or something like that. Patchers like that don't actually edit executables, they simply download the latest version and replace them.

Well you probably know better than I... could of been a fluke. Either way, happy to have the game working in widescreen again.

KOTOR on Steam - WS patches won't work

Posted: 07 Sep 2009, 18:27
by Smurfy
I did the stuff, and UniWS said it can't write to swkotor.exe.

:(

KOTOR on Steam - WS patches won't work

Posted: 07 Sep 2009, 21:20
by StingingVelvet
I did the stuff, and UniWS said it can't write to swkotor.exe.

:(


You replaced swkotor.exe with the proper no-cd crack?

KOTOR on Steam - WS patches won't work

Posted: 28 Nov 2009, 09:04
by Robobandit
Sorry to resurrect this old thread.. but does anyone know what to do about not being able to see dialog choices?

I'm trying to play at 5760x1080 or 3072x768 and they just aren't showing up.

I downloaded the 1920x1080 HUD, but it doesn't seem to impact dialog text. I modified the .ini file for the game to switch to small font sizes, but it didn't make a difference.

The game works, I just can't see the dialog text.. I don't know if it is below the screen or just invisible.

If anyone has any suggestions, I'd be open to hearing them.

KOTOR on Steam - WS patches won't work

Posted: 30 Nov 2009, 13:17
by vurt
Anyone got a solution for the .bik video cutscenes that doesnt show when you are using the widescreen mod?

someone here: http://www.lucasforums.com/showthread.php?t=201046&highlight=bink is saying that there's a solution, something about making the patcher not to tamper with the .bik files.. anyone know what that means?


EDIT:

nvm, found it here: http://www.widescreengamingforum.com/node/8450

worked great :)