Fader_Berg
11-30-18, 06:13 PM
makman94 sent me a message a month ago which reminded me of SH3. I couldn't resist to dust off that captains hat again off course. Ahead full with it again. ;)
I'm messing around with mods to build my setup and started to write a tool to ease the pain. It's a sorry little bastard but if you find it useful, you're more than welcome to use it.
Precondition Rules for ini-files:
Line length MUST NOT be longer than 255 bytes
Items MUST be separated by -at least - one blank line
Item data MUST NOT contain a blank line
Text UP TO the first item ([Gxx Ix]) is left as is
Help:
Usage: SH3rryPick [options] base_file [file1, file2, ...]
Options:
-d diff a file with base_file
-m merge a file with base_file
-o fn output to file instead of stdout
-h print this help and exit
-r renumber items in base_file
-v print version and exitDiff:Compares two main.ini-files and outputs items that are different to the ones- or non-existent; in the base_file. Comments, group- and id number set aside.
SH3rryPick -d menu_1024_768.ini other_menu.ini > menu_diff.iniMerge:Merges items in a file to the ones in the base_file and outputs a renumbered version containing all items.
SH3rryPick -m menu_1024_768.ini other_menu.ini > new_menu.iniRenumber:Outputs a renumbered version of base_file.
SH3rryPick -r menu_1024_768.ini > menu_new.iniDon't look straight at the bugs. You have been warned.
Download:
r26 : https://fb.tuxxor.net/SH3rryPick.exe
Appendix:
Windows Command Line Tutorial - #13 (http://www.subsim.com/radioroom/showpost.php?p=2579907&postcount=13)
A modest guide - #14 (http://www.subsim.com/radioroom/showpost.php?p=2580768&postcount=14)
I'm messing around with mods to build my setup and started to write a tool to ease the pain. It's a sorry little bastard but if you find it useful, you're more than welcome to use it.
Precondition Rules for ini-files:
Line length MUST NOT be longer than 255 bytes
Items MUST be separated by -at least - one blank line
Item data MUST NOT contain a blank line
Text UP TO the first item ([Gxx Ix]) is left as is
Help:
Usage: SH3rryPick [options] base_file [file1, file2, ...]
Options:
-d diff a file with base_file
-m merge a file with base_file
-o fn output to file instead of stdout
-h print this help and exit
-r renumber items in base_file
-v print version and exitDiff:Compares two main.ini-files and outputs items that are different to the ones- or non-existent; in the base_file. Comments, group- and id number set aside.
SH3rryPick -d menu_1024_768.ini other_menu.ini > menu_diff.iniMerge:Merges items in a file to the ones in the base_file and outputs a renumbered version containing all items.
SH3rryPick -m menu_1024_768.ini other_menu.ini > new_menu.iniRenumber:Outputs a renumbered version of base_file.
SH3rryPick -r menu_1024_768.ini > menu_new.iniDon't look straight at the bugs. You have been warned.
Download:
r26 : https://fb.tuxxor.net/SH3rryPick.exe
Appendix:
Windows Command Line Tutorial - #13 (http://www.subsim.com/radioroom/showpost.php?p=2579907&postcount=13)
A modest guide - #14 (http://www.subsim.com/radioroom/showpost.php?p=2580768&postcount=14)