SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Silent Hunter 3 - 4 - 5 > SH5 Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 03-21-11, 05:32 PM   #106
stoianm
Ocean Warrior
 
Join Date: Dec 2010
Location: Montreal, Canada
Posts: 2,776
Downloads: 833
Uploads: 11
Default

loks nice ... and the FF for opacity i like it also
stoianm is offline   Reply With Quote
Old 03-21-11, 05:37 PM   #107
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

patch 3 available at post #1
TheDarkWraith is offline   Reply With Quote
Old 03-21-11, 07:37 PM   #108
SashaKA001
中国水兵
 
Join Date: Mar 2010
Location: 47°46′46″N, 37°14′51″E
Posts: 271
Downloads: 231
Uploads: 0
Default

Quote:
Originally Posted by TheDarkWraith View Post
just applied patch 3 to my file and everything working perfectly 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 (I prefer all mine FF for opacity - solid color):
so you need to write it as a picture or red, or I'm not out there looking for

SashaKA001 is offline   Reply With Quote
Old 03-21-11, 07:49 PM   #109
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

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.....
TheDarkWraith is offline   Reply With Quote
Old 03-21-11, 07:53 PM   #110
SashaKA001
中国水兵
 
Join Date: Mar 2010
Location: 47°46′46″N, 37°14′51″E
Posts: 271
Downloads: 231
Uploads: 0
Default

Quote:
Originally Posted by TheDarkWraith View Post
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 yes yes yes
SashaKA001 is offline   Reply With Quote
Old 03-21-11, 08:01 PM   #111
stoianm
Ocean Warrior
 
Join Date: Dec 2010
Location: Montreal, Canada
Posts: 2,776
Downloads: 833
Uploads: 11
Default

@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?
stoianm is offline   Reply With Quote
Old 03-21-11, 08:15 PM   #112
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by stoianm View Post
@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?
you are one byte off. Your current location is 0x103F94 not 0x103F95

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
TheDarkWraith is offline   Reply With Quote
Old 03-21-11, 08:27 PM   #113
SashaKA001
中国水兵
 
Join Date: Mar 2010
Location: 47°46′46″N, 37°14′51″E
Posts: 271
Downloads: 231
Uploads: 0
Default


SashaKA001 is offline   Reply With Quote
Old 03-21-11, 08:32 PM   #114
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

@ SashaKA001 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 I shouldn't have to sift through an exe file looking for HARDCODED colors. That is just plain wrong to hardcode those
TheDarkWraith is offline   Reply With Quote
Old 03-21-11, 08:50 PM   #115
stoianm
Ocean Warrior
 
Join Date: Dec 2010
Location: Montreal, Canada
Posts: 2,776
Downloads: 833
Uploads: 11
Default

Quote:
Originally Posted by TheDarkWraith View Post
you are one byte off. Your current location is 0x103F94 not 0x103F95

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
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 ?
stoianm is offline   Reply With Quote
Old 03-21-11, 08:53 PM   #116
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by stoianm View Post
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
TheDarkWraith is offline   Reply With Quote
Old 03-21-11, 09:55 PM   #117
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

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

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

Last edited by TheDarkWraith; 03-21-11 at 10:42 PM.
TheDarkWraith is offline   Reply With Quote
Old 03-22-11, 07:33 PM   #118
SashaKA001
中国水兵
 
Join Date: Mar 2010
Location: 47°46′46″N, 37°14′51″E
Posts: 271
Downloads: 231
Uploads: 0
Default

very good





very good
SashaKA001 is offline   Reply With Quote
Old 03-23-11, 03:18 AM   #119
Meldric
Officer
 
Join Date: May 2010
Location: Germany
Posts: 237
Downloads: 165
Uploads: 0
Default

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
Meldric is offline   Reply With Quote
Old 03-23-11, 07:15 AM   #120
d3vnu11
Bosun
 
Join Date: Feb 2011
Posts: 66
Downloads: 94
Uploads: 0
Default

Quote:
Originally Posted by Meldric View Post
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.
d3vnu11 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 08:28 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.