Sign in to follow this  
Thor110

TOOL:Colour Code Executable Patcher for SWKotOR2

Recommended Posts

Colour Code Executable Patcher for SWKotOR2


Relish in the fact that you can now make the dialog text and highlight text colours whatever you want them to be!

With just the press of a button this tool will update the hard coded values within the executable for you!

Limitations imposed upon the Aspyr version of the game are that the Red value for the dialog text must lie between 8 & 31.

But there is no issue when updating the legacy versions of the game, provided you use the editable executable as I don't support editing the executable that comes with LegacyPC Steam or the Disc version of the game as they are slightly different, but the editable executable is essentially identical.

 

I made this tool to automate updating the hard coded colour codes contained in the executable for SWKotOR2.

Requires .NET 8.0!

Just put it in the game folder, next to the swkotor2.exe file and it will detect which version of the game you have when you click patch.

It detects what version of the game you have by checking for certain files, check the source code if you want to know more.

 

I advise against patching all the colours at once, but I provided an option just in-case anyone wanted to do this.

 

I also suggest looking at my written documentation, some values such as text highlight effect one another and the various different versions of the game are all slightly different, it's also possible that I have things slightly wrong here and there, feel free to let me know if you find out more.

More information on patching the values manually can be found in my tutorials here : https://deadlystream.com/topic/6886-tutorial-kotor-modding-tutorial-series/

In Tutorial "24 - [ADVANCED] - Hard Coded GUI Elements"

 

For Steam LegacyPC users and users of the original Disc version of the game, please use the editable executable which can be found here : https://deadlystream.com/files/file/1321-kotor-2-editable-executable/

I released a new version on GitHub, functionally it is practically identical, I just removed the "Patch All" option and made a slight improvement to the way it detects the version of the game, there's no real need for me to update the version here as it is just an improvement to the code for the program.

Source code for the tool can be found here : https://github.com/Thor110/HexColourSlider

 

Thor110

 


 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this