Log in

View Full Version : [REL] SH3 and SH4 commands.cfg file merger


Skweetis
04-14-07, 01:46 PM
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/SH4CommandFileMerger.zip


Cheers.

Meridian
04-14-07, 02:15 PM
Perfect. Great little tool Skweetis. I was getting fed up going through Command files using Examdiff to find the differences and copying them.

Skweetis
04-14-07, 02:21 PM
Yeah, I've been using WinMerge, but figured something small and simple like this may benifit more users.

Cheers!

shad43
04-14-07, 02:28 PM
Sounds like a great tool, thanks :D

Tuddley3
04-20-07, 05:39 AM
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.

Digital_Trucker
07-20-07, 09:30 PM
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. :rock: :rock: :rock:

MacHine13of13
04-25-09, 09:46 AM
This [REL] seems to have a broken link, as it fires up one of my search engines.

Hope I am mistaken... :oops:

On the chance that I'm correct, I'd be thankful for any assist.

aanker
04-25-09, 11:09 AM
I'd be thankful for any assist.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

Webster
04-25-09, 12:39 PM
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


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.