SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   SHIII Mods Workshop (https://www.subsim.com/radioroom/forumdisplay.php?f=195)
-   -   [REL]Bad weather fix for SH3 (https://www.subsim.com/radioroom/showthread.php?t=177507)

Reece 12-13-10 04:36 AM

Quote:

There was just one continuous period of eight days of 'foggy-storm' off the USA in my patrols with the H.sie fix (two days with 15 m/s winds, medium visibility; six days with 15 m/s winds, heavy rain, heavy fog).
Bummer!!:cry:

h.sie 12-13-10 04:41 AM

65 downloads in 2 days. I would be glad to see more test reports.

h.sie 12-13-10 05:04 AM

@Stiebler: Your 6-days-period of storm made me sad. I never had that during my tests. So I'll have to look into the weather code again but I think I already know the reason:

I remember a scrambler (related to the counter at 0xDD02BC) that causes a bypass of the whole or at least some parts of the weather algorithm in 1 of 3 cases. and obviously, my fixes are also bypassed in 1 of 3 cases what makes them less effective.

I don't know the reason the devs added this scrambler. Maybe to disturb the strong correlation between the random numbers and the generated weather.

If my assumption really is the reason, what I hope, I will program a second version of the fix in which I simply disable the scrambler when I force good weather.

Stiebler 12-13-10 05:49 AM

@H.sie:

I have observed only ONE 6-day foggy-storm in about six game-months of patrols.

I would call that good - it would be very boring to have no week-long storms at all.

Stiebler.

Hitman 12-13-10 01:28 PM

Quote:

By the way: I must disappoint those (e.g. Hitman) who wanted me to program an enhanced weather modelling. Even this "simple" fix consists of about 70 lines of assembler and I fear to lose overview when I make deeper changes.
Oh don't worry, you have done already a huge task in opening the way :yeah: may be someone else will pick it from where you leave it in the future, and we already have a GREAT fix :up:

I haven't been able to do much testing, but I loaded it between saves on a 1942 Drumbeat patrol to the US east coast where I had been already sitting for a week in stormy weather, and after reloading and giving it some time, the weather kicked back to something reasonable. I noticed that in general winds tend to stay higher (>5 m/s and not yet seen 0 m/s) which is a great thing, as you would only rarely see that at Sea except in the tropics on certain seasons.

This has been a tremedous mod for SH3, as it has given us the chance to really play the game as intended -with varied weather- instead of having to do forced fixes like blocking fog at all and reducing waves size.

Quote:

I have observed only ONE 6-day foggy-storm in about six game-months of patrols.

I would call that good - it would be very boring to have no week-long storms at all.
Agree! The important thing is that now you can hope realistically for the weather to improve somewhen, instead of having to go like "Sigh ... finally stuck in bad weather again"

Corsair 12-13-10 06:48 PM

Quote:

Originally Posted by jimbuna (Post 1552577)
Take more water with it :03:

Don't even think about it... Rhum has always been the seaman's friend. I would be cursed by my ancestors till the end of times and would have to rename my sub "Flying Dutchman" :03:

Reece 12-13-10 07:18 PM

Quote:

Originally Posted by Stiebler (Post 1552747)
@H.sie:

I have observed only ONE 6-day foggy-storm in about six game-months of patrols.

I would call that good - it would be very boring to have no week-long storms at all.

Stiebler.

That's a different story, I assumed it was only after one or two patrols!:yep:

makman94 12-14-10 05:14 AM

Congratulations H.Sie !!!!
(and to Stiebler and to all rest envolved)


i play the game again (thanks to this mod) for about two days now and all that i can say is that i 'love' the way of weather's behaviour . i haven't see till today anything that annoyed me ....weather is changing as often as about every 12 hours ...not always as for windspeed .sometimes is stick at a given windspeed and changes only the visibility !
realy ,did that happened before ? haven't notice it....
anyway, i really like the weather now !!

H.Sie....also the last version of sh3.exe is working excellent !!

bravo ! bravo !

h.sie 12-14-10 07:14 AM

Thanks makman,

that's a nice christmas present for me.:)

Delareon 12-14-10 10:25 AM

Not sure in which of your both threads i have to ask this so i do it here:
i want to use your latest exe and the weather fix together.
Do i just need to install the exe stuff as described and activate the weather fix with jsgme?
Or is there some extra magic i didnt see so far?

h.sie 12-14-10 10:53 AM

@Delaron: That's exactly correct!

Delareon 12-14-10 02:35 PM

Thanks h.sie, for some reason i expect something like an additional batch file when i use a mod from you so i was thinking i miss something ;)

h.sie 12-14-10 04:24 PM

@Delareon: If it is possible, I of course try to make JSGME compatible mods. I could do that in principle also for sh3.exe, but then I fear to get in conflict with copyright laws.

h.sie 12-14-10 05:58 PM

@Stiebler: Since the resonance to my weather fix V1 is positive, I think about to change the 1st post of this thread. Should I still consider your fix as an alternative or should we restrict on one solution - which is the product of a good cooperation?

I could also give you the (english) commented asm codes, maybe you are interested in enhancing the weather model?

h.sie

h.sie 12-16-10 03:37 PM

New version "Weather Transitions Test Fix V2" is available.

This is a weather fix ONLY for watching the weather transitions
in order to eventually adjust some parameters in scene.dat like
e.g. FogChangeSpeed.

What does this mod do?
----------------------
It triggers a weather change from "good weather" to "bad weather"
and back to "good weather" and so on exact EVERY 30 minutes.

Compatibility
-------------
- Should work with every sh3.exe.
- Tested with WinXP/32Bit and Win7/64Bit.

Version History
---------------
V2: Bugfix: Weather did not always change from good to bad and back.
V1: First Version

Download: My Mediafire page, Folder: "Testing"


All times are GMT -5. The time now is 06:00 AM.

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.