View Full Version : 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:
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.
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...
bigboywooly
05-21-06, 10:46 PM
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
JScones
05-22-06, 01:48 AM
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
05-22-06, 01:50 AM
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
05-22-06, 01:50 AM
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...
bigboywooly
05-22-06, 08:45 AM
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 :roll: must admit i didnt read the readme ( slapped again )
I stand corrected ( and in the corner )
U-Bones
05-22-06, 09:55 AM
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 ;)
:oops: 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!!
:ping:
JScones
05-23-06, 02:19 AM
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.
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.