mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
[SabreTools] Add Sort Depot to help
This commit is contained in:
@@ -435,31 +435,107 @@ namespace SabreTools
|
|||||||
FeatureType.String,
|
FeatureType.String,
|
||||||
null));
|
null));
|
||||||
|
|
||||||
/*
|
|
||||||
|
|
||||||
// Create the Sort Depot feature
|
// Create the Sort Depot feature
|
||||||
Feature sortDepot = new Feature(
|
Feature sortDepot = new Feature(
|
||||||
new List<string>() { "-ssd", "--sort-depot" },
|
new List<string>() { "-ssd", "--sort-depot" },
|
||||||
"Sort romba depots by a set of DATs",
|
"Sort romba depots by a set of DATs",
|
||||||
FeatureType.Flag,
|
FeatureType.Flag,
|
||||||
null);
|
null);
|
||||||
helptext.Add(" -dat= Input DAT to rebuild against");
|
sortDepot.AddFeature("dat", new Feature(
|
||||||
helptext.Add(" -out= Output directory");
|
new List<string>() { "-dat", "--dat" },
|
||||||
helptext.Add(" -t=, --temp= Set the temporary directory to use");
|
"Input DAT to rebuild against",
|
||||||
helptext.Add(" -del, --delete Delete fully rebuilt input files");
|
FeatureType.List,
|
||||||
helptext.Add(" -in, --inverse Rebuild only files not in DAT");
|
null));
|
||||||
helptext.Add(" -ad, --add-date Add original dates from DAT, if possible");
|
sortDepot.AddFeature("out", new Feature(
|
||||||
//helptext.Add(" -t7z Enable Torrent7z output");
|
new List<string>() { "-out", "--out" },
|
||||||
helptext.Add(" -tar Enable TAR output");
|
"Output directory",
|
||||||
helptext.Add(" -tgz Enable TorrentGZ output");
|
FeatureType.String,
|
||||||
helptext.Add(" -r, --romba Enable Romba depot dir output");
|
null));
|
||||||
//helptext.Add(" -tlrz Enable TorrentLRZ output");
|
sortDepot.AddFeature("temp", new Feature(
|
||||||
//helptext.Add(" -trar Enable TorrentRAR output");
|
new List<string>() { "-temp", "--temp" },
|
||||||
//helptext.Add(" -txz Enable TorrentXZ output");
|
"Set the temporary directory to use",
|
||||||
helptext.Add(" -tzip Enable TorrentZip output");
|
FeatureType.String,
|
||||||
helptext.Add(" -h=, --header= Set a header skipper to use, blank means all");
|
null));
|
||||||
helptext.Add(" -ud, --update-dat Output updated DAT to output directory");
|
sortDepot.AddFeature("delete", new Feature(
|
||||||
helptext.Add(" -mt={4} Amount of threads to use (-1 unlimted)");
|
new List<string>() { "-del", "--delete" },
|
||||||
|
"Delete fully rebuilt input files",
|
||||||
|
FeatureType.Flag,
|
||||||
|
null));
|
||||||
|
sortDepot.AddFeature("inverse", new Feature(
|
||||||
|
new List<string>() { "-in", "--inverse" },
|
||||||
|
"Rebuild only files not in DAT",
|
||||||
|
FeatureType.Flag,
|
||||||
|
null));
|
||||||
|
sortDepot.AddFeature("add-date", new Feature(
|
||||||
|
new List<string>() { "-ad", "--add-date" },
|
||||||
|
"Add original dates from DAT, if possible",
|
||||||
|
FeatureType.Flag,
|
||||||
|
null));
|
||||||
|
/*
|
||||||
|
sortDepot.AddFeature("t7z", new Feature(
|
||||||
|
new List<string>() { "-t7z", "--t7z" },
|
||||||
|
"Enable Torrent7z output",
|
||||||
|
FeatureType.Flag,
|
||||||
|
null));
|
||||||
|
*/
|
||||||
|
sortDepot.AddFeature("tar", new Feature(
|
||||||
|
new List<string>() { "-tar", "--tar" },
|
||||||
|
"Enable TAR output",
|
||||||
|
FeatureType.Flag,
|
||||||
|
null));
|
||||||
|
sortDepot.AddFeature("tgz", new Feature(
|
||||||
|
new List<string>() { "-tgz", "--tgz" },
|
||||||
|
"Enable TorrentGZ output",
|
||||||
|
FeatureType.Flag,
|
||||||
|
null));
|
||||||
|
sort["tgz"].AddFeature("romba", new Feature(
|
||||||
|
new List<string>() { "-r", "--romba" },
|
||||||
|
"Enable Romba depot dir output",
|
||||||
|
FeatureType.Flag,
|
||||||
|
null));
|
||||||
|
/*
|
||||||
|
sortDepot.AddFeature("tlrz", new Feature(
|
||||||
|
new List<string>() { "-tlrz", "--tlrz" },
|
||||||
|
"Enable TorrentLRZ output",
|
||||||
|
FeatureType.Flag,
|
||||||
|
null));
|
||||||
|
*/
|
||||||
|
/*
|
||||||
|
sortDepot.AddFeature("trar", new Feature(
|
||||||
|
new List<string>() { "-trar", "--trar" },
|
||||||
|
"Enable TorrentRAR output",
|
||||||
|
FeatureType.Flag,
|
||||||
|
null));
|
||||||
|
*/
|
||||||
|
/*
|
||||||
|
sortDepot.AddFeature("txz", new Feature(
|
||||||
|
new List<string>() { "-txz", "--txz" },
|
||||||
|
"Enable TorrentXZ output",
|
||||||
|
FeatureType.Flag,
|
||||||
|
null));
|
||||||
|
*/
|
||||||
|
sortDepot.AddFeature("tzip", new Feature(
|
||||||
|
new List<string>() { "-tzip", "--tzip" },
|
||||||
|
"Enable TorrentZip output",
|
||||||
|
FeatureType.Flag,
|
||||||
|
null));
|
||||||
|
sortDepot.AddFeature("header", new Feature(
|
||||||
|
new List<string>() { "-h", "--header" },
|
||||||
|
"Set a header skipper to use, blank means all",
|
||||||
|
FeatureType.String,
|
||||||
|
null));
|
||||||
|
sortDepot.AddFeature("update-dat", new Feature(
|
||||||
|
new List<string>() { "-ud", "--update-dat" },
|
||||||
|
"Output updated DAT to output directory",
|
||||||
|
FeatureType.Flag,
|
||||||
|
null));
|
||||||
|
sortDepot.AddFeature("mt", new Feature(
|
||||||
|
new List<string>() { "-mt", "--mt" },
|
||||||
|
"Amount of threads to use (default 4, -1 unlimted)",
|
||||||
|
FeatureType.String,
|
||||||
|
null));
|
||||||
|
|
||||||
|
/*
|
||||||
|
|
||||||
// Create the Stats feature
|
// Create the Stats feature
|
||||||
Feature stats = new Feature(
|
Feature stats = new Feature(
|
||||||
@@ -665,7 +741,7 @@ namespace SabreTools
|
|||||||
help.Add("Level Split", levelSplit);
|
help.Add("Level Split", levelSplit);
|
||||||
help.Add("Restore", restore);
|
help.Add("Restore", restore);
|
||||||
help.Add("Sort", sort);
|
help.Add("Sort", sort);
|
||||||
//help.Add("Sort Depot", sortDepot);
|
help.Add("Sort Depot", sortDepot);
|
||||||
//help.Add("Stats", stats);
|
//help.Add("Stats", stats);
|
||||||
//help.Add("Type Split", typeSplit);
|
//help.Add("Type Split", typeSplit);
|
||||||
//help.Add("Update", update);
|
//help.Add("Update", update);
|
||||||
|
|||||||
Reference in New Issue
Block a user