diff --git a/SabreTools.Library/README.1ST b/SabreTools.Library/README.1ST index 9a9d6a01..c6b1694f 100644 --- a/SabreTools.Library/README.1ST +++ b/SabreTools.Library/README.1ST @@ -288,6 +288,10 @@ Options: If this flag is enabled, then the romof, cloneof, and sampleof tags will be omitted from the outputted DAT. + -ef, --exclude-field Exclude a game/rom field from outputs + Exclude any valid item or machine field from outputs. Examples + include: romof, publisher, and offset. + -orpg, --one-rom-per-game Try to ensure each rom has its own game In some cases, it is beneficial to have every rom put into its own output set as a subfolder of the original parent. This flag enables @@ -845,6 +849,10 @@ Options: If this flag is enabled, then the romof, cloneof, and sampleof tags will be omitted from the outputted DAT. + -ef, --exclude-field Exclude a game/rom field from outputs + Exclude any valid item or machine field from outputs. Examples + include: romof, publisher, and offset. + -orpg, --one-rom-per-game Try to ensure each rom has its own game In some cases, it is beneficial to have every rom put into its own output set as a subfolder of the original parent. This flag enables diff --git a/SabreTools/SabreTools.Help.cs b/SabreTools/SabreTools.Help.cs index 111c60aa..09878455 100644 --- a/SabreTools/SabreTools.Help.cs +++ b/SabreTools/SabreTools.Help.cs @@ -356,7 +356,7 @@ namespace SabreTools FeatureType.Flag, longDescription: "If this flag is enabled, then the romof, cloneof, and sampleof tags will be omitted from the outputted DAT."); } - } + } // TODO: Remove private static Feature _extensionFlag { get @@ -1571,7 +1571,7 @@ namespace SabreTools FeatureType.List, longDescription: "Exclude any valid item or machine field from outputs. Examples include: romof, publisher, and offset."); } - } // TODO: ADD THIS TO USED FLAGS + } private static Feature _extaListInput { get @@ -2397,6 +2397,7 @@ Some special strings that can be used: datFromDir.AddFeature(_commentStringInput); datFromDir.AddFeature(_superdatFlag); datFromDir.AddFeature(_excludeOfFlag); + datFromDir.AddFeature(_excludeFieldListInput); datFromDir.AddFeature(_oneRomPerGameFlag); datFromDir.AddFeature(_sceneDateStripFlag); datFromDir.AddFeature(_addBlankFilesFlag); @@ -2670,6 +2671,7 @@ The stats that are outputted are as follows: update.AddFeature(_forcenodumpStringInput); update.AddFeature(_forcepackingStringInput); update.AddFeature(_excludeOfFlag); + update.AddFeature(_excludeFieldListInput); update.AddFeature(_oneRomPerGameFlag); update.AddFeature(_keepEmptyGamesFlag); update.AddFeature(_sceneDateStripFlag);