![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
![]() |
#1 |
Mate
![]() Join Date: Oct 2011
Posts: 59
Downloads: 76
Uploads: 0
|
![]()
SH4 Gold Edition. Using JSGME to swap in GFO(snorkel name change fix & New Orders Bar Menu that come with GFO) and Magnified Hud Dials for 1.5 Large.
Played TMO for so long that I can't get used to new keyboard layout. Especially when the action is on. No problem, I say, I'll just go in to the commands.cfg and make all the GFO keys just like the TMO keys. Tedious but it will be worth it, I think. I have gone into every stinking commands.cfg in the silent hunter 4 and mods folders and made the same change to bind the attack peri to F3. Game refuses to change. F3 is still nav map regardless of which commands.cfg I change and I've tried every combination with game restarts and even tried a system reboot. Can someone please tell me the trick to changing the keyboard commands? WHILE I HAVE YOUR ATTENTION Why are the GFO and Snorkel name change mods greyed out in the "activated mods" box of JSGME while the New Orders Bar Menu and Magnified Hud Dials mods are in black? I know GFO is working because the opening splash page has "gfo" on it. my JSGME is version 2.6.0.157 Thanks for your help. |
![]() |
![]() |
![]() |
#2 |
CTD - it's not just a job
|
![]()
If I'm not forgetting my mind completely, seems to me that there is a TMO Keys for GFO... now, where to find it?...
__________________
"...and bollocks to the naysayers" - Jimbuna |
![]() |
![]() |
![]() |
#3 |
Mate
![]() Join Date: Oct 2011
Posts: 59
Downloads: 76
Uploads: 0
|
![]()
I'm confused.
If the Commands.cfg controls what the keyboard keys do and the following code snippet is in that .cfg and "F3" isn't used for any other key, then why doesn't the F3 key take me to the attack periscope? [Cmd16] Name=Periscope_camera Ctxt=1 MnID=0x3F020003 Key0=0x73,,"F3" ;Key0=0x72,,"F3" Page=0x26000000,3702 GoBack=Conning_tower_camera |
![]() |
![]() |
![]() |
#4 |
The Old Man
![]() Join Date: Dec 2005
Location: Philadelphia Shipyard Brig
Posts: 1,386
Downloads: 160
Uploads: 19
|
![]()
Starting with the easy one;
"Why are the GFO and Snorkel name change mods greyed out in the "activated mods" box of JSGME while the New Orders Bar Menu and Magnified Hud Dials mods are in black?" JGSME is basically a sophisticated backup/copy/paste/overwrite utility. When you activate a mod it checks which files are in the mod, copies the same name files from the game's folders to a backup, then overwrites them with the files from the mod. So if the next mod you install overwrites one of those same files, it can't copy that file to the backup, because then it would lose the original file. Example, activate Improved Stock Environment_v3. JGSME reads all the files in the mod, copies them to a backup, then overwrites all the game files including scene.dat. Now I go to activate Lite Fog, which overwrites the same scene.dat file. I get a warning; Folder "Data" has already been added by the "Improved Stock Environment_v3" mod. "scene.dat" has already been altered by the "Improved Stock Environment_v3" mod. Say YES to overwrite, and it will gray out the Improved Stock Environment_v3 to let me know there's some other mod which I need to deactivate before this one. If I can't figure that out the simplest way is to deactivate all, then re-activate in whichever order doesn't cause conflicts. As for the F3 key, [Cmd32] Name=Navigation_2D_map Ctxt=1 MnID=0x3F020002 Key0=0x72,,"F3" ;Key0=0x74,,"F5" Page=0x31000000,3740 Did you add the comment to disable this one? [Cmd32] Name=Navigation_2D_map Ctxt=1 MnID=0x3F020002 ;Key0=0x72,,"F3" ;Key0=0x74,,"F5" Page=0x31000000,3740 It's possible the program is processing CMD32 before CMD16, going by whatever that MnID line is - in alphanumeric order MnID=0x3F020002 comes before MnID=0x3F020003. If that's the case it might be programmed to load the first instance of the command it comes to and ignore any duplicates it runs across later, since it's already set. To make this work you'd need to disable with a comment ( ; ) anything already using that keystroke. |
![]() |
![]() |
![]() |
#5 |
Mate
![]() Join Date: Oct 2011
Posts: 59
Downloads: 76
Uploads: 0
|
![]()
Yes, I swapped keys between commands 32 and 16. F3 shows up again but it is way down at the bottom of the .cfg in what appears to be some multiplayer commands that I tend to ignore as they never seemed to cause a conflict.
Thank you, Sniper, for the explanation on JGSME. Very informative. |
![]() |
![]() |
![]() |
#6 |
Mate
![]() Join Date: Oct 2011
Posts: 59
Downloads: 76
Uploads: 0
|
![]()
Wow, just went in and knocked all mods out of JSGME.
Deleted the commands.cfg and backup copy of same from my SH4WOP file. Copied in a clean commands.cfg from my original install backup files. So, basically, I have SH4WOP as installed. Clean. Swapped the keys between commands 16 and 32. Launched a new campaign. F3 still takes me to the nav map. here are copies of my commands 32 and 16: [Cmd16] Name=Periscope_camera Ctxt=1 MnID=0x3F020003 Key0=0x73,,"F3" ;Key0=0x72,,"F3" Page=0x26000000,3702 GoBack=Conning_tower_camera [Cmd32] Name=Navigation_2D_map Ctxt=1 MnID=0x3F020002 Key0=0x72,,"F4" ;Key0=0x74,,"F5" Page=0x31000000,3740 Guess I'll trash the entire SH4WOP folder and copy it again from my backup install to see if that does anything. If a no-go, I'll throw it all out and reinstall from the disc. |
![]() |
![]() |
![]() |
#7 | |
Ocean Warrior
![]() Join Date: Mar 2007
Location: Houston, TX
Posts: 2,731
Downloads: 393
Uploads: 12
|
![]() Quote:
F3 is 0x72, not 0x73. 0x73 is F4. Changing the label in quotes doesn't do anything. You actually need to change the codes. Code:
[Cmd16] Name=Periscope_camera Ctxt=1 MnID=0x3F020003 Key0=0x72,,"F3" Page=0x26000000,3702 GoBack=Conning_tower_camera [Cmd32] Name=Navigation_2D_map Ctxt=1 MnID=0x3F020002 Key0=0x74,,"F5" Page=0x31000000,3740 GoBack=Conning_tower_camera
__________________
"Never ask a World War II history buff for a 'final solution' to your problem!" |
|
![]() |
![]() |
![]() |
#8 |
The Old Man
![]() Join Date: Dec 2005
Location: Philadelphia Shipyard Brig
Posts: 1,386
Downloads: 160
Uploads: 19
|
![]()
EDIT: What RAZARK said, you got the virtual key hex codes wrong.
Dunno what SH4WOP is, but I just now tried it in a copy of SH4 1.5 with nothing but the ops monsun mod installed. [Cmd16] Name=Periscope_camera Ctxt=1 MnID=0x3F020003 ;Key0=0x73,,"F4" Key0=0x72,,"F3" Page=0x26000000,3702 GoBack=Conning_tower_camera [Cmd32] Name=Navigation_2D_map Ctxt=1 MnID=0x3F020002 Key0=0x73,,"F4" ;Key0=0x74,,"F5" Page=0x31000000,3740 I didn't mess with the [Cmd555] at the bottom. Started a new American career, hit F3 and got the attack scope, F4 got the nav map. Didn't start a new German career, just loaded a save game in a type VII, but same thing - F3 goes to attack scope, F4 goes to nav map. Two things I can think of; 1. Check the folder path. If I'm editing the F:\SH4US\USA15\Data\Cfg\Commands.cfg then go to C:\Ubisoft\Silent Hunter Wolves of the Pacific to run the game, then I'm not editing the same file I'm playing with. First step in troubleshooting is to doublecheck that you're actually editing the file you think you're editing and not a different file with the same name. 2. UAC - I'm still chugging along with Windows XP (while pining for good old 98SE) so I've never tried Vista/Win 7 or any of the later operating systems, but from what I understand the UAC creates a "virtual folder" in memory while hiding the actual folder on disk. Same result, you're not actually editing the file you think you're editing. Can't help with that possibility since I have no actual experience with UAC. |
![]() |
![]() |
![]() |
#9 |
Mate
![]() Join Date: Oct 2011
Posts: 59
Downloads: 76
Uploads: 0
|
![]()
That's got it!
I forgot to tell you up front that I didn't know anything about what I was doing. I'll bet nobody thought I could be that stooooopid. ![]() Okay! I think I can press on from here. Thanks all for the help the great info! |
![]() |
![]() |
![]() |
Thread Tools | |
Display Modes | |
|
|