![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
09-11-09, 11:05 PM
|
#5 |
|
Machinist's Mate
![]() Join Date: Dec 2007
Posts: 127
Downloads: 3
Uploads: 0
|
I guess I'm talking about pretty advanced modding, bordering on hacking.
I did actually manage to change the color of the Kilo broadband circular displays, but in an extremely cumbersome manner. I took a print-screen of the Kilo broadband station and pasted it into Paint. I then used the color picker to select the big orange ring around the edge and discovered that it's RGB was 255, 40, 0. I converted that to hexidecimal (FF 28 00) and used a hex editor to search for that value in Interfaces\Kilo\SonarBB.dll and found three instances. I backed up the file and then changed all the values to FF FF FF (white). Well, it worked like a charm, but I then tried to do the same for the pointer in the narrowband station and it didn't work for some reason. I took a print-screen, pasted to paint, got RGB 90, 16, 0, but when I searched SonarNB.dll for 5A 10 00 I didn't find a single instance. My only guess is that it had something to do with the fact that DW runs in 16-bit color, but I'll have to try some more to see if this has an effect. I think the main problem with this process is the Pain/color-picker method of findout out the value of the color I want to change. I need a way to find the exact hex, or failing that the RGB, of what I want to change to be able to search it. Anyway, if anyone here is familiar with basic DLL hacking or has any other ideas, I really need some help. |
|
|
|
|
