![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
![]() |
#5341 |
Watch
![]() Join Date: Jan 2016
Posts: 22
Downloads: 192
Uploads: 0
|
![]()
Hello. Mod is Wonderful! But.. When the leaks are removed, the water is not removed, and after ascending, the carbon dioxide is not vented. Is this a bug?
|
![]() |
![]() |
![]() |
#5342 |
CTD - it's not just a job
|
![]()
No, not a "bug" per se, but a "design feature" of the interaction of stock SH4 in the 'modern' Windows OS. SH4 is an old DirectX v9 game, written basically to the Windows XP paradigm with single-threaded processes. No "virtual" threads and no multi-core cpus - they were only dreamed of for user computers. The 'modern' Windows (Vista version and later) can "virtualize" the computer and "sandbox" the SH4 game into a segmented area of the computer memory (hence the use of LAA or the 4Gig Patch). As such, SH4 has no idea when "the game" loses focus with Windows, such as if you shell-out and use the calculator or do email. The game assumes it has exclusive use of all hardware. The "shelling-out" can also happen from Windows itself, if you have a background process running (usually in the systray) that "interrupts" the normal operation of the User's work, such as 'Notifications' from the systray. When the game does lose focus, Windows will at times re-assign the resources, such as the video stream or the audio stream to a different process to use while SH4 is "paused" (by the OS). When you return to the game, it does not always receive its resources back at the same memory address, and that results in those little nigglies and nargles you are experiencing. The game does not like being "interrupted" like that.
It can be difficult, if you have a lot of "background" processes running, to prevent the system from shelling-out on you, but try to avoid the situation. If you do notice that the CO2 will not clear within 30 seconds of surfacing, then Save the game immediately. Exit the game to the desktop. Reload the SH4 game, and then Load the Save game to continue. The O2 should then be restored and CO2 cleared. All graphic anomalies should also clear. This applies to all of the SH series games, and probably most other DirectX v9 games. Leaks can be a beast of a different stripe, though the shelling-out can cause a similar issue as above. At its root, the repair process has a "timer" for each repair, as found in the game's configuration files. As an example, a "Small Leak" might take fifteen minutes to repair, while a "Medium Leak" might take two hours, and a "Large Leak" might take eight hours, and this "game timer" for the repairs only begins after you put the repair team to work, either directly, or while at Battle Stations. If that "game timer" gets interrupted, the process starts all over, no matter what interrupts the "game timer" (which happens to be a DirectX v9 Library timer). The "shelling-out" issue does interrupt the timer, as does Saving the game and exiting, both of which seem counter-intuitive, but that is the way the DirectX v9 Library stuff functions (or fails to... ![]() ![]() ![]() |
![]() |
![]() |
![]() |
#5343 |
Watch
![]() Join Date: Jan 2016
Posts: 22
Downloads: 192
Uploads: 0
|
![]()
Thank you sincerely for your reply. And could it be that some mods are more susceptible to this than others?
|
![]() |
![]() |
![]() |
#5344 | |
Ocean Warrior
![]() |
![]() Quote:
no. shelling out (alt-tab to windows to do other stuff) is consistently bad. don't do it. ![]() i'll add another don't: don't change mods while you are on a mission. or in a positive manner: change mods only while in port between missions and, when you do this, delete your savefolders under this subfolder: Documents\SH4\data\cfg ![]()
__________________
there are only two things in the world: submarines and targets. Fortis et stabilis et fidelis, semper ![]() ![]() ![]() ------------------------------------------------------------ Silent Hunter 4 1.5 Gold Edition on CDROM LAA enabled Dell XPS with 32 GB Ram running Win10 |
|
![]() |
![]() |
![]() |
Thread Tools | |
Display Modes | |
|
|