View Single Post
Old 04-04-16, 03:07 AM   #30
Stiebler
Fuel Supplier
 
Stiebler's Avatar
 
Join Date: Oct 2005
Location: London, UK
Posts: 1,237
Downloads: 29
Uploads: 4


Default

@Anvar1061:
Quote:
Whether to re-use selector options provided by a package H.sie V16B1, to include H.sie in bad weather Fix in a new SH3.exe file?
Yes, you must use the selector options with H.sie's package in order to disable H.sie's Bad Weather Fix, if you use my envsim.act file.

@LGN1:
Quote:
H.Sie's fix also includes a random initial value for the counter to avoid long periods of the same weather after loading a save-game. Does your fix also solves this annoying issue (the same weather for a long period when loading a save-game)?
Yes. And no.

If you save a patrol, then restart the same patrol without first closing the Silent Hunter III game, then you will restart your saved patrol with exactly the same weather as you saved.

If you save a patrol, then close the whole game down, and then restart Silent Hunter III again, and finally reload your saved game, then usually you will start with a change of weather to mild conditions (light wind, good or fair visibility, no rain). However, on a random small number of occasions, you will continue with the same weather.

The underlying reason is that envsim.act stores its variables in a position fixed relative to where the file is stored in memory. However the initial time value is not zeroed, so that it may be anything. It is updated whenever a foggy storm begins. Moreover, Windows itself stores envsim.act in changing positions in RAM every time that it is loaded (occasionally in the same position, usually not). So reloading a saved game will find the old weather if you have not first closed Silent Hunter III, but will usually (not always) find random data if you close SH3 and reload it. This effect is also responsible for the immediate change of weather that you will often see when leaving base at the beginning of a patrol.

This cheap trick is actually quite effective. Particularly if you change your mind about saving the game, and wish to return immediately to the point where you left the game without effect on weather parameters.

Stiebler.
Stiebler is offline   Reply With Quote