![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
![]() |
#1 |
Planesman
![]() Join Date: Jan 2010
Location: Italy
Posts: 196
Downloads: 333
Uploads: 0
|
![]()
I would like to set the black colour for certain features of the map tools ( Otherwise the current light grey used is so faint that I can barely see the number values, for example after I draw a line with the ruler on the navigation map ) but I'm a total Hex editor nerd so I need some help.
Could please some good and gentle soul write me the correct code that I should put in the HEx editor to have the lines of interest displayed in black colour? Here is what I get from the hex editor for the address of interest. If there are other lines lines/addresses I should edit, please write them, thanks. 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: Description: New Marks Address: 0x104489 Code currently displayed in the Hex editor: 4C 24 38 EB 08 C7 44 24 38 FE 11 11 88 8B 0D 60 The value I should add: Description: New Ruler Line Address: 0x104A84 Code currently displayed in the Hex editor:C7 44 24 20 FE 11 11 88 8B 15 34 5A 8A 00 D9 C9 The value I should add: 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 The value I should add: 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: Description: Protractor New Placed Mark Address: 0x105DF5 Code currently displayed in the Hex editor:C2 C7 44 24 40 FE 11 11 88 8B 15 DC 59 8A 00 D9 The value I should add: Many thanks in advance to the " game files guru " that will help me! ![]() |
![]() |
![]() |
![]() |
#2 |
Loader
![]() Join Date: Nov 2012
Location: Russia
Posts: 83
Downloads: 72
Uploads: 1
|
![]()
I'm not a "guru", but the first question is: which particular file are you trying to edit?
|
![]() |
![]() |
![]() |
#3 |
Planesman
![]() Join Date: Jan 2010
Location: Italy
Posts: 196
Downloads: 333
Uploads: 0
|
![]()
It's the SH5 .exe file.
I'm trying to follow the instructions indicated in this thread ( https://www.subsim.com/radioroom/sho...d.php?t=192896, see reply #2 ) but I do not know what are the values I have to set to change the colour to black. |
![]() |
![]() |
![]() |
#4 |
Navy Seal
![]() Join Date: Jan 2011
Location: CJ8937
Posts: 8,215
Downloads: 793
Uploads: 10
|
![]()
Wasn't there an option for recoloring those texts among TDW's patches?
|
![]() |
![]() |
![]() |
#5 | |||
Loader
![]() Join Date: Nov 2012
Location: Russia
Posts: 83
Downloads: 72
Uploads: 1
|
![]()
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:
Quote:
Quote:
...etc |
|||
![]() |
![]() |
![]() |
#6 | |
Planesman
![]() Join Date: Jan 2010
Location: Italy
Posts: 196
Downloads: 333
Uploads: 0
|
![]() Quote:
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. |
|
![]() |
![]() |
![]() |
#7 | |
Loader
![]() Join Date: Nov 2012
Location: Russia
Posts: 83
Downloads: 72
Uploads: 1
|
![]()
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:
![]() |
|
![]() |
![]() |
![]() |
#8 |
Planesman
![]() Join Date: Jan 2010
Location: Italy
Posts: 196
Downloads: 333
Uploads: 0
|
![]()
Done! Again many thanks товарищ командир!
![]() ![]() |
![]() |
![]() |
![]() |
#9 | |
Planesman
![]() Join Date: Jan 2010
Location: Italy
Posts: 196
Downloads: 333
Uploads: 0
|
![]() Quote:
At least in the OFEV there is not any option for editing the tools markings colours on the nav. map ( There are a few options but none covers this aspect ) |
|
![]() |
![]() |
![]() |
#10 | |
Navy Seal
![]() Join Date: Jan 2011
Location: CJ8937
Posts: 8,215
Downloads: 793
Uploads: 10
|
![]() Quote:
![]() Not too bad anyway, you managed changing those colors anyway, and in the process you have learned something new ![]() No, those colors are hardcoded, so the option to change them can't be there. OFEV only modifies UI scripts and .ini files. |
|
![]() |
![]() |
![]() |
#11 |
Loader
![]() Join Date: Jun 2014
Location: Netley Abbey, Southampton, United Kingdom
Posts: 90
Downloads: 522
Uploads: 5
|
![]()
The change map colours patch is still there, you need to go through the 'generic patcher' to change it, its found in C:\Ubisoft\Silent Hunter5\TDW_GenericPatcher_v_1_0_168_0 open the GenericPatcher.exe and say yes to everything, once the patcher is running, open the 4th file down from the top C:\Ubisoft\Silent Hunter5\TDW_GenericPatcher_v_1_0_168_0\Patches\SH5 \TDW_SH5_Patches.sp5p (sh5) then open 'patches' foder and you can change the colours for the map in the 'Map Colors (map_colors) folder, once you have changed the colours save by taking a snapshot in the file folder to replace the current snapshot being used.
Les |
![]() |
![]() |
![]() |
#12 | |
Planesman
![]() Join Date: Jan 2010
Location: Italy
Posts: 196
Downloads: 333
Uploads: 0
|
![]() Quote:
Danke mein Herr! ![]() ![]() |
|
![]() |
![]() |
![]() |
#13 | |
Planesman
![]() Join Date: Jan 2010
Location: Italy
Posts: 196
Downloads: 333
Uploads: 0
|
![]()
Maybe a stupid question... Why in the various patches contained in the patcher everything seems to be set at disabled? ( False ).
I was looking for example at the deck awash settings...In game I have it working but looking at the patch here ( same patch you indicated, 4th from top ) everything is set as " Enabled: False " ). Shouldn't it be enabled instead? ( Just curious ) In addition... Quote:
REF. LINK: https://www.subsim.com/radioroom/sho...d.php?t=181433 Last edited by Viktor_Prien; 02-05-21 at 07:27 PM. |
|
![]() |
![]() |
![]() |
#14 |
Planesman
![]() Join Date: Jan 2010
Location: Italy
Posts: 196
Downloads: 333
Uploads: 0
|
![]()
I've made a quick test...It seems to work also with the Steam version ( At least speaking of changing the colour of the map tool markings )
I have also tried to enable the manual control of the dive planes but it doesn't seems to work ( I can use the dive planes only on " auto " as per normal ) I've never get that dive planes working manually.... |
![]() |
![]() |
![]() |
#15 |
Planesman
![]() Join Date: Jan 2010
Location: Italy
Posts: 196
Downloads: 333
Uploads: 0
|
![]()
Small update after further tests:
- Even enabling the manual dive planes controls in the patcher, at least using TWoS, they doesn't seems to work. On surface they work ( at the least the hands of the dials can be moved up/down ) but they do absolutely nothing ( The sub will remain always on the surface even if you set the dive planes for diving ) When submerging, instead, for example going at periscope depth, soon as the two dive planes operators sit at their place, both the dive planes works only on " Auto " again and you can't even move the hands of the dials in any way ( Manually I mean ) To be noted that what achieved on the surface ( Dials's hands at least moving ) can be achieved only running a saved campaign mission. In single mission ( I have used for the tests the German Jet Fighter one ) they do not work at all. ![]() *I have still to test what happens starting a new campaign |
![]() |
![]() |
![]() |
|
|