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 02-04-21, 06:25 AM   #1
Rosomaha
Loader
 
Join Date: Nov 2012
Location: Russia
Posts: 82
Downloads: 72
Uploads: 1
Default

Now clear. In principle, all the necessary instructions have already been given there, I have little idea what can be added.
You need to change the 4 bytes (XX XX XX XX) responsible for the color in the specified address lines. (# FF222222, BB444444, FE111188, EE000000, …). If change on black : on FF000000, or FE000000, or 00000000, … or your other version of black.

For example:

Quote:
Description: Marks
Address: 0x103F95
Code currently displayed in the Hex editor: 33 C0 C7 41 3C BB 44 44 44 89 41 2C 89 41 28 C2
The value I should add:
33 C0 C7 41 3C FF 00 00 00 89 41 2C 89 41 28 C2

Quote:
Description: Protractor Placed Mark
Address: 0x1055FF
Code currently displayed in the Hex editor: 3B D0 74 0A 3B 53 48 74 05 8B 5B 3C EB 05 BB FE 11 11 88 (?)
111188
The value I should add:
3B D0 74 0A 3B 53 48 74 05 8B 5B 3C EB 05 BB FF 00 00 00

Quote:
Description: Compass Placed Mark
Address: 0x105945
Code currently displayed in the Hex editor: 33 C0 C7 41 3C BB 44 44 44 89 41 2C 89 41 28 89
The value I should add:
33 C0 C7 41 3C FF 00 00 00 89 41 2C 89 41 28 89

...etc
Rosomaha is offline   Reply With Quote
Old 02-04-21, 08:55 AM   #2
Viktor_Prien
Planesman
 
Join Date: Jan 2010
Location: Italy
Posts: 195
Downloads: 333
Uploads: 0
Default

Quote:
Originally Posted by Rosomaha View Post
Now clear. In principle, all the necessary instructions have already been given there, I have little idea what can be added.
You need to change the 4 bytes (XX XX XX XX) responsible for the color in the specified address lines. (# FF222222, BB444444, FE111188, EE000000, …). If change on black : on FF000000, or FE000000, or 00000000, … or your other version of black.

For example:


33 C0 C7 41 3C FF 00 00 00 89 41 2C 89 41 28 C2


3B D0 74 0A 3B 53 48 74 05 8B 5B 3C EB 05 BB FF 00 00 00



33 C0 C7 41 3C FF 00 00 00 89 41 2C 89 41 28 89

...etc
First of all thanks for your help!!!!! You're great Herr Kaleun!

Second: I'm an idiot...I have now ( finally!!!) understood how it works ( Again thanks to you! )


There is only one left that I do not know how to edit it correctly because the FF is the last of the 16 couples of numbers ( or rather FE ) in the hex editor so there is not enough space left to write FF 00 00 00.

(0x1055FF) 3B D0 74 0A 3B 53 48 74 05 8B 5B 3C EB 05 BB FE

What part I have to edit of it? What I have to do in this case?

My guess is that the code becomes 3B D0 74 0A 3B 53 48 74 05 8B 5B 3C EB 05 BB 00 --> Is this correct? * Somehow it seems to work ( Changed FE with 00 )


Again many many thanks for your help, it has been crucial!!!!



Last edited by Viktor_Prien; 02-04-21 at 10:30 AM.
Viktor_Prien is offline   Reply With Quote
Old 02-04-21, 11:03 AM   #3
Rosomaha
Loader
 
Join Date: Nov 2012
Location: Russia
Posts: 82
Downloads: 72
Uploads: 1
Default

Quote:
Originally Posted by Viktor_Prien View Post
I'm an idiot...
It's okay, I'm the same myself, and what makes it worse is that in foreign languages, too. “byte, bit, digit…-Damn it!” .

Initially, I personally did not search for anything, I took your written sets and compared it with the finished information from the topic at your link. The author has already identified the necessary addresses in the file, and the most used defult color codes for these functions of the game, and listed them. And then it's easier. In addition, “HEX-color codes” have a characteristic combination of letters and / or numbers, in small groups of code you can identify them even intuitively. You can Google "color codes", I even met online "color code converters", including those that allow you to find out the color code through a "pipette" from a sample – if you have a problem with generating the right code of the right color.

Well, I think, you understand which group of all the numbers you list is the defining one for our purposes.

Quote:
Originally Posted by Viktor_Prien View Post
(0x1055FF) 3B D0 74 0A 3B 53 48 74 05 8B 5B 3C EB 05 BB FE

What part I have to edit of it? What I have to do in this case?

My guess is that the code becomes 3B D0 74 0A 3B 53 48 74 05 8B 5B 3C EB 05 BB 00 --> Is this correct?
Now I looked at the file at this specified address. And according to it, the required value is located just above the one you selected. I think you need to change the underlined:

Rosomaha is offline   Reply With Quote
Old 02-04-21, 12:33 PM   #4
Viktor_Prien
Planesman
 
Join Date: Jan 2010
Location: Italy
Posts: 195
Downloads: 333
Uploads: 0
Default

Done! Again many thanks товарищ командир!
Viktor_Prien 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 01:06 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.