![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
![]() |
#1 |
Watch Officer
![]() Join Date: Sep 2001
Location: Cambridge, Canada
Posts: 335
Downloads: 39
Uploads: 0
|
![]()
Heres a little utility that may make our lives a little easier when it comes to editing the commands.cfg file
>>> BACK UP YOUR COMMANDS.CFG FILE, LOCATED IN YOUR DATA\CFG\ FOLDER <<< **ABOUT** Since its not always practical or pleasant for a user to go and modify individual commands in the commands.cfg file, and overwriting your commands.cfg may not be desirable, I created this simple utility to allow you to MERGE new commands into your existing commands.cfg file. If SH34CFM detects that a different entry for the same command exists, it will ask you if you would like to overwrite that value. This way you can pic and choose what values you want to keep! **INSTALLATION** Place the entire contents of this zip file in your SH3 or SH4 folder (the quickest way to find this location is to RIGHT MOUSE CLICK on your SH3 or SH4 Shortcut. On the menu that pops up, select "PROPERTIES". Then towards the bottom of the window that will now pop up, click the "FIND TARGET..." Button. Now you are in the folder where the SH34CFM.exe and CFM_Files should go. **INSTRUCTIONS FOR USERS** Simply place the .cfm file that a modder has created in your CFM_Files folder. Launch the SH34CFM.exe file, select the .cfm file you downloaded, and click GO! Follow any instructions that pop up. Your command file is now Merged! **INSTRUCTIONS FOR MODDERS** Create a text file, enter the commands you would like to add/modify into the text file exactly as they would appear in the commands.cfg file. Rename it to [your command mod name].cfm and you are done! A sample CFM file is included with some SH4 Default commands in it, to give you an idea of what the contents of a .cfm file should include. This should also be JSGME compatible. Follow the instructions with JSGME. **OTHER STUFF** This software is provided free of charge, without support, as-is without warranty or gauruntee as to its usability. THIS PROGRAM MAY BE DISTRIBUTED FREELY PROVIDED ALL FILES ARE INTACT AND THIS README IS INCLUDED, AND IT IS NOT DISTRIBUTED FOR COMMERCIAL GAIN. Any questions or comments, feel free to PM SKWEETIS on the SUBSIM.COM forums Get it here: http://rednaxela.killerpings.ws/SH4/...FileMerger.zip Cheers.
__________________
"Is the glass half-empty? Or half-full? Either way, when you're thirsty, there's water to be had in that glass." - Neal Stevens |
![]() |
![]() |
![]() |
#2 |
Frogman
![]() Join Date: Apr 2005
Location: Kent, UK
Posts: 292
Downloads: 630
Uploads: 0
|
![]()
Perfect. Great little tool Skweetis. I was getting fed up going through Command files using Examdiff to find the differences and copying them.
|
![]() |
![]() |
![]() |
#3 |
Watch Officer
![]() Join Date: Sep 2001
Location: Cambridge, Canada
Posts: 335
Downloads: 39
Uploads: 0
|
![]()
Yeah, I've been using WinMerge, but figured something small and simple like this may benifit more users.
Cheers!
__________________
"Is the glass half-empty? Or half-full? Either way, when you're thirsty, there's water to be had in that glass." - Neal Stevens |
![]() |
![]() |
![]() |
#4 |
Frogman
![]() Join Date: Mar 2007
Location: six feet under
Posts: 301
Downloads: 21
Uploads: 0
|
![]()
Sounds like a great tool, thanks
![]() |
![]() |
![]() |
![]() |
#5 |
Grey Wolf
![]() Join Date: Aug 2006
Location: Augusta, Maine USA
Posts: 905
Downloads: 170
Uploads: 0
|
![]()
You can also place the Commands file in JSGME. I put it in the Mods folder as such Hotkeys/Data/Cfg. Puting it is JSGME prevents other mods that modify the Commands_en file. I always make sure to keep Hotkeys at the bottom of the enabled list.
|
![]() |
![]() |
![]() |
#6 |
Silent Hunter
![]() Join Date: Jul 2007
Location: The Peach State
Posts: 4,171
Downloads: 141
Uploads: 10
|
![]()
Many thanks, Sweetis, for this lifesaver. I have been putting off setting up my voice command software for SH4 because I didn't want to do the examdiff/edit thing either.
![]() ![]() ![]() |
![]() |
![]() |
![]() |
#7 |
Stowaway
Posts: n/a
Downloads:
Uploads:
|
![]()
This [REL] seems to have a broken link, as it fires up one of my search engines.
Hope I am mistaken... ![]() On the chance that I'm correct, I'd be thankful for any assist. |
![]() |
![]() |
#8 |
Pacific Thunder
|
![]()
Sorry, can't help you with the dead link.
An alternative solution that I use is NoteTab to open 2 cfg files (any 2 text files) to compare them and list the differences in a 3rd tab. Then I go down the differences list and edit in the commands (or whatever) I want to use in my install. NoteTab will even handle comparisons of large files like menu_1024_768.ini. http://www.notetab.com/ - I think it's a Swiss program, I've been using it for years. There is a free version. It is like Windows Notepad on steroids. Happy Hunting! Art Last edited by aanker; 04-25-09 at 11:20 AM. |
![]() |
![]() |
![]() |
#9 | |
Stowaway
Posts: n/a
Downloads:
Uploads:
|
![]() Quote:
winmerge is free too and i think it makes things so much easier to find, see, and copy text file differences. just open both files and it highlights any differences then you click the one you want to use and tell it to copy to the other file. it will copy in either direction so which file you open first doesnt matter as long as you remember to save before exiting. |
|
![]() |
![]() |
|
|