Use superior DAT creation tools instead of direct DAT conversion.

This change includes a few changes meant to keep the information from each DAT and have it retained in a single object which can then be written out in any format or added to other DATs with very little issue. This new system is much more versitile since all it needs is a way to convert each DAT to XML and then use the built-in output to output from the XML to the target format. This also gives the ability to clean a DAT by "converting" a DAT to the same format, removing any improper tagging or the such.
This commit is contained in:
Matt Nadareski
2016-05-16 15:17:11 -07:00
parent d2e96a8f24
commit d90826b7a4
5 changed files with 75 additions and 172 deletions

View File

@@ -87,7 +87,7 @@ Options:
-system= System name (system only)
-source= Source name (source only)
-url= URL (source only)
-cc, --convert-cmp Convert an XML DAT to CMP
-cc, --convert-cmp Convert any DAT to CMP
-out= Output directory
-cm, --convert-miss Convert from DAT to miss
-r, --roms Output roms to miss instead of sets
@@ -97,7 +97,7 @@ Options:
-q, --quotes Put double-quotes around each item
-ae=, --add-ext= Add an extension to each item
-re=, --rep-ext= Replace all extensions with specified
-cx, --convert-xml Convert a CMP DAT to XML
-cx, --convert-xml Convert any DAT to XML
-out= Output directory
-es, --ext-split Split a DAT by two file extensions
-exta= First extension to split by