import-dats
Imports Logiqx DAT files from No-Intro, Redump or MAME, including Parent-Clone DATs.
ZIP files such as No-Intro’s daily packs are read directly, including DATs in nested directories.
With -u, only systems already in the database are updated, which keeps a collection in sync with those packs.
An update keeps a system’s custom name and extension unless new ones are given.
-f sets each to what is given, so one left out reverts to the DAT’s.
When an update moves ROM files, to a renamed game or to Trash, the directories they leave empty are deleted, except the ROM, system and Trash directories.
When it renames a game’s tracks along with their cue sheet, as Redump renames a game, the cue sheet is rewritten to name them as they are now, and kept when the DAT lists the result; otherwise it goes to Trash.
Some systems need a header definition next to their DAT file. oxyROMon falls back to its own when it is missing.
MAME, HBMAME and FBNeo DATs are covered in Arcade.
Parse and import Logiqx DAT files into oxyromon
Usage: oxyromon import-dats [OPTIONS] <DATS>...
Arguments:
<DATS>... Set the DAT files to import
Options:
-i, --info Show the DAT information and exit
-u, --update Only import DAT files for systems already in the database
-s, --skip-header Skip parsing the header even if the system has one
-f, --force Force import of outdated DAT files
-n, --name <NAME> Customize the system name
-e, --extension <EXTENSION> Customize the system extension
-a, --arcade Import as arcade systems, for DATs that list games instead of machines
-h, --help Print help