View Single Post
Old 08-22-12, 10:37 AM   #7
RickR
Sailor man
 
Join Date: Dec 2009
Location: Central Asia
Posts: 47
Downloads: 62
Uploads: 0
Default

Quote:
Originally Posted by TheDarkWraith View Post
Colors are RGBA values - DirectX style. Alpha, Blue, Green, Red where each one describes a byte value - thus giving 255 possible 'steps' for each component (RGB) or 255 * 255 * 255 = 16 million color combinations (with Alpha).
That makes sense now that you mention 'DirectX style' but I was talking about 'changing the default hydrophone volume' to loudest (1.0).

""How to patch your sh5.exe for v0.0.4 (change default hydrophone volume):
NOTE: stock value (as seen in hex editor) is 6666663F (which is 0.9)
- make a backup of your sh5.exe file
- open the sh5.exe file with a hex editor
- go to address 0x346690 and change the 4 bytes to the volume level wanted (0.0 to 1.0 where 0.0 is no volume, 1.0 is max volume)
- save the file"

I'm not sure what I'm missing but cannot figure out how 66 66 66 3F is 0.9 so that I know what to put in there for max volume 1.0. It's not real important but driving me nuts!

Rick
RickR is offline   Reply With Quote