PDA

Просмотр полной версии : Sonar Color Display Change


Fearless
02-02-2012, 05:46
Could anyone advise how I can change the Sonar Display Color from Orange to Blue in the Collins Class Sub?

This would be greatly appreciated.

dasOoops
02-02-2012, 14:04
See in Internet. Sometime back (~ 2 - 3) years someone talk how change colors for stations. At Kilo/Akula. But algorithm, I think, one. (Has programm and short docs for this,
but its old and on russian)

Fearless
08-02-2012, 06:55
Checked it and doesn't make sense.

Anyone???

dasOoops
08-02-2012, 13:34
Sorry, I dont know from i got it (more times ago...).
So, in attachment - two files (program and short manual in russian).
Note: program I am NOT use. I.e., use on own risk
P.S. Colors of coordinate grid are in bmp-files (unpack grp-file, edit in photoeditor, pack back)

dasOoops
08-02-2012, 19:49
For Collins Sonar's lines color:
Interfaces/NON_NUKE_SUB/SonarBB.dll offset 0x16048 RR GG BB
Interfaces/NON_NUKE_SUB/SonarNB.dll offset 0x14184 RR GG BB
where: RR GG BB - bytes amount Red Green Blue; [0;0xff]
Make backup copy original dlls!!! :)

Fearless
17-02-2012, 08:12
For Collins Sonar's lines color:
Interfaces/NON_NUKE_SUB/SonarBB.dll offset 0x16048 RR GG BB
Interfaces/NON_NUKE_SUB/SonarNB.dll offset 0x14184 RR GG BB
where: RR GG BB - bytes amount Red Green Blue; [0;0xff]
Make backup copy original dlls!!! :)

Much appreciated but this doesn't make any sense to me.

I wouldn't know what program to use and what lines to change.

Thanks anyway.

dasOoops
17-02-2012, 15:04
Use any editor for binary files (hiew - http://hiew.ru/, WinHEX).
Open dll-file in binary editor
Select offset
Edit bytes
Save result
:)

Remark: not edit LINES, edit THREE bytes at needed offset in needed dll-file

Fearless
20-02-2012, 08:38
Use any editor for binary files (hiew - http://hiew.ru/, WinHEX).
Open dll-file in binary editor
Select offset
Edit bytes
Save result
:)

Remark: not edit LINES, edit THREE bytes at needed offset in needed dll-file

Thanks for the response but I just don't know what you mean by 'Edit Bytes' I've no idea what it looks like in the dll file and certainly don't know where within that .dll file it is located.

dasOoops
20-02-2012, 14:21
For hiew:
1. Copy hiew.exe (or hiew32.exe) to folder contains file to edit.
2. Run hiew from this folder.
3. Select file to edit from list (cursor buttons - navigate, press Enter - choose file, Names in 8.3 format,
i.e. file Tra-lja-lja.dat shown as Tra-lj~1.dat).
4. Press F4 and choose "Hex" mode.
5. Press F5 and type offset (without symbols 0x in start! Look entered offset at left top of window).
Press Enter (contains of file scrolled to selected offset).
6. Press F3 and type new vlaues of bytes.
7. Press F9 to save changes (note: no backup copies created!!, No date/time of file modified).
8. Press ESC to quit from hiew.

(I am use old dos-version of hiew)

Fearless
21-02-2012, 06:56
Again thanks but the instructions don't make sense to me. Perhaps a picture showing the location you're trying to identify will help.

dasOoops
21-02-2012, 16:13
Short manual to edit files with hiew (with pictures).

Fearless
02-03-2012, 03:40
Thanks dasOoops,

All sorted.

dasOoops
02-03-2012, 14:31
Good hunting, Fearless !!