[SabreTools, DatFIle] Add base replacement

In this new update mode, a set of base DATs can be used as a replacement naming scheme for the input DATs. Only the item names will be updated, so this willl not fill in additional hashes or the like.
This commit is contained in:
Matt Nadareski
2017-10-30 16:09:58 -07:00
parent c7f8fc12c0
commit 3bdad8b455
5 changed files with 166 additions and 3 deletions

View File

@@ -1177,6 +1177,17 @@ Options:
a second time, this will skip writing it. This can often
speed up the output process.
-bn, --base-name Replace matching item names from base DAT
By default, no item names are changed except when there is a merge
occurring. This flag enables users to define a DAT or set of base
DATs to use as "replacement names" for all input DATs. Note that
the first found instance of an item in the base DAT(s) will be
used and all others will be disgarded.
-bd=, --base-dat= Add a base DAT for replacing
Add a DAT or folder of DATs to the base set to be used in
item name replacement
-gn=, --not-game= Filter by game name
-ngn=, --game-name= Exclude by game name
-rn=, --rom-name= Filter by rom name