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 > Silent Hunter 4: Wolves of the Pacific
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 12-09-14, 11:07 PM   #1
suitednate
Planesman
 
Join Date: Jun 2014
Posts: 198
Downloads: 43
Uploads: 0
Default Game crashing infrequently

Just like the title says. No specific situation seems to trigger it. Running this mod load out:


RFB_2.0 (Real Fleet Boat)
RFB_2.0_Patch_23April2010
RSRDC_RFB_V575 (Run Silent Run Deep Campaign)
RSRDC_V5xx_Patch1
Improved Ship Physics 2.15

Also my computer is:
Intel core i5 @ 2.5 ghz
Windows 7 pro 32 bit
4 gigs RAM (also says 2.88 usable? Dunno what this means)
Intel HD Graphics 4000 (yes I'm running on a laptop)


Any ideas?
suitednate is offline   Reply With Quote
Old 12-10-14, 12:07 AM   #2
CapnScurvy
Admiral
 
CapnScurvy's Avatar
 
Join Date: Apr 2005
Location: Dayton, Ohio
Posts: 2,292
Downloads: 474
Uploads: 64


Default

I'd first try using the app "Large Address Aware", to make the game use more memory than what its maximum set amount was when it left the publisher in 2007, which was no more than 2 gigs of memory. You may have more memory than that (you say you've got 4 gigs), but the game won't use any more than 2 gigs unless you force it to.

Second, take the mods out of JSGME "Activation", then run the "Compare Snapshot" feature to compare your original game files (when you first installed the game and JSGME), with what you have now. Comparing stock game files is the only way of knowing whether you still have a good game install or a corrupted one from using mods. Didn't take a "Snapshot" as the instructions in JSGME state? Start over with a good removal of the game, then a clean re install.
__________________


The HMS Shannon vs. USS Chesapeake outside Boston Harbor June 1, 1813

USS Chesapeake Captain James Lawrence lay mortally wounded...
Quote:
.."tell the men to fire faster, fight 'till she sinks,..boys don't give up the ship!"
CapnScurvy is offline   Reply With Quote
Old 12-10-14, 11:39 AM   #3
cdrsubron7
Sink'em All
 
cdrsubron7's Avatar
 
Join Date: Mar 2001
Location: Naperville, IL
Posts: 2,150
Downloads: 305
Uploads: 1


Default

In past times SH4 and Intel graphics were not very compatible. Depending on whether your computer is a desktop or laptop (sounds like the latter with the shared memory) you might want o try installing a third party graphics card.

Of course, Intel might have improved their graphics cards and this isn't the problem, but it still might be something to consider.
__________________



Head Deep and Keep'em Astern" - LtCDR Samuel D Dealy
SHIV Guide | Imperial Japanese Navy | US Submarines



cdrsubron7 is offline   Reply With Quote
Old 12-10-14, 07:22 PM   #4
suitednate
Planesman
 
Join Date: Jun 2014
Posts: 198
Downloads: 43
Uploads: 0
Default

Thanks for the tips all
suitednate is offline   Reply With Quote
Old 12-10-14, 08:43 PM   #5
merc4ulfate
DILLIGAF
 
merc4ulfate's Avatar
 
Join Date: Feb 2007
Location: florida
Posts: 2,058
Downloads: 210
Uploads: 0
Default

Did you do a clean install of the game, a clean install of JSGME and then load the mods?

If you didn't there can be lingering files from moving moded files around.

Taking a snapshot after you have already added mods and then removed them is not a 100% accurate way to get a clean snapshot that is done with a clean install of the game and JSGME and taking the snapshot before anything is ever added.

I know your running Win7 but take advice from this thread and make clean installs.

http://www.subsim.com/radioroom/showthread.php?t=133290

Many troubles from skippers are had by not using clean installs.

Generic Mod Enabler - v2.6.0.157
RFB_2.0
RFB_2.0_Patch_23April2010
RSRDC_RFB_V575
RSRDC_V5xx_Patch1
More_DDs_for_AITorpedoLauncher
Improved Ship Physics_2.15
Classe_Balao_CamoTri
__________________
Self-education is, I firmly believe, the only kind of education there is.
~Isaac Asimov~

Mercfulfate
将補
日本帝國海軍


Last edited by merc4ulfate; 12-10-14 at 09:02 PM.
merc4ulfate is offline   Reply With Quote
Old 12-20-14, 05:41 PM   #6
suitednate
Planesman
 
Join Date: Jun 2014
Posts: 198
Downloads: 43
Uploads: 0
Default

Getting a lot of crashes while trying to load saved games now. I did a "compare snapshot" after removing mods and the sh4.exe file is "different" and SI.bin is "new". Anyone know what this means? Is this what is causing my saved games to crash upon trying to load them?
suitednate is offline   Reply With Quote
Old 12-20-14, 08:02 PM   #7
Sniper297
The Old Man
 
Join Date: Dec 2005
Location: Philadelphia Shipyard Brig
Posts: 1,386
Downloads: 160
Uploads: 19
Default

I'm running Win XP on a desktop with 2 gigs of RAM and a real video card (Nvidia GTX 650) and still get the same thing, so it's probably unrelated to hardware. One random crash I've been trying to chase down is changing from the map to the periscope or bridge view the game crashes to desktop with the standard error message, but no way to duplicate the error - sometimes it does it, most times it doesn't, which makes troubleshooting impossible.

Save games are sometimes a problem, one trick that often works is to load a different save game, delete half of other save games, then try loading the last game that crashes. Example;

4 patrol 7
4 patrol 6
4 patrol 5
4 patrol 4
etc
3 patrol 8
3 patrol 7
3 patrol 6
etc

That two most recent, 4 patrol 7 and 4 patrol 6, crash every time I try to load either one. So I load 1 patrol 1, click on SAVE to get the delete menu, then delete all the odd numbers or all the even numbers from the first three patrols, then try loading 4 patrol 7 again. No idea why, but that usually works.

The random crashes are still a mystery, I've done clean re-installs and moved from the SSD disk to the main C disk to see if there was some sort of conflict with the save games being on a different disk, changed out memory sticks and video cards, defragged, cleaned up the registry, ran virus checkers, all the usual stuff - the program crashes because it's buggy, only way to fix that is play something else.
Sniper297 is offline   Reply With Quote
Old 12-20-14, 10:03 PM   #8
TorpX
Silent Hunter
 
Join Date: Sep 2010
Posts: 3,975
Downloads: 153
Uploads: 11
Default

Quote:
Originally Posted by Sniper297 View Post
I'm running Win XP on a desktop with 2 gigs of RAM and a real video card (Nvidia GTX 650) and still get the same thing, so it's probably unrelated to hardware.


Is 2 GB or RAM enough with that video card?


TorpX is offline   Reply With Quote
Old 12-20-14, 11:28 PM   #9
Sniper297
The Old Man
 
Join Date: Dec 2005
Location: Philadelphia Shipyard Brig
Posts: 1,386
Downloads: 160
Uploads: 19
Default

Got its own 2 gigs of VRAM, no shared RAM. Reason I mentioned XP and the 2 gigs of RAM was to confirm this isn't necessarily a "large address aware" problem like you would have with a modern Win7 or Win8 computer since XP doesn't use anything over 3 gigs anyway.

Operating System: Windows XP Media Edition (5.1, Build 2600) Service Pack 3
Model: Dell DXP051
Power supply: 550 watts
CPU: Intel(R) Pentium(R) D CPU 3.40GHz (2 CPUs)
Memory: 2GB Crucial 667mhz
Video: NVIDIA GeForce GTX650 2GB driver 344.65
Sound: SB Audigy
Hard Drives:
C:Western Digital WD5000AAKX-001CA0 462.0 GB 7200rpm
F:SanDisk SDSSDH120GG25 114.5 GB solid state drive
Sniper297 is offline   Reply With Quote
Old 12-21-14, 12:40 AM   #10
fireftr18
Ocean Warrior
 
Join Date: Feb 2010
Location: Kentucky
Posts: 2,528
Downloads: 77
Uploads: 0
Default

One thing not mentioned is the save issue. The "save" issue is an old, and well known bug. The save file for sh4 is very complicated. The biggest issue now is saving over top of old saves. Eventually, you'll do it so much you actually corrupt the file. Every time you save, it's best to save in a new file. For example, I do a fresh save while still in the office (fireftr). Then each save while on patrol, I simply number the save (fireftr1, etc).
There are some old guidelines to make sure you have the cleanest save possible. Best to save when: nothing is in sensor range, on the surface, clear weather. The more you add, the more complicated the save file becomes and the greater chance of getting a corrupt save. The commonly used computers when sh4 came out did have a problem. The computers now seem to not have a problem.
__________________
Of all the forms of Martial Arts, Karaoke causes the most pain!
fireftr18 is offline   Reply With Quote
Old 12-21-14, 01:06 AM   #11
Sniper297
The Old Man
 
Join Date: Dec 2005
Location: Philadelphia Shipyard Brig
Posts: 1,386
Downloads: 160
Uploads: 19
Default

Agree, if I want a save named 2nd patrol 8 and there's one already with that name, it's best to delete that save and make a new save with the same name. If I just overwrite the existing save I found the problem comes up much more frequently.

Even when I am careful to avoid overwriting it still happens occasionally, when it happens frequently I start looking for causes. Recently I started getting frequent CTD from save games, which is why I made a clean new install on the C drive - I suspected running the game on the F drive (a solid state drive) with the save games on the C drive (hard coded my documents nonsense, what were they thinking?) might be a factor. Probably not though, since once I started adding mods back in it happened on the C drive, so the SSD wasn't the problem.

I should also mention I have the Direct2Drive version patched to 1.4, haven't gotten around to buying the 1.5 patch yet.
Sniper297 is offline   Reply With Quote
Old 12-21-14, 01:06 PM   #12
CapnScurvy
Admiral
 
CapnScurvy's Avatar
 
Join Date: Apr 2005
Location: Dayton, Ohio
Posts: 2,292
Downloads: 474
Uploads: 64


Default

Quote:
Originally Posted by suitednate View Post
I did a "compare snapshot" after removing mods and the sh4.exe file is "different" and SI.bin is "new". Anyone know what this means? Is this what is causing my saved games to crash upon trying to load them?
You haven't told us what you've done since your first post, except using the Compare Snapshot feature of JSGME. I'm going to have to read between the lines to answer your two questions.

You state your "sh4.exe file is different".

Since you haven't said you've used the Large Address Aware app or not, I'm going to assume you have. The reason I say this is that's one of the few things that will change the .exe file of the game. Mods never touch the execution file of the game....but LAA does. If that's true......there's your answer. The LAA app made its expected change to the sh4.exe file.

You state the "SI.bin file is new". That's OK too. The SI.bin is a file created by SH4 every time you start the game. The reason the "Compare Snapshot" feature says it's new is because you had apparently taken the original "Snapshot" before the first start up of the game. If you had run the game, then taken the "Snapshot", the SI.bin file would not have be reported as new. It would have been reported as Same.

So, if that's all that's reported with the "Compare Snapshot" feature.....you're in good shape with your original stock game files.

================

Below is a recent "Compare Snapshot" result from one of my game files. Notice it reports......20045 files are the Same, one file is Different, nine are New, two are Removed.



The one file Different is the same as yours.......Due to the changes made by LAA to the sh4.exe file.

The nine that are New are due to screen photos taken while in-game.

The two Removed are in the picture. I don't know why this happens.....but these two image files of the game are always removed after adding TMO to the game. The two image files are of the stock German ship flags used in-game. For some reason they are lost through JSGME when TMO is added/removed from Activation. I just keep a copy of the two flag images in another folder to replace them when I find they aren't put back in their place by JSGME. This is exactly why any gamer adding/removing mods with JSGME should keep the original stock game files as a "Snapshot" for future reference.

Knowing which files are Different, New, or Removed will help in keeping your game running as expected.....as long as you know which files are effected.

=================

Quote:
Originally Posted by Sniper297 View Post
.......I mentioned XP and the 2 gigs of RAM was to confirm this isn't necessarily a "large address aware" problem like you would have with a modern Win7 or Win8 computer since XP doesn't use anything over 3 gigs anyway.
It's true, XP won't access anything over 3 gigs of ram (neither will a 32 bit OS, no matter which version you may have...XP, Vista, Win7, or 8) however, a player having an XP OS will definitely see a difference in game play if he has 3 gigs of ram and uses the LAA application. That 1 gig of extra memory makes a huge difference in performance. I realize the "Saved Game issues" can be entirely another kettle of fish with this game, but having your game run as efficiently as possible is a start.
__________________


The HMS Shannon vs. USS Chesapeake outside Boston Harbor June 1, 1813

USS Chesapeake Captain James Lawrence lay mortally wounded...
Quote:
.."tell the men to fire faster, fight 'till she sinks,..boys don't give up the ship!"
CapnScurvy is offline   Reply With Quote
Old 12-21-14, 02:01 PM   #13
suitednate
Planesman
 
Join Date: Jun 2014
Posts: 198
Downloads: 43
Uploads: 0
Default

Quote:
Originally Posted by CapnScurvy View Post
You haven't told us what you've done since your first post, except using the Compare Snapshot feature of JSGME. I'm going to have to read between the lines to answer your two questions.

You state your "sh4.exe file is different".

Since you haven't said you've used the Large Address Aware app or not, I'm going to assume you have. The reason I say this is that's one of the few things that will change the .exe file of the game. Mods never touch the execution file of the game....but LAA does. If that's true......there's your answer. The LAA app made its expected change to the sh4.exe file.

You state the "SI.bin file is new". That's OK too. The SI.bin is a file created by SH4 every time you start the game. The reason the "Compare Snapshot" feature says it's new is because you had apparently taken the original "Snapshot" before the first start up of the game. If you had run the game, then taken the "Snapshot", the SI.bin file would not have be reported as new. It would have been reported as Same.

So, if that's all that's reported with the "Compare Snapshot" feature.....you're in good shape with your original stock game files.

================

Below is a recent "Compare Snapshot" result from one of my game files. Notice it reports......20045 files are the Same, one file is Different, nine are New, two are Removed.



The one file Different is the same as yours.......Due to the changes made by LAA to the sh4.exe file.

The nine that are New are due to screen photos taken while in-game.

The two Removed are in the picture. I don't know why this happens.....but these two image files of the game are always removed after adding TMO to the game. The two image files are of the stock German ship flags used in-game. For some reason they are lost through JSGME when TMO is added/removed from Activation. I just keep a copy of the two flag images in another folder to replace them when I find they aren't put back in their place by JSGME. This is exactly why any gamer adding/removing mods with JSGME should keep the original stock game files as a "Snapshot" for future reference.

Knowing which files are Different, New, or Removed will help in keeping your game running as expected.....as long as you know which files are effected.

=================



It's true, XP won't access anything over 3 gigs of ram (neither will a 32 bit OS, no matter which version you may have...XP, Vista, Win7, or 8) however, a player having an XP OS will definitely see a difference in game play if he has 3 gigs of ram and uses the LAA application. That 1 gig of extra memory makes a huge difference in performance. I realize the "Saved Game issues" can be entirely another kettle of fish with this game, but having your game run as efficiently as possible is a start.
You read between the slides well. I have done another full removal and full reinstall and seeing where it is taking me, and will use these tricks on loading saved games if issues arise.
suitednate is offline   Reply With Quote
Old 12-21-14, 09:39 PM   #14
CapnScurvy
Admiral
 
CapnScurvy's Avatar
 
Join Date: Apr 2005
Location: Dayton, Ohio
Posts: 2,292
Downloads: 474
Uploads: 64


Default

Good!!

Having a bit of knowledge of how to protect yourself when things don't work as expected is a good starting point. JSGME is a wonderful tool for adding/removing modified files with the game. The only trouble is, its not fool proof. JSGME's creator knew this by adding the Snapshot feature, so we could check the integrity of the stock game files from time to time.

==============

One of the more overlooked things we should do is clean out our "SH4" folder from time to time too. This folder is made the first time you start the game. It's put into your "Documents" folder....... holding your personal game options like screen resolutions, or which unit of measurement you have chosen. It also holds your saved game points as you make them. It's my opinion not to have too large of a saved game group of files saved. Just keep a few later ones, but get rid of the older ones. Their not needed, so get rid of them. Keeping your saves as clean as you can, with as little a chance of the game being confused over too many files to keep track of will help.
__________________


The HMS Shannon vs. USS Chesapeake outside Boston Harbor June 1, 1813

USS Chesapeake Captain James Lawrence lay mortally wounded...
Quote:
.."tell the men to fire faster, fight 'till she sinks,..boys don't give up the ship!"
CapnScurvy is offline   Reply With Quote
Reply


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:05 AM.


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