PDA

View Full Version : Can't edit the cfg for snorkel in OM


MADLOU
07-17-09, 10:30 PM
Help! For some reason, I can not edit the command cfg file in OM to be able to use the snorkel. Every time I edit the file, the file will not save! Help! I love this mod! But I need the snorkel! Thanks!

Highbury
07-17-09, 11:46 PM
What sort of error do you get when you try to save?

Are you running Vista and do you have SH4 installed in Program Files?

MADLOU
07-18-09, 07:46 AM
I have Vista 64 and the game is installed in program files.

lurker_hlb3
07-18-09, 08:32 AM
Your problem is "vista" will not allow "hand changes" to files that are in the "Program Files" directory.

You need to read these two threads

http://www.subsim.com/radioroom/showpost.php?p=1089335&postcount=1

and

http://www.subsim.com/radioroom/showpost.php?p=810906&postcount=1

MADLOU
07-18-09, 02:28 PM
Thank you. I installed in the programs folder and have not had a hitch until trying to change the cfg. file. I guess I will have to reinstall one day.

lurker_hlb3
07-18-09, 02:47 PM
Try this when editing a file in vista

With UAC turned on, you're not running as an administrator normally. That's why you can't edit it. The simplest thing to do is to right-mouse click notepad and choose "run as administrator". You'll be prompted with a UAC prompt. You should then be able to edit and save the file.

MADLOU
07-18-09, 03:53 PM
eureka! That worked in editing the file, but the snorkel still will not toggle! I edited it to look just like it is supposed to but no cigar! Thanks!

Mikemike47
07-24-09, 08:12 PM
It may be the commands.cfg file found in Hard Drive root (perhaps C:)\Wolves of the Pacific\Data\Cfg folder.

If the toggle snorkel data is in the correct syntax like all other lines than the possible solution is below.

Look for a similar line of:

[Commands]
CommandsNb=600
MaxKeyCommandsNb=350; Keys number shoud be smaller than this value (in order to accelerate the loading)

I do not know what the original # is anymore for MaxKeyCommandsNb=350. I think it started out as 190. I added so many commands and voice commands since the game began. 350 did the trick for me.:salute: