SUBSIM Radio Room Forums



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

Go Back   SUBSIM Radio Room Forums > Modern-Era Subsims > Dangerous Waters > DW Mod Workshop
Forget password? Reset here

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 09-11-09, 11:05 PM   #5
NFunky
Machinist's Mate
 
Join Date: Dec 2007
Posts: 127
Downloads: 3
Uploads: 0
Default

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.
NFunky is offline   Reply With Quote
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 10:12 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.