Merge SingleGame, part 1

This commit is contained in:
Matt Nadareski
2016-04-20 00:50:31 -07:00
parent a0df635133
commit 99731d3c64
3 changed files with 103 additions and 32 deletions

View File

@@ -70,33 +70,37 @@ namespace SabreTools.Helper
Console.Write(@"
DATabase - Import and Generate DAT files
-----------------------------------------
Usage: DATabase [option] [filename|dirname] <filename|dirname> ...
Usage: DATabase [option] <input=>[filename|dirname] <input=><filename|dirname> ...
Options:
-?, -h, --help Show this help
-a, --add Add a new system or source to the database
manu=mn Manufacturer name (system only)
system=sy System name (system only)
source=sr Source name (source only)
url=ul URL (source only)
manu= Manufacturer name (system only)
system= System name (system only)
source= Source name (source only)
url= URL (source only)
-cr, --convert-rv Convert an XML DAT to RV
out= Output directory
-cx, --convert-xml Convert a RV DAT to XML
Both converters require a filename or folder
out= Output directory
-g, --generate Start tool in generate mode
-ga, --generate-all Start tool in generate all mode
system=sy,... List of system IDs
source=so,... List of source IDs
out=dir Output directory
-nr, --no-rename Don't auto-rename games
-old, --romvault Produce a DAT in RV format
system= Comma-separated list of system IDs
source= Comma-separated list of source IDs
out= Output directoryComma-separated list
-nr, --no-rename Don't auto-rename games
-old, --romvault Produce a DAT in RV format
-i, --import Start tool in import mode
A filename or folder is required to run
-l, --log Enable logging of program output
-lso, --list-sources List all sources (id <= name)
-lsy, --list-systems List all systems (id <= name)
-r, --remove Remove a system or source from the database
system=sy System ID
source=so Source ID
system= System ID
source= Source ID
-sg, --single-game Consolidate DAT into a single game and trim entries
-rd=, --root-dir= Set the directory name for path size
-nr, --no-rename Disable single-game mode
-df, --disable-force Disable forceunzipping
Filenames and directories can't start with '-', 'system=', or 'source='
unless prefixed by 'input='
@@ -124,10 +128,10 @@ Options:
Usage: SingleGame.exe [option] [filename|dirname]
Options:
-rd= Set the directory name for path size
-l, --log Enable logging to file
-n Disable single-game mode
-z Disable forceunzipping
-rd=, --root-dir= Set the directory name for path size
-l, --log Enable logging to file
-nr, --no-rename Disable single-game mode
-df, --disable-force Disable forceunzipping
");
break;
case "DATFromDir":