SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Silent Hunter 3 - 4 - 5 > SHIII Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 10-21-10, 06:41 AM   #1
h.sie
Admiral
 
Join Date: Jul 2008
Posts: 2,192
Downloads: 135
Uploads: 0


Default

by the way: I think I found out why high time compression leads to numerous problems:

there is an internal master routine in sh3.exe that is executed once per second and recalculates millions of variables: weather changes, detection probablilities, every little fart of the crew. this is no problem for modern CPUs, all calculations are done in a fraction of a second. When time compression is 2x, the routine has to be executed twice per second to give an exact simulation. No problem. Even 64x works, the routine is executed 64 times per second.

But when I chose TC=128x on my average PC, the routine cannot be executed 128 times per second, it is only executed about 100 times. the missing 28 calculations are cancelled, because otherwise program flow would be jammed. When I now rise TC to 1024, the routine can still be executed only 100 times per second, but it should be executed 1024 times. this discrepancy leads to very inaccurate, defective simulation results in some aspects.
__________________
My Mediafire page: http://www.mediafire.com/hsie
h.sie is offline   Reply With Quote
Old 10-21-10, 07:37 AM   #2
Hitman
Pacific Aces Dev Team
 
Hitman's Avatar
 
Join Date: Sep 2002
Location: Spain
Posts: 5,991
Downloads: 109
Uploads: 2


Default

Quote:
Hi Hitman,

do you have any sources for the max. speed the periscope could be used? And at what speeds it became useless? I ask because I could not find any real data and there is nothing mentioned in the original U-Boot Handbuch Maybe it's not mentioned because no Kaleun would use it at such speeds because of the higher detection chance?

On a different subject: Can you confirm that the hydrophone could not be used when snorkeling? Do you know the max. sea state at which the snorkel could be used?
I have readed so many books and reports that it's difficult to remember the sources sometimes

Must double check, but IIRC the reference to maximal snorkelling speed comes from Clay Blair's book, and the reference to periscopes from "US submarines through 1945" by Norman Friedman, App. II (Periscopes). Friedman comments the several proposals received by the US Navy from different makers of periscopes and problems encountered, and comments that german subs also had problems when speeding up due to periscope vibrations. In the case of fleet boats this would be even worser, as they had quicker underwater speeds.
__________________
One day I will return to sea ...
Hitman is offline   Reply With Quote
Old 10-21-10, 08:18 AM   #3
Volk2
Medic
 
Join Date: Sep 2010
Posts: 160
Downloads: 25
Uploads: 0
Default

Quote:
Originally Posted by h.sie View Post
But when I chose TC=128x on my average PC, the routine cannot be executed 128 times per second, it is only executed about 100 times. the missing 28 calculations are cancelled, because otherwise program flow would be jammed. When I now rise TC to 1024, the routine can still be executed only 100 times per second, but it should be executed 1024 times. this discrepancy leads to very inaccurate, defective simulation results in some aspects.
Good to know, it's important news. But what aspects do we lose? From what you say the defect should be very big, but do we see any symptoms of it (eg. on 1024) besides the detection problems in game? Are the problems so serious?
__________________
Volk2 is offline   Reply With Quote
Old 10-21-10, 08:28 AM   #4
h.sie
Admiral
 
Join Date: Jul 2008
Posts: 2,192
Downloads: 135
Uploads: 0


Default

I can only talk accurately about the things I tried to fix: Repair times and CO2 production when submerged. These values become inaccurate on high TC compared to low TC. Not very serious.

Regarding the other aspects I have to speculate, because I didn't test it. But I suppose other aspects of the game could suffer much more from these cancelled calculations on high TC, e.g. detection of enemy. Sudden death on high TC without warning........weather changes.......spawning of enemy aircraft......???

This is speculation, not knowledge.

maybe I should have written: "this discrepancy can lead to inaccurate, defective simulation results in some aspects".
__________________
My Mediafire page: http://www.mediafire.com/hsie

Last edited by h.sie; 10-21-10 at 08:42 AM.
h.sie is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 03:52 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Copyright © 1995- 2026 Subsim®
"Subsim" is a registered trademark, all rights reserved.