PDA

View Full Version : CTD's


Capt.Warner
12-20-10, 07:45 PM
Anybody else getting random CTD's while playing the game? Really starting to p*** me off. Anyone else getting this issue?:damn:

Matador.es
12-21-10, 04:48 AM
have you tried to turn off all MOD's for a patrol?

Might be a bit rigorous, but if that solves the problem the cause will be in one of the MOD's 4 sure. From there it would be trail and error.

hotlead
12-22-10, 03:28 AM
Happens often for me, I usually make a save mid patrol, Windows 7 64

Herr Minger
03-17-11, 04:58 PM
I am getting them regularly. I have uninstalled all mods and even the game which works for a while. The latest CTD's are strange as they are occurring at the same time as strange behaviour by Hunter Killers groups in the bay of Biscay. This started after a quite successful patrol around Rockhall when I ran into the HK group on the way back whilst surfaced in the bay running the game at x 2xxx and I got sunk. I reloaded the game to a save before I got sunk and have had nothing but trouble since. I was un naturally shadowed inbound and suffered a few ctd's but eventually made it to base. Now I am outbound I am still being un naturally shadowed by HK groups almost as if it is a bug in the game. So far one ctd but I am still only in the bay of Biscay. I am running IRAI and it's only 1940.

Dignan
03-17-11, 08:57 PM
I've been getting them a lot. Just got the game so I'm not happy about it. I tried reinstalling and running a mission with no mods adn I still get them.

They are of two varieties:

1. Game CTDs and then the computer immediately shuts off. Doesn't reboot.

2. The game shuts off, I see the ubisoft game launcher window which tells me it is synchronizing saves and then the launcher shuts off. For no reason. Would this be related to the dreaded DRM?

My system
Windows XP 32bit
C2D e6700 (2.66Ghz)
9800GT (1gb)
3GB Ram

Anything obviously underpar for this game that could be causing the CTDs?

THE_MASK
03-17-11, 10:13 PM
You need the Sub AI no ctd fix probably .
http://www.subsim.com/radioroom/downloads.php?do=file&id=2793

Lost At Sea
03-17-11, 11:24 PM
...

2. The game shuts off, I see the ubisoft game launcher window which tells me it is synchronizing saves and then the launcher shuts off. For no reason. Would this be related to the dreaded DRM?



I'm getting the same. Game shuts off and I then stare at the ubi game launcher synchronizing saves.
Real pain.

Happens with or without MODs if I remember correctly.

Sober, thx for the link. Are you suggesting the prob is an enemy sub in the vicinity? Also, isn't this fix included in Magnum_Opus 001 & its Patch2?

Lost

TheDarkWraith
03-17-11, 11:42 PM
Also, isn't this fix included in Magnum_Opus 001 & its Patch2?

Lost

Yes it is.

Didd
03-18-11, 02:57 AM
I've had lots of problems with CTDs which I assumed was due to mod soup. However I've found that if I run without the 3GB switch enabled, then so far no CTDs. I am using 32bit XP.

I can't be certain about this yet, but as of late I have not had any CTDs when the 3GB switch has not been enabled, but plenty when it has. Might still be coincidence though. Personally I'd rather live with the disappearing harbour syndrome than CTDs.

stoianm
03-18-11, 02:59 AM
I've had lots of problems with CTDs which I assumed was due to mod soup. However I've found that if I run without the 3GB switch enabled, then so far no CTDs. I am using 32bit XP.

I can't be certain about this yet, but as of late I have not had any CTDs when the 3GB switch has not been enabled, but plenty when it has. Might still be coincidence though. Personally I'd rather live with the disappearing harbour syndrome than CTDs.
when the harbor is disappearing save the game and reload the save... see if will fix the problem.. worked for a friend of mine somethimes

Dignan
03-18-11, 06:15 AM
I've had lots of problems with CTDs which I assumed was due to mod soup. However I've found that if I run without the 3GB switch enabled, then so far no CTDs. I am using 32bit XP.

I can't be certain about this yet, but as of late I have not had any CTDs when the 3GB switch has not been enabled, but plenty when it has. Might still be coincidence though. Personally I'd rather live with the disappearing harbour syndrome than CTDs.

Ah ha! That could be it. I'm running the 3GB switch too. I'll try tonight without and see if I get less CTDs. If not I'll try the AI sub fix.

Herr Minger
03-18-11, 07:21 AM
Excuse my ignorance but what is the 3gb switch. I understand that 32bit systems only see around 3gb of system memory but I am not aware of a switch.

Also will the conflict between no halos and the environment mod cause my ctd's?

stoianm
03-18-11, 07:24 AM
Excuse my ignorance but what is the 3gb switch. I understand that 32bit systems only see around 3gb of system memory but I am not aware of a switch.

Also will the conflict between no halos and the environment mod cause my ctd's?

Originally Posted by TheDarkWraith http://www.subsim.com/radioroom/smartdark/viewpost.gif (http://www.subsim.com/radioroom/showthread.php?p=1580737#post1580737)
Here is something to try for those of you having CTDs or using 32 bit OS:

Try this only if you have at least 2 GByte of RAM and at your own risk and using Vista/Win7 32 bit version.
First download the explorer from http://www.ntcore.com/exsuite.php
Next make a backup copy of SH5.exe. Then start "CFF Explorer" and open the orginal SH5.exe file.
Now go to NT Header/File Header and click File Header. There you will find a button labeld "click here". Click it and select the mark at "App can handle> 2gb adressest "
Save the modified EXE, overwrite the orginal one (You do have your backup of it in a safe location right?).
If you run Windows Vista 64 or Windows XP 64 or Win7 64 you're ready and didnt need to read on. The rest is only for Windows Vista 32/Win7 32 or maybe Windows XP.
Now make Windows Vista/Win7 (32-Bit) ready to support more than 2 GByte.
Open a command prompt with Administration rights. You find it under "Programs->Accessories->Command prompt" click right and select "run as administrator".
Enter "bcdedit /set IncreaseUserVA 3072" (without quotes) in the command window and press enter.
After that restart windows

To reset back to 2GB limit:
to reset the Increased User Adressspace just start the commandline prompt with Admin right again and enter "bcdedit /set IncreaseUserVA 2048"

See if the above helps at all :yep:

Another idea is to install previous version of DirectX ( < v11). I have Win7 64bit but ALWAYS install previous DirectX versions for compatibility reasons. Go to Microsoft's website and search for DirectX. Run the DirectX web installer from their website. You can have DirectX9 AND DirectX11 installed on Win7.

EDIT:

just checked the sh5.exe file and it's large address aware so enabling the 3GB switch in 32bit OSs should help:

Microsoft (R) COFF/PE Dumper Version 9.00.30729.01
Copyright (C) Microsoft Corporation. All rights reserved.

Dump of file sh5.exe
PE signature found
File Type: EXECUTABLE IMAGE
FILE HEADER VALUES
14C machine (x86)
5 number of sections
4BCE9A96 time date stamp Wed Apr 21 01:26:30 2010
0 file pointer to symbol table
0 number of symbols
E0 size of optional header
122 characteristics
Executable
Application can handle large (>2GB) addresses
32 bit word machine

The conflict between halos and env mod has nothing to to with CTDs

Dignan
03-18-11, 08:15 AM
Originally Posted by TheDarkWraith http://www.subsim.com/radioroom/smartdark/viewpost.gif (http://www.subsim.com/radioroom/showthread.php?p=1580737#post1580737)
Here is something to try for those of you having CTDs or using 32 bit OS:

Try this only if you have at least 2 GByte of RAM and at your own risk and using Vista/Win7 32 bit version.
First download the explorer from http://www.ntcore.com/exsuite.php
Next make a backup copy of SH5.exe. Then start "CFF Explorer" and open the orginal SH5.exe file.
Now go to NT Header/File Header and click File Header. There you will find a button labeld "click here". Click it and select the mark at "App can handle> 2gb adressest "
Save the modified EXE, overwrite the orginal one (You do have your backup of it in a safe location right?).
If you run Windows Vista 64 or Windows XP 64 or Win7 64 you're ready and didnt need to read on. The rest is only for Windows Vista 32/Win7 32 or maybe Windows XP.
Now make Windows Vista/Win7 (32-Bit) ready to support more than 2 GByte.
Open a command prompt with Administration rights. You find it under "Programs->Accessories->Command prompt" click right and select "run as administrator".
Enter "bcdedit /set IncreaseUserVA 3072" (without quotes) in the command window and press enter.
After that restart windows

To reset back to 2GB limit:
to reset the Increased User Adressspace just start the commandline prompt with Admin right again and enter "bcdedit /set IncreaseUserVA 2048"

See if the above helps at all :yep:

Another idea is to install previous version of DirectX ( < v11). I have Win7 64bit but ALWAYS install previous DirectX versions for compatibility reasons. Go to Microsoft's website and search for DirectX. Run the DirectX web installer from their website. You can have DirectX9 AND DirectX11 installed on Win7.

EDIT:

just checked the sh5.exe file and it's large address aware so enabling the 3GB switch in 32bit OSs should help:

Microsoft (R) COFF/PE Dumper Version 9.00.30729.01
Copyright (C) Microsoft Corporation. All rights reserved.

Dump of file sh5.exe
PE signature found
File Type: EXECUTABLE IMAGE
FILE HEADER VALUES
14C machine (x86)
5 number of sections
4BCE9A96 time date stamp Wed Apr 21 01:26:30 2010
0 file pointer to symbol table
0 number of symbols
E0 size of optional header
122 characteristics
Executable
Application can handle large (>2GB) addresses
32 bit word machine

The conflict between halos and env mod has nothing to to with CTDs

That's a variation of what I did to my machine. To be honest, I can't remember how I made 3gigs available because I did it a year ago but to make it active, I have to restart my machine and select a different 3gig profile at bootup. Then when I check properties by clicking on "my computer" it shows me as having 3 gigs. I think the result is the same either way.

I'll turn it off tonight and see if I stop getting CTDs. I hope it does fix it because currently I'm getting CTDs WAY too often. Even worse than in SH4.

EDIT: Another thing I should mention is that I have the game installed on a second harddrive. Not my C drive were the operating system resides. Would this potentially cause problems? I have all my games installed on my second harddrive because it is larger but if I have to reinstall to the main/C drive then I will.

Herr Minger
03-22-11, 08:31 AM
Stoianm, your solution seems to have worked so thank you. I am still perplexed by the odd behaviour of the Hunter Killer groups in the Bay of Biscay. Should they even be there in 1940?

One of them detaches from the main group and shadows at a constant distance no matter what heading I proceed on, but it does not close or attack.

stoianm
03-22-11, 08:36 AM
Stoianm, your solution seems to have worked so thank you. I am still perplexed by the odd behaviour of the Hunter Killer groups in the Bay of Biscay. Should they even be there in 1940?

One of them detaches from the main group and shadows at a constant distance no matter what heading I proceed on, but it does not close or attack.
wlk... it is the TDW solution not mine:DL

the fact that some settings for AI are not related to the year it is an game bug... TDW fixed manny bugs in the AI but he can not solve this problem with having the same all things from game as in real life... but is an methode that you can simulate this...

In IRAI you have an file init.aix where you can set the dificulty for no merchant... so when you play campaigns in the first years of the WWII you can lower the settings for sonar for nonmerchants... and when you advance in years game you can change them back:up:

regards

Jaguar
03-22-11, 09:40 AM
One of them detaches from the main group and shadows at a constant distance no matter what heading I proceed on, but it does not close or attack.

It drove me crazy more than once till I read this from Magnum the other day:

Also, I noticed an old bug from stock making his way back ... the escort ships that will get glued to your sub. When a convoy or task force is passing by at long distance, one of the escorts is leaving the formation and get glued to your sub doing nothing else than circling forever at a constant distance. To shake them down u need to reload the game or drive them at shore.

Jaguar
03-22-11, 10:00 AM
In IRAI you have an file init.aix where you can set the dificulty for no merchant... so when you play campaigns in the first years of the WWII you can lower the settings for sonar for nonmerchants... and when you advance in years game you can change them back:up:


Thinking to start with 50-70 in 39 and go up to 95-100 in mid 43 :dead:

Bilge_Rat
03-22-11, 10:33 AM
Thinking to start with 50-70 in 39 and go up to 95-100 in mid 43 :dead:


I believe TDW had mentioned that below 80 the escorts are basically deaf, so 80 would be the minimum. You could try ,say, 80-90 for 39-42 and 85-95 for 43 and after.

stoianm
03-22-11, 10:35 AM
I believe TDW had mentioned that below 80 the escorts are basically deaf, so 80 would be the minimum. You could try ,say, 80-90 for 39-42 and 85-95 for 43 and after.
At my begginings i played at 70 and they were not deaf at all:DL - i think he only suggest 80 as an good compromise

Jaguar
03-22-11, 11:59 AM
At my begginings i played at 70 and they were not deaf at all:DL - i think he only suggest 80 as an good compromise

Indeed, in TDW words " Each sensor will have a difficulty rating of 0.0 - 1.0 with 0 being doesn't exist to 1 being 100% difficulty (current state of mod)."

Anyway, difficult in 100 might be to hard, 85-95 for 43 onwards as BilgeRat suggests sounds about right.

Herr Minger
03-22-11, 05:17 PM
Thanks for the help. I had already edited the init.aix to sufficiently low levels but I still had the weird behaviour. At least I have an explanation for it now so once again, thanks :)

Frank0001
08-01-11, 06:11 PM
So the 3GB thing is the solution to the regular CTD's?

Pintea
08-02-11, 03:31 AM
So the 3GB thing is the solution to the regular CTD's?

yes.



Some of the mods (especially the ones that modify graphics data) should revise their texture sizes, since I have seen some that added really really large textures that will only work OK on very powerful rigs.

So please, if you modify textures, try keeping the same resolution as the stock textures, or if you make larger ones, maybe make a version for lower spec computers.

Stock SH5 had problems fitting in the 512 video ram budget, which is what most video cards have right now. So any texture increase will certainly cause problems for some people.

To explain why the 3GB switch works: Since the game uses ~1.3 - 1.5 gb of memory, adding more than 512 video ram will exceed the 2GB virtual memory limit in Windows Vista/7.
But if you use extra large modded textures and play for a long time, pass through a lot of harbors etc, you might even exceed the 3GB limit. So CTDs are event possible with that switch, even though more seldom.

0rpheus
08-02-11, 05:20 AM
It drove me crazy more than once till I read this from Magnum the other day:

Also, I noticed an old bug from stock making his way back ... the escort ships that will get glued to your sub. When a convoy or task force is passing by at long distance, one of the escorts is leaving the formation and get glued to your sub doing nothing else than circling forever at a constant distance. To shake them down u need to reload the game or drive them at shore.

Had this the other day too, though as a first time player I didn't realise it was a bug (though I did suspect ;) ). 24 hrs submerged with him circling 1000 yards to port, everywhere I went he followed me and no fish left to take a cheeky strike... battery nearly dead. I eventually came up to surface around 2am, in thick fog and sunk the bugger with the deck gun! :D

Also, I didn't think the 3gb fix was needed for Win7, just Vista? Could be wrong though :salute:

Frank0001
08-03-11, 06:42 AM
Originally Posted by TheDarkWraith http://www.subsim.com/radioroom/smartdark/viewpost.gif (http://www.subsim.com/radioroom/showthread.php?p=1580737#post1580737)
Here is something to try for those of you having CTDs or using 32 bit OS:

Try this only if you have at least 2 GByte of RAM and at your own risk and using Vista/Win7 32 bit version.
First download the explorer from http://www.ntcore.com/exsuite.php
Next make a backup copy of SH5.exe. Then start "CFF Explorer" and open the orginal SH5.exe file.
Now go to NT Header/File Header and click File Header. There you will find a button labeld "click here". Click it and select the mark at "App can handle> 2gb adressest "
Save the modified EXE, overwrite the orginal one (You do have your backup of it in a safe location right?).
If you run Windows Vista 64 or Windows XP 64 or Win7 64 you're ready and didnt need to read on. The rest is only for Windows Vista 32/Win7 32 or maybe Windows XP.

I'm giving this a try but I'm not that smart, the SH5.exe file is basically just the file I use to start the game right?

When I did all the above I was surprised to see my 'can handle >2gb' box was already checked?? I still have the CTD's though
http://i153.photobucket.com/albums/s205/FrankTimmerman/CFF.png

My PC should be up for the job I think;
Windows 7 64bit
Intel(R) Core (TM) i7-2600 CPU @3,40GHz
8,00 GB RAM