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

Reply
 
Thread Tools Display Modes
Old 05-21-06, 03:23 PM   #1
U-Dog
Torpedoman
 
Join Date: Mar 2005
Posts: 111
Downloads: 5
Uploads: 0
Default Does SH3 Commander overwrite the basic.cfg?

Does SH3 Commander overwrite the basic.cfg?

Reason I ask is i changed the deck gun loadout & saved that file but whenever I start the game it's back to standard loadouts. When i go check the basic.cfg again it has the original game loadout info.. :hmm:
U-Dog is offline   Reply With Quote
Old 05-21-06, 04:38 PM   #2
rls669
Torpedoman
 
Join Date: Jun 2005
Posts: 117
Downloads: 0
Uploads: 0
Default

Did you modify the shell slots for your sub accordingly? SH3C does access basic.cfg but it won't overwrite your custom loadout.

I had a weird problem with SH3 Commander. It stopped with an "unable to write to basic.cfg" error. I checked the file and it had been set to read-only. I reset the attributes (from both Windows Explorer and later with the command line) and it didn't help -- every time I ran SH3 Commander it would reset the file to read-only. I even deleted it and let the game generate a new one, but the next time I ran Commander it became read-only. Reinstalling SH3C fixed it.
rls669 is offline   Reply With Quote
Old 05-21-06, 09:32 PM   #3
U-Dog
Torpedoman
 
Join Date: Mar 2005
Posts: 111
Downloads: 5
Uploads: 0
Default

I didn't se a seperate slot for each sub type, just one under conning &105/88 entries. I'll go back & look for more...
U-Dog is offline   Reply With Quote
Old 05-21-06, 10:46 PM   #4
bigboywooly
Rear Admiral
 
Join Date: Apr 2006
Location: Swindon, England
Posts: 10,151
Downloads: 35
Uploads: 0
Default sh3

sh3commander also has a copy of the basic config in its folder in c:/program files/sh3 commander/backup/data/cfg. this is the one it loads so you will have to overwrite that file with yours that has the changes or will load the original everytime
bigboywooly is offline   Reply With Quote
Old 05-22-06, 01:48 AM   #5
JScones
Navy Seal
 
Join Date: Apr 2005
Posts: 5,501
Downloads: 19
Uploads: 0
Default Re: sh3

Quote:
Originally Posted by bigboywooly
sh3commander also has a copy of the basic config in its folder in c:/program files/sh3 commander/backup/data/cfg. this is the one it loads so you will have to overwrite that file with yours that has the changes or will load the original everytime
This is the *second* time I have had to correct you on this bigboywooly!!!

SH3CMDR DOES NOT INCLUDE ANY BASIC.CFG FILES!!!

If you have one in your c:/program files/sh3 commander/backup/data/cfg folder then you DID NOT ROLLBACK SH3CMDR prior to changing the game files!

ALWAYS, ALWAYS, ALWAYS rollback SH3Cmdr prior to changing game files or your changes will be LOST the very next time SH3Cmdr runs.

When SH3Cmdr modifies game files, it backs up the unchanged original files so that it can restore them at a later time. If you don't rollback SH3Cmdr (ie restore these original files back into SH3) prior to making your own changes, then when you next launch SH3 via SH3Cmdr, your changes will be lost, as SH3Cmdr first restores the original files prior to making the latest set of changes.

This is in nice white text in the SH3Cmdr readme.
JScones is offline   Reply With Quote
Old 05-22-06, 01:50 AM   #6
JScones
Navy Seal
 
Join Date: Apr 2005
Posts: 5,501
Downloads: 19
Uploads: 0
Default

Quote:
Originally Posted by rls669
I had a weird problem with SH3 Commander. It stopped with an "unable to write to basic.cfg" error. I checked the file and it had been set to read-only. I reset the attributes (from both Windows Explorer and later with the command line) and it didn't help -- every time I ran SH3 Commander it would reset the file to read-only. I even deleted it and let the game generate a new one, but the next time I ran Commander it became read-only. Reinstalling SH3C fixed it.
Again, could this problem be rollback, or lack thereof, related?

SH3Cmdr does not play with file attibutes. If the attribute keeps returning, then my guess is you were removing it from the game file whilst SH3Cmdr files were still installed in the game. See explanation above.

Some mods attach the RO attribute. Indeed, some firewall and a/v software does too. SH3Cmdr does not.
JScones is offline   Reply With Quote
Old 05-22-06, 01:50 AM   #7
JScones
Navy Seal
 
Join Date: Apr 2005
Posts: 5,501
Downloads: 19
Uploads: 0
Default Re: Does SH3 Commander overwrite the basic.cfg?

Quote:
Originally Posted by U-Dog
Does SH3 Commander overwrite the basic.cfg?

Reason I ask is i changed the deck gun loadout & saved that file but whenever I start the game it's back to standard loadouts. When i go check the basic.cfg again it has the original game loadout info.. :hmm:
Now, the original question.

No.

SH3Cmdr writes certain settings to Basic.cfg, but it does not replace the whole file. The changes it makes are contained in "Basic changes.cfg".

As SH3Cmdr does not change the values to which you refer, please refer to my post above for the likely solution...
JScones is offline   Reply With Quote
Old 05-22-06, 08:45 AM   #8
bigboywooly
Rear Admiral
 
Join Date: Apr 2006
Location: Swindon, England
Posts: 10,151
Downloads: 35
Uploads: 0
Default Re: sh3

Quote:
Originally Posted by JScones
Quote:
Originally Posted by bigboywooly
sh3commander also has a copy of the basic config in its folder in c:/program files/sh3 commander/backup/data/cfg. this is the one it loads so you will have to overwrite that file with yours that has the changes or will load the original everytime
This is the *second* time I have had to correct you on this bigboywooly!!!

SH3CMDR DOES NOT INCLUDE ANY BASIC.CFG FILES!!!

If you have one in your c:/program files/sh3 commander/backup/data/cfg folder then you DID NOT ROLLBACK SH3CMDR prior to changing the game files!

ALWAYS, ALWAYS, ALWAYS rollback SH3Cmdr prior to changing game files or your changes will be LOST the very next time SH3Cmdr runs.

When SH3Cmdr modifies game files, it backs up the unchanged original files so that it can restore them at a later time. If you don't rollback SH3Cmdr (ie restore these original files back into SH3) prior to making your own changes, then when you next launch SH3 via SH3Cmdr, your changes will be lost, as SH3Cmdr first restores the original files prior to making the latest set of changes.

This is in nice white text in the SH3Cmdr readme.
I consider myself slapped must admit i didnt read the readme ( slapped again )
I stand corrected ( and in the corner )
bigboywooly is offline   Reply With Quote
Old 05-22-06, 09:55 AM   #9
U-Bones
Grey Wolf
 
Join Date: Mar 2005
Location: Treading Water
Posts: 847
Downloads: 56
Uploads: 0
Default

Please modify JSGME to check and see if SH3 Commander needs to be rolled back and either perform the rollback or bail until it has been done by the user.

Please, please, thank you, thank you.

This is SO easy to forget, and the biggest problem with SH3Cdr.

It will probably be easier to fix than answering all the non-rollback bug posts
U-Bones is offline   Reply With Quote
Old 05-22-06, 10:24 AM   #10
U-Dog
Torpedoman
 
Join Date: Mar 2005
Posts: 111
Downloads: 5
Uploads: 0
Default

I bet that was it, i didn't rollback Commander before making the changes! I remembered to do it when installing mods, but forgot all about it when cahgning the files myself.

it's always the simple obvious things,eh? Well was good practice going in and looking the files over, learned alot & won't forget since i tried it several times.

now if i could just get out of work today & run home to sink some ships!

Thanks all!!
U-Dog is offline   Reply With Quote
Old 05-23-06, 02:19 AM   #11
JScones
Navy Seal
 
Join Date: Apr 2005
Posts: 5,501
Downloads: 19
Uploads: 0
Default

Quote:
Originally Posted by U-Bones
Please modify JSGME to check and see if SH3 Commander needs to be rolled back and either perform the rollback or bail until it has been done by the user.

Please, please, thank you, thank you.

This is SO easy to forget, and the biggest problem with SH3Cdr.

It will probably be easier to fix than answering all the non-rollback bug posts
I hear what you are saying, and indeed if JSGME was SH3 exclusive, things *would* be done differently. But alas, JSGME is not exclusively linked to SH3. To ensure that it works with as many games as possible, it needs to remain as generic as possible.

If people simply get into the habit of re-running SH3Cmdr *straight after* exiting SH3 and pressing the rollback button, it won't be a problem.

My only other real solution is to keep SH3Cmdr running in the background and "catch" when SH3 is exited. SH3Cmdr could then pop back up with a rollback related message/prompt. But this is really overkill in my mind.
JScones 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 03:21 PM.


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.