[SabreTools, SimpleSort] Rename standalone app again, add multithreading to ST versions

This commit is contained in:
Matt Nadareski
2016-10-20 18:05:19 -07:00
parent e48e14fa9e
commit 5037c3c31f
6 changed files with 23 additions and 6 deletions

View File

@@ -192,6 +192,7 @@ namespace SabreTools.Helper
helptext.Add(" -rar={2} Set scanning level for RAR archives");
helptext.Add(" -zip={0} Set scanning level for ZIP archives");
helptext.Add(" -ud, --update-dat Output updated DAT");
helptext.Add(" -mt={4} Amount of threads to use (-1 unlimted)");
// Stats
helptext.Add(" -st, --stats Get statistics on all input DATs");
@@ -305,6 +306,7 @@ namespace SabreTools.Helper
helptext.Add(" Supported values are:");
helptext.Add(" None, Good, BadDump, Nodump, Verified, NotNodump");
helptext.Add(" -out= Output directory (overridden by --inplace)");
helptext.Add(" -mt={4} Amount of threads to use (-1 unlimted)");
// Verify
helptext.Add(" -ve, --verify Verify a folder against DATs");
@@ -329,7 +331,7 @@ namespace SabreTools.Helper
helptext.Add("Filter parameters for size can use postfixes for inputs:");
helptext.Add(" e.g. 8kb => 8000 or 8kib => 8192");
break;
case "SimpleSortApp":
case "SimpleSort":
helptext.Add(Resources.Resources.SimpleSort_Name + " - " + Resources.Resources.SimpleSort_Desc);
helptext.Add(barrier);
helptext.Add(Resources.Resources.Usage + ": " + Resources.Resources.SimpleSort_Name + " [options] [filename|dirname] ...");

View File

@@ -458,6 +458,12 @@ Options:
0 Hash both archive and its contents
1 Only hash contents of the archive
2 Only hash archive itself (treat like a regular file)
-mt={4} Amount of threads to use
Optionally, set the number of threads to use for the multithreaded operations.
The default is 4 threads; -1 means unlimited threads created. If the user specifies
that only 1 thread is to be used, it defaults to the original, serial implementation
of the DFD code.
-ud, --update-dat Output updated DAT (rebuild only)
Once the files that were able to rebuilt are taken care of, a DAT of the files
@@ -793,6 +799,12 @@ Options:
This sets an output folder to be used when the files are created. If a path
is not defined, the application directory is used instead.
-mt={4} Amount of threads to use
Optionally, set the number of threads to use for the multithreaded operations.
The default is 4 threads; -1 means unlimited threads created. If the user specifies
that only 1 thread is to be used, it defaults to the original, serial implementation
of the DFD code.
-ve, --verify Verify a folder against an input DAT
When used, this will use an input DAT or set of DATs to blindly check against an input
folder. The base of the folder is considered the base for the combined DATs and games are