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 05-21-22, 10:26 PM   #1
hunter301
Sonar Guy
 
Join Date: Feb 2003
Location: Central Florida, USA
Posts: 377
Downloads: 38
Uploads: 0
Default

Quote:
Originally Posted by Mad Mardigan View Post
Ok, to break it down... there are 2... main.cfg files created for SH4.

#1, resides in the \Cfg folder, in \Data, inside your SH4 install.

# 2, is created... in documents, when you run SH4. This 1, is a basic (or what is supposed to be, a carbon copy of #1, just shortened down to basics for the simplicity of ease, when you go to load up a game save.



Now... Windows, in either its idiocy, or stupidity... take your pick here.... for some ungodly reason... takes a diarrhetic logic dump, & will some times... invariably, mangle that saved copy there in documents. No rhyme or reason behind it...


Now... when that happens, after you boot up SH4, the sign that Windows has wiped the save folders copy, clean of

[TIME COMPRESSION]
TimeStop=0
RealTime=1
LandProximity=4
CriticalDamage=1
CrewEfficiency=128;1
AirEnemyDetected=1
SoundEffects=2
CharacterAnim=4
EnemyDetected=8
RadioReport=8
Particles=8
PrayState=8
HunterState=32
3DRender=32
Maximum=8192

from it, is... in getting a complete, black screen. Sometimes, BUT... NOT always, that black screen, will host "Game Paused" dead smack in the middle.



Which, was what you reported seeing.... before you had to do a Cntrl+Alt+Delete reboot... yeah...


Which is why I asked for you, to go to the save folder for SH4, located there in documents, scroll through that folder until you located the main.cfg file there... open it & read through it to see if the [TIME COMPRESSION] section, was there.. or was it entirely missing.

All that pertains to that 1 particular copy of main.cfg, copy #2.... NOT copy #1.


Copy #1, is going to be all there. Without fail.
OK found a second main.cfg file when I backed up from my C: drive to this computer and found "this PC/documents/SH4/data/cfg"
This .cfg was formatted exactly as the one in the game directory word for word when I put them side by side using Notepad.
There are 2 other cfg files in the one under documents labeled GFXSetting.cfg and gameplaysettings.cfg
__________________
"Beware the beast Man, for he is the Devil's pawn. Alone among God's primates, he kills for sport or lust or greed.
Yea, he will murder his brother to possess his brother's land."- The Lawgiver

"You know what the chain of command is?
It's the chain I get and beat you with till you understand who's in command."
-ME
hunter301 is offline   Reply With Quote
Old 05-21-22, 11:25 PM   #2
hunter301
Sonar Guy
 
Join Date: Feb 2003
Location: Central Florida, USA
Posts: 377
Downloads: 38
Uploads: 0
Default

Also do you know why the game is not installing the startup shortcut on either my desktop or in the menu bar.
I have to go looking thru the C: drive file explorer just to find the application icon that will bring up the start menu for play, uninstall, etc..
__________________
"Beware the beast Man, for he is the Devil's pawn. Alone among God's primates, he kills for sport or lust or greed.
Yea, he will murder his brother to possess his brother's land."- The Lawgiver

"You know what the chain of command is?
It's the chain I get and beat you with till you understand who's in command."
-ME
hunter301 is offline   Reply With Quote
Old 05-21-22, 11:48 PM   #3
Mad Mardigan
Admiral
 
Mad Mardigan's Avatar
 
Join Date: Sep 2016
Location: Grand Rapids, Mi.
Posts: 2,327
Downloads: 491
Uploads: 0


wolf_howl15

Quote:
Originally Posted by hunter301 View Post
OK found a second main.cfg file when I backed up from my C: drive to this computer and found "this PC/documents/SH4/data/cfg"
This .cfg was formatted exactly as the one in the game directory word for word when I put them side by side using Notepad.
There are 2 other cfg files in the one under documents labeled GFXSetting.cfg and gameplaysettings.cfg
That would be the one that sometimes get mangled by Windows.

So, the [Time Compression] set of settings was there, then...

Then that would not be the "Game Paused" syndrome then... with the black screen.

I've never ran into that occurring, of having a totally black screen & that being stuck, like that to the point of having to force close SH4.

those 2 other .cfg files, pertain to graphic's/options for in game... and... to the best of My knowledge, nothing there... that would cause that occurring... either.

Those, as they stand right now... without the game loading fully, as it should nor... knowledge of the correct editing to do, would still be in default set up.

So, as it goes there with them 2... can put them out of sight... out of mind.



Ok...


try this that I will outline... & see if that allows the game to load up:

1st off, open up 2 folders... in the 1st folder, locate your SH4 install... then in the 2nd folder open up documents & find the SH4 save folder


Before doing this editing... make sure to make a back up copy of each main.cfg, putting #1's back up, in a folder named 'main.cfg SH4 install back up' & #2's in a folder named 'main.cfg save folder copy', make those folders there on your desktop so to make finding them easy when you will need them afterwards... & as a safety measure... in case things go south, badly.

Good rule of thumb, to follow any time you go to edit files of a notepad persuasion...

After making those back ups... can close this folder for that, out... won't need it for now, at any rate.


In the #1 folder, find the main.cfg copy (that's the one, inside the SH4 install, & where that is found \Data\Cfg\main.cfg)

Open that with note pad & change the following section from:

[VIDEO]
Resolution=1024,768,60,22
DynamicShadows=No
FullScreen=Yes
Synchronized=No
TextureResolutionHigh=Yes


to read, as follows:

[VIDEO]
Resolution=1024,768,60,22
DynamicShadows=No
FullScreen=No
Synchronized=No
TextureResolutionHigh=No



click on 'File' then select save & click it.


Next, relocate the # 2 main.cfg file (that's the one in documents) & do the following changes to that one, in the same area:

Open that with note pad & change the following section from:

[VIDEO]
Resolution=1600,900,60,22 My native monitor's settings here, but it should read whatever your monitors native rez is
DynamicShadows=No
FullScreen=Yes
Synchronized=No
TextureResolutionHigh=Yes


make the following changes so it then reads, as follows:

[VIDEO]
Resolution=1024,768,60,22
DynamicShadows=No
FullScreen=No
Synchronized=No
TextureResolutionHigh=No

After that's done... click 'File' & select 'Save'


minimize both folders...

Now, try booting up the game & according to the info I watched, it should boot up.


Afterwards, on successful boot... should be able to go into the graphics option settings & set the monitor resolution back to your native one... close out & reboot back up, normally.








M. M.
__________________
Mad Mardigan is offline   Reply With Quote
Old 05-23-22, 07:47 AM   #4
hunter301
Sonar Guy
 
Join Date: Feb 2003
Location: Central Florida, USA
Posts: 377
Downloads: 38
Uploads: 0
Default

Finally got it running with all systems working.
Only problem is it's in a boxed 1024x768 window and I can't get it to go full screen.
Every time I unclick the box in the graphics display in the game it doesn't do anything but then when I shut down the game and restart it it goes to the black screen again.
When I look at the .cfg files I see that it has changed the fullscreen from No to Yes. Also any time I change the resolution settings in the game and go back to the .cfg files I found those have changed to match what I put into the game.
Starting the see the relationship with these files.
Now if I can only find what I need to let it run full screen.
__________________
"Beware the beast Man, for he is the Devil's pawn. Alone among God's primates, he kills for sport or lust or greed.
Yea, he will murder his brother to possess his brother's land."- The Lawgiver

"You know what the chain of command is?
It's the chain I get and beat you with till you understand who's in command."
-ME
hunter301 is offline   Reply With Quote
Old 05-23-22, 10:37 AM   #5
Rhodes
Silent Hunter
 
Join Date: Aug 2005
Location: Figueira da Foz, Portugal
Posts: 4,520
Downloads: 110
Uploads: 0
Default

During my time solving my issue, I never changed anything on the main.cfg file located in the game folder. I always changed the one located in "my documents", sh4 folder.

I did changed the resolution to match my screen resolution 1920x1080.

I also put the sh4.exe to run by administrator.

I also did like some 4 or 6 clean installations...
Rhodes is offline   Reply With Quote
Old 05-23-22, 10:40 AM   #6
hunter301
Sonar Guy
 
Join Date: Feb 2003
Location: Central Florida, USA
Posts: 377
Downloads: 38
Uploads: 0
Default

Quote:
Originally Posted by Rhodes View Post
During my time solving my issue, I never changed anything on the main.cfg file located in the game folder. I always changed the one located in "my documents", sh4 folder.

I did changed the resolution to match my screen resolution 1920x1080.

I also put the sh4.exe to run by administrator.

I also did like some 4 or 6 clean installations...
I think one of my main problems is my system won't let me run as admistrator.
__________________
"Beware the beast Man, for he is the Devil's pawn. Alone among God's primates, he kills for sport or lust or greed.
Yea, he will murder his brother to possess his brother's land."- The Lawgiver

"You know what the chain of command is?
It's the chain I get and beat you with till you understand who's in command."
-ME
hunter301 is offline   Reply With Quote
Old 05-24-22, 03:48 AM   #7
Rhodes
Silent Hunter
 
Join Date: Aug 2005
Location: Figueira da Foz, Portugal
Posts: 4,520
Downloads: 110
Uploads: 0
Default

That's strange, I do remember having the same problem at one time. I can not precise, but Windows 11 did prevent me of running sh4.exe as administrator. I do not if the compatibility (running as windows XP, 7, etc) has to be enable or not.


When I get home I will see how is my main.cfg file options and sh4.exe file and write here.
My documents sh3 folder config file:


Resolution=1920,1080,60,22
DynamicShadows=No
FullScreen=Yes
Synchronized=Yes
TextureResolutionHigh=Yes


My sh4.exe has the compatibility enable to windows 7 and the Disable fullscreen optimizations box selected!

Last edited by Rhodes; 05-24-22 at 12:25 PM.
Rhodes is offline   Reply With Quote
Old 05-30-22, 10:25 PM   #8
hunter301
Sonar Guy
 
Join Date: Feb 2003
Location: Central Florida, USA
Posts: 377
Downloads: 38
Uploads: 0
Default

found the problem I was having in an old thread I found regarding Direct X loads.
There is a conflict that some maybe all Windows 10 systems have with cooperating with the older SH4 files.
Seems there are (2) .dll files that are not properly copied to allow the proper running of the game.
__________________
"Beware the beast Man, for he is the Devil's pawn. Alone among God's primates, he kills for sport or lust or greed.
Yea, he will murder his brother to possess his brother's land."- The Lawgiver

"You know what the chain of command is?
It's the chain I get and beat you with till you understand who's in command."
-ME
hunter301 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 01:06 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.