SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   SH4 Mods Workshop (https://www.subsim.com/radioroom/forumdisplay.php?f=219)
-   -   [REL] Improved Underwater Visibility Stage 2... (https://www.subsim.com/radioroom/showthread.php?t=112431)

Redwine 05-16-07 10:03 AM

Quote:

Originally Posted by Mav87th
Great mod :up:

Redwine would you please write what value you have made changes to so i can change them my self on my modded Scene.dat file.

Here the readme to edit SH III file, i used to edit SH IV too....

Recover of good underwater visibility, to back it to stock setting or to improve it beyond this point.
Open the file scene.dat with an Hexagecimal Editor and modify the following lines



1]
Valor Original/ Original Value : (-4)
0003C8 6F 67 00 00 00 80 C0 00 @@....Fog....A.

Valor Visibilidad Bajo el Agua Mejorada/ Improved Underwater Visibility : (-3)
0003C8 6F 67 00 00 00 40 C0 00 @@....Fog...@A.

2]
Valor Original/ Original value : (18)
0003C8 6F 67 00 00 00 80 C0 00 00 90 41 00 ..A.PF<....UpLight

Valor Visibilidad Bajo el Agua Mejorada/ Improved Underwater Visibility : (21)
0003C8 6F 67 00 00 00 40 C0 00 00 A8 41 00 ..¨.PF<....UpLight

3]
for improved underwater visibility set Original value :
Valor Original/ Original Value : (120)
0019de 44 69 73 74 61 6e 63 65 00 00 00 f0 42 MinDistance…öB

4]
Valor Original/Original Value : (180)
0019f4
73 74 61 6e 63 65 00 00 00 34 43 MaxDistance…4C

Valor Visibilidad Bajo el Agua Mejorada/ Improved Underwater : (300)
0019f4 73 74 61 6e 63 65 00 00 00 96 43 MaxDistance….C




You can play with the values at your pleasure, you need a Hexadecimal converter

Hexagesimal to Decimal/ Decimal to hexagesimal

and a Hexeditor....

If you need them, ask me, i can upload them for you.

:up::up::up:

Julius Caesar 05-16-07 11:09 AM

I have been trying to mod it as you have described but data seems to be different... :hmm:

Redwine 05-16-07 12:12 PM

Quote:

Originally Posted by Julius Caesar
I have been trying to mod it as you have described but data seems to be different... :hmm:

Yes... that is the data to mod SH III....

But basically it is the same for SH4.... the blue numbers may be diferent, and many more, but you must to search the file for the text.... and numbers.... (use Hexeditor search engine)

In example.... from (-3) to (-4)

00 00 80 C0 00 @@....Fog....A.

to

00 00 40 C0 00 @@....Fog...@A.


Or in example... from (18 m) to (21 m) .....


00 00 90 41 00 ..A.PF<....UpLight

to

00 00 A8 41 00 ..¨.PF<....UpLight

You can use the value you want... 21, 30, 40...

(remember to input the numbers in inverse order into the hexadecimal converters...)

In example... 21.... is .... 41 a8 00 00


Do not worry to still asking if you need more help... you are welcome ! :up:

Mav87th 05-16-07 12:52 PM

Well the Mini Tweeker makes it a tad more easy.....:hmm:

Thanks for the values Redwine

Julius Caesar 05-16-07 01:20 PM

O.K. I have found the diffs:
orig:
80 C0 00 00 90 41

30m mod:
40 C0 00 00 F0 41

60m mod:
40 C0 00 00 70 42

Redwine 05-16-07 03:30 PM

Quote:

Originally Posted by Mav87th
Well the Mini Tweeker makes it a tad more easy.....:hmm:

Thanks for the values Redwine

Sadly the SH III Minitweaker template for Scene.dat doesnt works, and the template i have for SH IV has not all the values above... only the -3 value is present.

May be you have a new or another template version ? :hmm:

I use the Hexeditor method we had used in times when Minitweaker was not abilable...

Redwine 05-16-07 03:34 PM

Quote:

Originally Posted by Julius Caesar
O.K. I have found the diffs:
orig:
80 C0 00 00 90 41

30m mod:
40 C0 00 00 F0 41

60m mod:
40 C0 00 00 70 42

Yes... as Mav87th wrote, it is a little bit more easy using MiniTweaker, but i have not the correct template, but may be it there around...

I use the original SH III method, (Hexeditor) when MiniTweaker was not developed yet....

Viliotti 06-06-07 12:16 PM

Nice one dude, thanks! :smug:

Redwine 06-06-07 12:32 PM

Quote:

Originally Posted by Viliotti
Nice one dude, thanks! :smug:

Many thanks ! :up:

robbierob2005 06-10-07 02:49 PM

Quote:

Originally Posted by Redwine
Quote:

Originally Posted by Mav87th
Well the Mini Tweeker makes it a tad more easy.....:hmm:

Thanks for the values Redwine

Sadly the SH III Minitweaker template for Scene.dat doesnt works, and the template i have for SH IV has not all the values above... only the -3 value is present.

May be you have a new or another template version ? :hmm:

I use the Hexeditor method we had used in times when Minitweaker was not abilable...

Try this versio of the scene.dat tweakefile. I added the underwater "fog-start" and "fog-end" values in this tweakfile.
http://files.filefront.com/Scene_dat.../fileinfo.html

Are there more values missing? perhaps I can add them to the file.

Redwine 06-10-07 04:49 PM

Quote:

Originally Posted by robbierob2005
Quote:

Originally Posted by Redwine
Quote:

Originally Posted by Mav87th
Well the Mini Tweeker makes it a tad more easy.....:hmm:

Thanks for the values Redwine

Sadly the SH III Minitweaker template for Scene.dat doesnt works, and the template i have for SH IV has not all the values above... only the -3 value is present.

May be you have a new or another template version ? :hmm:

I use the Hexeditor method we had used in times when Minitweaker was not abilable...

Try this versio of the scene.dat tweakefile. I added the underwater "fog-start" and "fog-end" values in this tweakfile.
http://files.filefront.com/Scene_dat.../fileinfo.html

Are there more values missing? perhaps I can add them to the file.

Many thanks Robbie... i will download it :up::up::up:

CaptainHaplo 06-11-07 07:07 AM

Redwine,

You've done it again mate! Excellent work! :up: :rock: Let me add my thanks to those already listed.

Excalibur Bane 07-16-07 01:46 PM

Any chance this will be updated for 1.3? I tried it on 1.3 already, no go. :(

Redwine 07-16-07 03:26 PM

Quote:

Originally Posted by Excalibur Bane
Any chance this will be updated for 1.3? I tried it on 1.3 already, no go. :(

Patch v1.3 did not touched the scene.dat file. It is a remain from older patchs (v1.1 or v1.2).

Just reinstall the mod, it must to works fine.

Excalibur Bane 07-16-07 06:03 PM

Quote:

Originally Posted by Redwine
Quote:

Originally Posted by Excalibur Bane
Any chance this will be updated for 1.3? I tried it on 1.3 already, no go. :(

Patch v1.3 did not touched the scene.dat file. It is a remain from older patchs (v1.1 or v1.2).

Just reinstall the mod, it must to works fine.

Oops. Yup, it works. My bad. Forgot it came in two seperate folders. Ended up with 60m and 30m in my main SH4 folder. :oops:


All times are GMT -5. The time now is 03:59 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 1995- 2025 Subsim®
"Subsim" is a registered trademark, all rights reserved.