SUBSIM Radio Room Forums



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

Go Back   SUBSIM Radio Room Forums > Silent Hunter 3 - 4 - 5 > SH4 Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 05-16-07, 10:03 AM   #16
Redwine
Sea Lord
 
Join Date: Jan 2002
Location: San Martin de los Andes, Neuquen, , Argentina.
Posts: 1,962
Downloads: 9
Uploads: 0
Default

Quote:
Originally Posted by Mav87th
Great mod

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.

Redwine is offline   Reply With Quote
Old 05-16-07, 11:09 AM   #17
Julius Caesar
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

I have been trying to mod it as you have described but data seems to be different... :hmm:
  Reply With Quote
Old 05-16-07, 12:12 PM   #18
Redwine
Sea Lord
 
Join Date: Jan 2002
Location: San Martin de los Andes, Neuquen, , Argentina.
Posts: 1,962
Downloads: 9
Uploads: 0
Default

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 !
Redwine is offline   Reply With Quote
Old 05-16-07, 12:52 PM   #19
Mav87th
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

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

Thanks for the values Redwine
  Reply With Quote
Old 05-16-07, 01:20 PM   #20
Julius Caesar
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

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
  Reply With Quote
Old 05-16-07, 03:30 PM   #21
Redwine
Sea Lord
 
Join Date: Jan 2002
Location: San Martin de los Andes, Neuquen, , Argentina.
Posts: 1,962
Downloads: 9
Uploads: 0
Default

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...

Last edited by Redwine; 05-16-07 at 03:40 PM.
Redwine is offline   Reply With Quote
Old 05-16-07, 03:34 PM   #22
Redwine
Sea Lord
 
Join Date: Jan 2002
Location: San Martin de los Andes, Neuquen, , Argentina.
Posts: 1,962
Downloads: 9
Uploads: 0
Default

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....
Redwine is offline   Reply With Quote
Old 06-06-07, 12:16 PM   #23
Viliotti
Swabbie
 
Join Date: Jun 2007
Location: São Paulo, Brazil
Posts: 12
Downloads: 1
Uploads: 0
Default

Nice one dude, thanks!
__________________
Proud to be Brazilian!
------------------------------------------------

------------------------------------------------
Viliotti is offline   Reply With Quote
Old 06-06-07, 12:32 PM   #24
Redwine
Sea Lord
 
Join Date: Jan 2002
Location: San Martin de los Andes, Neuquen, , Argentina.
Posts: 1,962
Downloads: 9
Uploads: 0
Default

Quote:
Originally Posted by Viliotti
Nice one dude, thanks!
Many thanks !
Redwine is offline   Reply With Quote
Old 06-10-07, 02:49 PM   #25
robbierob2005
Watch Officer
 
Join Date: Jun 2006
Location: Beneath the surface.....
Posts: 334
Downloads: 83
Uploads: 0
Default

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.
robbierob2005 is offline   Reply With Quote
Old 06-10-07, 04:49 PM   #26
Redwine
Sea Lord
 
Join Date: Jan 2002
Location: San Martin de los Andes, Neuquen, , Argentina.
Posts: 1,962
Downloads: 9
Uploads: 0
Default

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
Redwine is offline   Reply With Quote
Old 06-11-07, 07:07 AM   #27
CaptainHaplo
Silent Hunter
 
CaptainHaplo's Avatar
 
Join Date: Apr 2007
Posts: 4,404
Downloads: 29
Uploads: 0
Default

Redwine,

You've done it again mate! Excellent work! Let me add my thanks to those already listed.
__________________
Good Hunting!

Captain Haplo
CaptainHaplo is offline   Reply With Quote
Old 07-16-07, 01:46 PM   #28
Excalibur Bane
XO
 
Join Date: Oct 2005
Posts: 429
Downloads: 20
Uploads: 0
Default

Any chance this will be updated for 1.3? I tried it on 1.3 already, no go.
__________________
Looking for a list of mods for SH4? Everything you need is here: List Of Modifications for SH4 v1.3

"The only thing necessary for evil to triumph, is for good men to do nothing."
Excalibur Bane is offline   Reply With Quote
Old 07-16-07, 03:26 PM   #29
Redwine
Sea Lord
 
Join Date: Jan 2002
Location: San Martin de los Andes, Neuquen, , Argentina.
Posts: 1,962
Downloads: 9
Uploads: 0
Default

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.
Redwine is offline   Reply With Quote
Old 07-16-07, 06:03 PM   #30
Excalibur Bane
XO
 
Join Date: Oct 2005
Posts: 429
Downloads: 20
Uploads: 0
Default

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.
__________________
Looking for a list of mods for SH4? Everything you need is here: List Of Modifications for SH4 v1.3

"The only thing necessary for evil to triumph, is for good men to do nothing."
Excalibur Bane is offline   Reply With Quote
Reply


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 12:36 AM.


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