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 5
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 03-18-11, 07:24 AM   #1
stoianm
Ocean Warrior
 
Join Date: Dec 2010
Location: Montreal, Canada
Posts: 2,776
Downloads: 833
Uploads: 11
Default

Quote:
Originally Posted by Herr Minger View Post
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
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

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
stoianm is offline   Reply With Quote
Old 03-18-11, 08:15 AM   #2
Dignan
Seasoned Skipper
 
Join Date: Mar 2008
Posts: 698
Downloads: 262
Uploads: 0
Default

Quote:
Originally Posted by stoianm View Post
Originally Posted by TheDarkWraith
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

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.

Last edited by Dignan; 03-18-11 at 09:59 AM.
Dignan is offline   Reply With Quote
Old 03-22-11, 08:31 AM   #3
Herr Minger
Soundman
 
Join Date: Aug 2007
Location: South Wales UK
Posts: 147
Downloads: 101
Uploads: 0
Default

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.
__________________
"Blessed are the Cheesemakers". I think he means the purveyors of all dairy products.
Herr Minger is offline   Reply With Quote
Old 03-22-11, 08:36 AM   #4
stoianm
Ocean Warrior
 
Join Date: Dec 2010
Location: Montreal, Canada
Posts: 2,776
Downloads: 833
Uploads: 11
Default

Quote:
Originally Posted by Herr Minger View Post
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

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

regards
stoianm is offline   Reply With Quote
Old 03-22-11, 10:00 AM   #5
Jaguar
Officer
 
Join Date: Feb 2011
Location: The Pampas
Posts: 238
Downloads: 27
Uploads: 0
Default

Quote:
Originally Posted by stoianm View Post
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
Thinking to start with 50-70 in 39 and go up to 95-100 in mid 43
Jaguar is offline   Reply With Quote
Old 03-22-11, 10:33 AM   #6
Bilge_Rat
Ocean Warrior
 
Join Date: Apr 2002
Location: standing watch...
Posts: 3,194
Downloads: 344
Uploads: 0
Default

Quote:
Originally Posted by Jaguar View Post
Thinking to start with 50-70 in 39 and go up to 95-100 in mid 43

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.
__________________
Bilge_Rat is offline   Reply With Quote
Old 03-22-11, 10:35 AM   #7
stoianm
Ocean Warrior
 
Join Date: Dec 2010
Location: Montreal, Canada
Posts: 2,776
Downloads: 833
Uploads: 11
Default

Quote:
Originally Posted by Bilge_Rat View Post
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 - i think he only suggest 80 as an good compromise
stoianm is offline   Reply With Quote
Old 03-22-11, 09:40 AM   #8
Jaguar
Officer
 
Join Date: Feb 2011
Location: The Pampas
Posts: 238
Downloads: 27
Uploads: 0
Default

Quote:
Originally Posted by Herr Minger View Post
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 is offline   Reply With Quote
Old 08-02-11, 05:20 AM   #9
0rpheus
Grey Wolf
 
Join Date: Jul 2011
Location: UK
Posts: 877
Downloads: 89
Uploads: 3
Default

Quote:
Originally Posted by Jaguar View Post
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!

Also, I didn't think the 3gb fix was needed for Win7, just Vista? Could be wrong though
0rpheus is offline   Reply With Quote
Old 08-03-11, 06:42 AM   #10
Frank0001
Chief
 
Join Date: Apr 2008
Posts: 317
Downloads: 16
Uploads: 0
Default

Quote:
Originally Posted by stoianm View Post
Originally Posted by TheDarkWraith
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


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
__________________
Snipers of the Seas
One eel - one Kill

Last edited by Frank0001; 08-03-11 at 06:55 AM.
Frank0001 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 01:36 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.