SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Silent Hunter 3 - 4 - 5 > SH4 Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 04-14-07, 01:46 PM   #1
Skweetis
Watch Officer
 
Join Date: Sep 2001
Location: Cambridge, Canada
Posts: 335
Downloads: 39
Uploads: 0
Default [REL] SH3 and SH4 commands.cfg file merger

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
Skweetis is offline   Reply With Quote
Old 04-14-07, 02:15 PM   #2
Meridian
Frogman
 
Join Date: Apr 2005
Location: Kent, UK
Posts: 292
Downloads: 630
Uploads: 0
Default

Perfect. Great little tool Skweetis. I was getting fed up going through Command files using Examdiff to find the differences and copying them.
__________________
SH3 Album SH4 Album

AORUS Z390 Ultra, Intel Core i5 8600K, GeForce GTX 1050 Ti 4096mb, 64.0GB Dual-Channel DDR4, Soundblaster Z.
Meridian is offline   Reply With Quote
Old 04-14-07, 02:21 PM   #3
Skweetis
Watch Officer
 
Join Date: Sep 2001
Location: Cambridge, Canada
Posts: 335
Downloads: 39
Uploads: 0
Default

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
Skweetis is offline   Reply With Quote
Old 04-14-07, 02:28 PM   #4
shad43
Frogman
 
Join Date: Mar 2007
Location: six feet under
Posts: 301
Downloads: 21
Uploads: 0
Default

Sounds like a great tool, thanks
shad43 is offline   Reply With Quote
Old 04-20-07, 05:39 AM   #5
Tuddley3
Grey Wolf
 
Join Date: Aug 2006
Location: Augusta, Maine USA
Posts: 905
Downloads: 170
Uploads: 0
Default

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.
Tuddley3 is offline   Reply With Quote
Old 07-20-07, 09:30 PM   #6
Digital_Trucker
Silent Hunter
 
Join Date: Jul 2007
Location: The Peach State
Posts: 4,171
Downloads: 141
Uploads: 10
Default

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.
Digital_Trucker is offline   Reply With Quote
Old 04-25-09, 09:46 AM   #7
MacHine13of13
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default Broken Link?

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.
  Reply With Quote
Old 04-25-09, 11:09 AM   #8
aanker
Pacific Thunder
 
aanker's Avatar
 
Join Date: Apr 2004
Location: Yellow Sea
Posts: 1,896
Downloads: 236
Uploads: 14


Default

Quote:
Originally Posted by MacHine13of13 View Post
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

Last edited by aanker; 04-25-09 at 11:20 AM.
aanker is offline   Reply With Quote
Old 04-25-09, 12:39 PM   #9
Webster
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Quote:
Originally Posted by aanker View Post
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.
  Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 06:44 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 1995- 2025 Subsim®
"Subsim" is a registered trademark, all rights reserved.