SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   SH5 Mods Workshop (https://www.subsim.com/radioroom/forumdisplay.php?f=249)
-   -   [TEC] SH5.exe patches to fix bugs and add functionality (https://www.subsim.com/radioroom/showthread.php?t=181433)

stoianm 03-21-11 05:32 PM

loks nice ... and the FF for opacity i like it also:woot:

TheDarkWraith 03-21-11 05:37 PM

patch 3 available at post #1 :|\\

SashaKA001 03-21-11 07:37 PM

Quote:

Originally Posted by TheDarkWraith (Post 1625003)
just applied patch 3 to my file and everything working perfectly :rock: I like cyan color (0x00FFFFFF) so I made everything cyan. Now something to note is that you can set opacity for all these colors also :D (I prefer all mine FF for opacity - solid color):
http://www.subsim.com/radioroom/pict...pictureid=3833

so you need to write it as a picture or red, or I'm not out there looking for

http://i2.imageban.ru/out/2011/03/22...061c7b1b2b.jpg

TheDarkWraith 03-21-11 07:49 PM

you'll notice that the 4 bytes are FF 22 22 22. If you wanted a red color then you would change them to:
FF 00 00 FF

patch 3 revised to include one more color that user can define. Still looking for a couple more colors.....

SashaKA001 03-21-11 07:53 PM

Quote:

Originally Posted by TheDarkWraith (Post 1625099)
you'll notice that the 4 bytes are FF 22 22 22. If you wanted a red color then you would change them to:
FF 00 00 FF

patch 3 revised to include one more color that user can define. Still looking for a couple more colors.....

yes:yeah: yes:salute: yes:up: yes:woot:

stoianm 03-21-11 08:01 PM

@TDW you said: ''NOTE2: stock values for the color (as seen in hex editor) are either 0xFF222222 or 0x4B444444''

i found diferent colors:

for example at this addres 0x103F95 i have this color 3CBB4444 wich is an strange red color.... i am missing something?:hmmm:

TheDarkWraith 03-21-11 08:15 PM

Quote:

Originally Posted by stoianm (Post 1625108)
@TDW you said: ''NOTE2: stock values for the color (as seen in hex editor) are either 0xFF222222 or 0x4B444444''

i found diferent colors:

for example at this addres 0x103F95 i have this color 3CBB4444 wich is an strange red color.... i am missing something?:hmmm:

you are one byte off. Your current location is 0x103F94 not 0x103F95 :yep:

Revised patch 3 again with more colors that can be customized. Still looking for a few more colors.....


I would like to compile a list of colors that you all have used for all these colors that can be customized now. Please post your color layout :yep:

SashaKA001 03-21-11 08:27 PM

http://www.sukhoi.ru/forum/attachmen...3&d=1300756593
http://www.sukhoi.ru/forum/attachmen...5&d=1300756595

TheDarkWraith 03-21-11 08:32 PM

@ SashaKA001 :up: Looking good. This was one of the biggest things that bugged me about SH5. The inability to customize the map colors and map tool colors. I mean, c'mon, give me OPTIONS :shifty: I shouldn't have to sift through an exe file looking for HARDCODED colors. That is just plain wrong to hardcode those :nope:

stoianm 03-21-11 08:50 PM

Quote:

Originally Posted by TheDarkWraith (Post 1625116)
you are one byte off. Your current location is 0x103F94 not 0x103F95 :yep:

Revised patch 3 again with more colors that can be customized. Still looking for a few more colors.....


I would like to compile a list of colors that you all have used for all these colors that can be customized now. Please post your color layout :yep:

Thanks... now i figured out.. i used an software called 0.10 editor that he reported wrong each adres.. i installed Hex Workshop and is ok now... i wil use the same cyan -

here you writted the cyan in RGBA? : ''I like cyan color (0x00FFFFFF) so I made everything cyan''

If i want to use cyan i must to change like this: FFFFFF00 ?

TheDarkWraith 03-21-11 08:53 PM

Quote:

Originally Posted by stoianm (Post 1625136)
Thanks... now i figured out.. i used an software called 0.10 editor that he reported wrong each adres.. i installed Hex Workshop and is ok now... i wil use the same cyan -

here you writted the cyan in RGBA? : ''I like cyan color (0x00FFFFFF) so I made everything cyan''

If i want to use cyan i must to change like this: FFFFFF00 ?

If using hex workshop with default settings then yes, enter the color as 0xFFFFFF00 (ABGR) for cyan :up:

TheDarkWraith 03-21-11 09:55 PM

more colors added to patch 3. Now you can change the color of the lattitude and longitude degrees on the navigation map :D

Still haven't found all the colors I'm looking for. Still searching....

SashaKA001 03-22-11 07:33 PM

very good:woot:

http://i3.imageban.ru/out/2011/03/23...3407456a6e.jpg
http://i1.imageban.ru/out/2011/03/23...825a337739.jpg
http://i1.imageban.ru/out/2011/03/23...50551b9eab.jpg

very good:rock::rock:

Meldric 03-23-11 03:18 AM

Hi TDW!

Wouldn't it be possible to do the following (just an idea):

- Use your dll-injection method to hook into a common action in game (in the very beginning after loading a saved game)
- create a method in the dll to overwrite the values in memory instead of patching the .exe.

--> In this way you could also add an option (e.g. for the colors) to the GUI...

Impossible?

Meldric

d3vnu11 03-23-11 07:15 AM

Quote:

Originally Posted by Meldric (Post 1625957)
Hi TDW!

Wouldn't it be possible to do the following (just an idea):

- Use your dll-injection method to hook into a common action in game (in the very beginning after loading a saved game)
- create a method in the dll to overwrite the values in memory instead of patching the .exe.

--> In this way you could also add an option (e.g. for the colors) to the GUI...

Impossible?

Meldric

If it were possible you might even be able to help out the Steam users of SH5.


All times are GMT -5. The time now is 09:20 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 1995- 2024 Subsim®
"Subsim" is a registered trademark, all rights reserved.