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 08-26-11, 10:55 AM   #1981
Capt. Morgan
Commander
 
Join Date: Dec 2009
Location: Just east of the west coast.
Posts: 463
Downloads: 424
Uploads: 0
Default

@h.sie

Thanks for your reply and help.

I have tried to enable the 4GB patch from Stieblers Option Selector several times - always without success. However, as you suggest, It is possible that I may have made other changes at the same time which effected the result.

I'm going to repeat your test...

Quote:

1) I applied the 4GB-patch using Stieblers Options Selector. Saved the patched file as sh3a.exe.

2) I applied the 4GB-patch using the NTCore from your post. Saved the patched file as sh3b.exe.

Compared both files using > fc /b sh3a.exe sh3b.exe
...on a clean un-modded SH3 install, altering nothing but sh3.exe. and I'll report back. I won't be back at my game computer until tomorrow night, so this'll take a day or so.

Again, thanks
__________________
There are no great men, only great challenges that
ordinary men are forced by circumstances to meet.
-- Admiral William Halsey


Last edited by Capt. Morgan; 08-26-11 at 11:46 AM.
Capt. Morgan is offline   Reply With Quote
Old 08-26-11, 12:45 PM   #1982
Wolfstriked
Grey Wolf
 
Join Date: Apr 2011
Posts: 756
Downloads: 238
Uploads: 0
Default

Stiebler,can it not be added straight to the hardcode patch and installed via the checklist?Either way thanks for your work
Wolfstriked is offline   Reply With Quote
Old 08-28-11, 12:50 AM   #1983
Stoli151
Helmsman
 
Join Date: Apr 2010
Location: underwater
Posts: 107
Downloads: 333
Uploads: 0
Default

@Capt.Morgan I also experience these save CTD. It also seems to come from using patch. I rarely experienced these before but now they are to the point the game is almost unplayable for me. Hopefully this can be solved by removing the 4gb patch as you have suggested. I will do some testing of my own. Highly interested in your results.

@hsie Do not think I am bashing your most excellent mod. It has raised my level of enjoyment of this game significantly. But something is wrong with my installation when I cannot load a single saved game without a CTD, when this occured very rarely before. However its probably something I have done wrong. Is it possible to have a mod conflict? I thought since your patch changed the exe. and is not actual file changes that this could not happen. I will try disabling all mods except your patch and go into a patrol and see what happens. I will also try Capt.Morgans suggestion, then report back.
Stoli151 is offline   Reply With Quote
Old 08-28-11, 04:52 AM   #1984
h.sie
Admiral
 
Join Date: Jul 2008
Posts: 2,192
Downloads: 135
Uploads: 0


Default

@Stoli et al: Reporting a CTD isn't bashing my work.

But I am careful with CTD reports in the meantime, because most of them have been caused by corrupted or highly-modded sh3 installations. Or because MODs configuration has been changed between save and reload of a game. There are also people who have CTD on fresh sh3 installs without my fixes and without any additional mods. I NEVER had any CTD while save/reload. Isn't that funny? On the other hand: Although I try to work as accurate as possible, I cannot guarrentee that my Fixes are 100% stable (no programmer can guarantee that!).

* So if you have a CTD, please try to reproduce and isolate it!

* Did you patch the exe or change any mods between saving and reloading a game?

It is important to ISOLATE the cause of the CTD, which can be a time-consuming work. I don't have CTDs during my tests, so I cannot help in this point. If I had lots of CTDs, I wouldn't have started to mod sh3, because it wouldn't be worth all my effort.

So I can only give an suggestion how to ISOLATE the cause of CTD as follows:

1) Make a backup of your current sh3-installation AND the "SH3"-folder in "Own Documents" or similar for later use.

2) Make a fresh installation of sh3 and your supermod WITHOUT ANY MODS and FIXES from me. Also, delete the SH3-folder in "Own Documents" or similar. Now, start sh3 and make a save & reload. If a CTD occurs, please send me the savegame. The CTD should be reproduceable.

3) Now, choose your most important MOD/FIX and activate it. BUT: Delete the SH3-folder before starting sh3. Make a save and reload. Does it work?

4) Choose the 2nd important MOD/FIX and activate it. But delete the SH3 folder before starting sh3. Make a save and reload.

5) Continue with the 3rd important MOD and so on and so on, until you have a CTD when saving/reloading.

IMPORTANT: NEVER load a savegame that has been created with a different MOD/Patch configuration. Also: Don't forget to delete the SH3-folder.

This procedure can help to find the reason for the CTD. I know, it will take a lot of time to make these tests, but sorry to say: I see no other solution, if you want to use my fixes.

h.sie
__________________
My Mediafire page: http://www.mediafire.com/hsie

Last edited by h.sie; 08-28-11 at 06:01 AM.
h.sie is offline   Reply With Quote
Old 08-28-11, 05:36 AM   #1985
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
Old 08-28-11, 06:08 AM   #1986
h.sie
Admiral
 
Join Date: Jul 2008
Posts: 2,192
Downloads: 135
Uploads: 0


Default

@Stiebler: Thanks for helping.

Regarding sergbutos AI-Subs: I made save/reload tests with spawned AI-Subs and never had CTD. Anyway, LGN1 cloned the AI-Subs and gave them new and unique ID's to be on the secure side.

Before publishing our Wolfpack-Mod, we will of course also do save/reload - tests.

H.Sie
__________________
My Mediafire page: http://www.mediafire.com/hsie
h.sie is offline   Reply With Quote
Old 08-28-11, 06:17 AM   #1987
SquareSteelBar
Sea Lord
 
Join Date: May 2006
Location: U-73
Posts: 1,635
Downloads: 632
Uploads: 0
Default

Quote:
Originally Posted by h.sie View Post
...LGN1 cloned the AI-Subs and gave them new and unique ID's to be on the secure side...
IIRC did that, too, long time ago with that sub on my installation - no CTD anymore.
SquareSteelBar is offline   Reply With Quote
Old 08-28-11, 06:32 AM   #1988
h.sie
Admiral
 
Join Date: Jul 2008
Posts: 2,192
Downloads: 135
Uploads: 0


Default

what does IIRC mean?
__________________
My Mediafire page: http://www.mediafire.com/hsie
h.sie is offline   Reply With Quote
Old 08-28-11, 06:39 AM   #1989
SquareSteelBar
Sea Lord
 
Join Date: May 2006
Location: U-73
Posts: 1,635
Downloads: 632
Uploads: 0
Default

If I remember correctly....
SquareSteelBar is offline   Reply With Quote
Old 08-28-11, 12:14 PM   #1990
Stoli151
Helmsman
 
Join Date: Apr 2010
Location: underwater
Posts: 107
Downloads: 333
Uploads: 0
Default

I didn't know the dark wraiths mods for sh5 converted to sh3 were causing some CTDs. I do have his DC mod enabled, so now that Stiebler has said that, it is most likely the culprit. I do have Win 7 64bit so the 4gb patch shouldn't be the cause then. I will do a clean install, no mods except patch and see what happens.
Stoli151 is offline   Reply With Quote
Old 08-28-11, 12:36 PM   #1991
Magic1111
Silent Hunter
 
Join Date: Sep 2008
Location: Germany - Sailing on U-96 in North Atlantic
Posts: 4,516
Downloads: 784
Uploads: 0


Default

Quote:
Originally Posted by Stoli151 View Post

...

I do have his DC mod enabled

...
Yes, I can confirm that. The DC MOD from TDW for SH3 doesn´t work, with this MOD enabled I can´t load ANY savegame, no chance !

Without this MOD all works perfect !

Best regards,
Magic
__________________
Magic1111 is offline   Reply With Quote
Old 08-28-11, 12:44 PM   #1992
A6Intruder
Seasoned Skipper
 
Join Date: Aug 2006
Location: Germany
Posts: 662
Downloads: 22
Uploads: 0
Quote:
Originally Posted by Magic1111 View Post
Yes, I can confirm that. The DC MOD from TDW for SH3 doesn´t work, with this MOD enabled I can´t load ANY savegame, no chance !

Without this MOD all works perfect !

Best regards,
Magic
I could`nt confirm this as it stands. TDW Mods "Ejecting Pilots and Ship-plane fire damage" working fine. Only " Water disturbance" causes CTD`s.
Best regards
A6Intruder is offline   Reply With Quote
Old 08-28-11, 12:48 PM   #1993
Magic1111
Silent Hunter
 
Join Date: Sep 2008
Location: Germany - Sailing on U-96 in North Atlantic
Posts: 4,516
Downloads: 784
Uploads: 0


Default

Quote:
Originally Posted by A6Intruder View Post
I could`nt confirm this as it stands. TDW Mods "Ejecting Pilots and Ship-plane fire damage" working fine. Only " Water disturbance" causes CTD`s.
Best regards
That´s exactly what I mean !

I "quote" the DC MOD from Stoli151 and my Reply related only to the DC MOD from TDW, not the others. The other MODs from TDW for SH3 works fine for me too !

Best regards,
Magic
__________________
Magic1111 is offline   Reply With Quote
Old 08-28-11, 04:37 PM   #1994
h.sie
Admiral
 
Join Date: Jul 2008
Posts: 2,192
Downloads: 135
Uploads: 0


Default

Exactly 1 year ago I started this thread. It was a very interesting year.
__________________
My Mediafire page: http://www.mediafire.com/hsie
h.sie is offline   Reply With Quote
Old 08-28-11, 04:43 PM   #1995
Myxale
Admiral
 
Join Date: Feb 2006
Location: PQ AN 25
Posts: 2,170
Downloads: 70
Uploads: 0
Default

One year already??

Well, at least you can say it has been a busy one!
__________________
SH3+GWX
SH5+WoS
Still Sailing....still Deep

Myxale 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 04:08 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.