![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
![]() |
#1 |
Fuel Supplier
|
![]()
Several users have complained that GWX2 locks up in 2nd-stage loading with the RealWeatherFix.
I have spent the evening installing GWX2 on my computer and can confirm that there is a problem. Loading of files in second-stage loading does indeed occur after 5% has loaded, and it is necessary to exit with ctrl-alt-delete, and close down SH3. The problem does NOT lie with the executable program RealWeatherFix.exe. This executes exactly as planned. The replacement files that it creates (campaign_LND/RND/SCR.mis and scene.dat) are *exactly identical* (using a machine file comparer) to those that I make by manual alteration of the same files. The problem does NOT lie with the modified campaign files either. Using the GWX2 original file scene.dat, the modified campaign files are perfectly happy to load. The problem DOES lie with the large GWX2 file 'scene.dat', which, after receiving our weather modifications either automatically (with RealWeatherFix.exe) or manually by me, refuses to load the campaign files thereafter. I have absolutely no idea why this problem occurs. In the meantime, I regret greatly that the large number of users of GWX2 cannot use our weather fix. Since I do not wish to be accused of deliberate attempts to sabotage GWX2 users, I shall be happy to collaborate with any of the GWX team who wishes to seek to correct the GWX2 scene.dat file. (Send me a PM). I can confirm that simply restoring the back-up files that RealWeatherFix mod creates will restore GWX2 to its original state. In the meantime, to avoid further confusion, I have *removed the RealWeatherFix mod from the FileFront website*, pending a change to the documentation to exclude GWX2 users. Apologies to those who may have suffered difficulties in consequence of using this mod. Stiebler.
__________________
NYGM Tonnage War Mod - More than a mod: it's an experience! |
![]() |
![]() |
![]() |
#2 |
Ocean Warrior
![]() Join Date: Sep 2006
Location: Connecticut
Posts: 2,507
Downloads: 145
Uploads: 0
|
![]()
Keep plugging away at it !!! It sounds like you guys are on the right track ! Maybe you can get the RealWeather Fix into the next GWX release.
![]() If both the NYGM and GWX teams got on this issue together, I imagine that a lot of issues could be solved ! Thanks for doing this for the community !!! ![]()
__________________
![]() ![]() ![]() ![]() |
![]() |
![]() |
![]() |
#3 |
GWX Project Director
|
![]()
Thanks Stiebler. Will contact you just as soon as I can get clear of some RL matters.
I'm curious as to why it won't work as well. We'll get it sorted I'm sure. ![]() |
![]() |
![]() |
![]() |
#4 |
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. |
![]() |
![]() |
#5 | |
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). |
|
![]() |
![]() |
![]() |
#6 |
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. |
![]() |
![]() |
#7 | |
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. |
|
![]() |
![]() |
![]() |
#8 |
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. ![]() |
![]() |
![]() |
#9 |
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! |
![]() |
![]() |
![]() |
#10 |
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! |
![]() |
![]() |
![]() |
#11 |
Rear Admiral
![]() Join Date: Apr 2006
Location: Swindon, England
Posts: 10,151
Downloads: 35
Uploads: 0
|
![]()
No need for apologies
Trying to get something to work with ALL mods isnt easy I am sure everyone appreciated the extra mile in order to make it work with GWX 2 Kudos Stiebler |
![]() |
![]() |
![]() |
#12 | |
The Old Man
![]() Join Date: Apr 2005
Location: The Dutch mountains
Posts: 1,551
Downloads: 64
Uploads: 1
|
Quote:
I'd like to try this mod.
__________________
![]() |
|
![]() |
![]() |
![]() |
#13 | |
Maverick Modder
![]() Join Date: Aug 2007
Location: England
Posts: 3,895
Downloads: 65
Uploads: 3
|
Quote:
__________________
Freedom of speech - priceless. For everything else there's Mastercard. |
|
![]() |
![]() |
![]() |
#14 | |
Commander
![]() Join Date: Apr 2005
Posts: 459
Downloads: 31
Uploads: 0
|
![]()
[quote=Paajtor]
Quote:
|
|
![]() |
![]() |
![]() |
#15 |
Maverick Modder
![]() Join Date: Aug 2007
Location: England
Posts: 3,895
Downloads: 65
Uploads: 3
|
![]()
Yeah, besides, it's a tiny download... even if your connection to FF is crap it'll only take a second.
__________________
Freedom of speech - priceless. For everything else there's Mastercard. |
![]() |
![]() |
![]() |
|
|