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 08-28-11, 05:36 AM   #11
Stiebler
Fuel Supplier
 
Stiebler's Avatar
 
Join Date: Oct 2005
Location: London, UK
Posts: 1,235
Downloads: 29
Uploads: 4


Default 4 Gbyte fix / CTDs caused by reloads of saved games

Concerning 4GByte fix for SH3:
This fix consists of just ONE byte changed, from 0x0F (original) to 0x2F (fix).

I have checked the code of the Options Selector, and there is no problem with it.
However, it is my understanding that the 4GByte fix should be used only with 64-bit computers. This is marked clearly on the Options Selector dialog box, and in its documentation. Some users here seem to be using it with 32-bit computers. (I believe that there is a 3-Gbyte fix for users of 32-bit computers, but I have no personal knowledge of it.)

Concerning CTDs from saved games:
This an old problem, made worse by the size and number of extra mods. The original devs saved an unexamined binary data stream from computer memory to disk, and then, when the user reloads a saved game, the same data stream is read back in again, also unexamined.

The scope for problems here is large, since new added mods may have corrupted part of the original binary data stream, or may have not been saved properly as part of the data stream (there is probably some limit on how much can be saved).

Almost all the problems with saved games seem to occur when one makes the original save:
1. Close to other spawned objects;
2. (Especially) after certain large convoys have spawned nearby, after which it does not matter when you save the game - it will still be corrupt when reloaded.


I think it is very unlikely that H.sie's changes to SH3 code will cause CTDs during reload of a saved game. In my experience, and having checked the original code for reloading saved games, the problem lies with extra units (ships/aircraft/land-objects) which were not part of the original game. For some reason, some of these units cause defective reloads from saved games. I believe that the problem may be caused by IDs (internal identities of the units), perhaps accidentally clashing with other identical IDs, but I cannot confirm this belief.

It is a fact that, the more mods with extra units you add to the game, the more likely it is that a CTD will occur when reloading a saved game. In this respect, particularly common dangers are:
1. Sergbuto's AI subs. It is very hard to reload a saved game after these AI U-boats have been spawned.
2. One of DTW's mods developed for SH5, concerning new depthcharges, and released for SH3 (now withdrawn for SH3).
3. Some of the ships of IABL's giant merchant fleet mod. No one seems to be sure which are the offenders.

There may be others too. Please note that I am naming the modders solely for identification of particular mods which have proved to be troublesome, and not because I intend any criticism. It is very hard to test any mod in all environments, and the cause of CTDs from saved games remains uncertain (despite my guess, above).

H.sie has stated that his planned wolf-pack mod will rely on Sergbuto's AI U-boats. My advice to all users is:
do not expect to reload games you have saved after an attack by wolf-packs.

Stiebler.
Stiebler is offline   Reply With Quote
 

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 09:53 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.