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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 10-21-10, 06:41 AM   #11
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
 


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 04:00 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.