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, 08:15 PM   #1
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
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   #2
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   #3
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
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   #4
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   #5
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
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   #6
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
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   #7
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   #8
Meldric
Officer
 
Join Date: May 2010
Location: Germany
Posts: 237
Downloads: 169
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   #9
d3vnu11
Bosun
 
Join Date: Feb 2011
Posts: 66
Downloads: 98
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
Old 03-23-11, 01:33 PM   #10
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


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
impossible no, possible yes but I would use an easier method. I would just write to the memory in game! As my .dlls are already in the process memory I can manipulate it. It's a great idea to change colors on the fly. I'll add it to my list of things to look into Colors could be set just like I've done with the scope settings using the mousewheel for each color component.

As far as for steam it's not possible to do because I don't own the steam version of the game and thus cannot 'see' the memory to verify the colors are located where they are in the boxed versions.

Last edited by TheDarkWraith; 03-23-11 at 01:49 PM.
TheDarkWraith 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 04:49 AM.


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