![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
![]() |
#1 |
Stowaway
Posts: n/a
Downloads:
Uploads:
|
![]()
There were changes to the scene.dat in 2.0
If you are useing an absolute address for insertion of hex code? Then Yes, it's misplaced in the 2.0 scene.dats, therefore, the problems. Should be a simple matter to make a new installer to match the adjusted Hex addresses. |
![]() |
![]() |
#2 | |
Navy Seal
![]() Join Date: Apr 2005
Posts: 5,501
Downloads: 19
Uploads: 0
|
![]() Quote:
- water density (UnderwaterFogEnd(Fog)) - wave height (MaxWaveHeight) If the byte offsets to these values are no longer 975 and 691 respectively, then SH3Cmdr users running GWX2 MUST not adjust water clarity or set wave heights (the SH3 options must remain unchecked). |
|
![]() |
![]() |
![]() |
#3 |
Stowaway
Posts: n/a
Downloads:
Uploads:
|
![]()
I'll look into this tonite.
Thanks for pointing it out. ![]() Address 975 shows a value of 15 Address 691 shows a value of 320 So those should be ok, Correct? Now, I'm not sure where the offset begins. I know it's there cause I had to adjust the Commander files before. Easy enuff to find. |
![]() |
![]() |
#4 | |
Navy Seal
![]() Join Date: Apr 2005
Posts: 5,501
Downloads: 19
Uploads: 0
|
![]() Quote:
If these offsets do ever change, then we'll have a small problem - the offsets are hard-coded in SH3Cmdr (2.5 years ago I never considered the internal structure of this file changing - other files, yes, this one, no), meaning that compatibility will only be achieved if I change the code. We'll cross that bridge if we ever have to though. Another file to be mindful of is GUNS_SUB.sim. If the byte offset for reload_time_88 and reload_time_105 ever changes from 10620 and 694, pls let me know as the same problem will apply. |
|
![]() |
![]() |
![]() |
#5 |
Stowaway
Posts: n/a
Downloads:
Uploads:
|
![]()
To my knowledge, very few people ever mess with the Guns_sub files.
There seems to be to many unknowns involved in that area. Quite interesting actually. Why can't we get a fully funtional 37mmTSA on a IID? I can mount it with no problem, but crew don't show and I can't go to it. ![]() |
![]() |
![]() |
#6 |
Fuel Supplier
|
![]()
@Kpt Lehmann:
Thanks for your PM. I shall reply when I've finished reading all the complaints. That may take some time! @Privateer/JScones: I know better than to use fixed byte locations in a data file that can be altered. RealWeatherFix mod looks for the name of the parameter to change, then changes the associated values. The progress report when you run RWF gives clear indication of whether the mod has located (or failed to locate) any parameters. Besides, last night I made manual changes to the GWX2 scene.dat file, to install the same weather values. The hand-made file is identical to the mod-made file, and both cause GWX2 to freeze during second-stage loading. I am truly baffled as to the cause. Subtype Zero, a GWX user, has again confirmed that RealWeatherFix works with GWX 1.03. For those not familiar with mod releases, that was the immediate predecessor of GWX2. Stiebler.
__________________
NYGM Tonnage War Mod - More than a mod: it's an experience! |
![]() |
![]() |
![]() |
#7 |
Fuel Supplier
|
![]()
The problem with GWX2 - RealWeatherFix mod lies in the fact that I was testing with the wrong file scene.dat for GWX2. The real one is *twice* as long! As a result, maximum buffer size allocated in the mod was too small for GWX. The GWX-2 file is an incredible 905 Kbytes. The cause of the problem was that the GWX-2 file was being truncated. [So why not use a dynamic buffer size? Static buffer sizes are normally much more robust.]
I've fixed this problem - trivial enough - and am testing now. The GWX-2 file loads uneventfully now. A single patrol from Kiel with GWX-2 was also uneventful. Apologies to all GWX-2 users for my blunder. A replacement mod 'RealWeatherFix2.zip' will be available from the previous filefront address by the end of today (UK time). http://hosted.filefront.com/TeddyBar/ Stiebler.
__________________
NYGM Tonnage War Mod - More than a mod: it's an experience! |
![]() |
![]() |
![]() |
|
|