MKMAMEDB(1) | General Commands Manual | MKMAMEDB(1) |
mkmamedb
—
mkmamedb |
[-hutV ] [-C
hashtypes] [-F
outputformat] [-o
dbfile] [-x
pat]
[- -detector
file]
[- -exclude
pat]
[- -hash-types
types]
[- -help ]
[- -no-directory-cache ]
[- -only-files
pattern]
[- -output
dbfile]
[- -prog-description
description]
[- -prog-name
name]
[- -prog-version
version]
[- -roms-unzipped ]
[- -skip-files
pattern]
[- -version ]
[rominfo-file ...] |
mkmamedb
converts ROM set descriptions from one format
to another.
The ROM set description is read from the specified files (or
directories) or the standard input if no files are specified. The default
output file is mame.db. You can override it with the
-o
option or the MAMEDB
environment variable.
Supported input formats are:
-u
); each
sub-directory is taken as a gameThe CMPro file format is described at http://www.logiqx.com/FAQs/CMPro.shtml, the DTD for MAME xml can be found in PREFIX/share/doc/ckmame/.
mkmamedb
supports the following options:
-C
types,
-
-hash-types
types-F
outputformat,
-
-format
outputformatcm
(clrmamepro dat file), dat
(XML datfile),
db
(ckmame(1)
database), and mtree
(mtree(8) file). The default is
cm.-
-detector
filemkmamedb
looks for the detector in the
input file (if it is a zip file) or the directory of the input file.-h
,
-
-help
-o
dbfile,
-
-output
dbfile-
-no-directory-cache
mkmamedb
is used to create a database from an
input directory, it will by default write a
.ckmame.db database file to it, caching the
directory contents' hashes in it so that consecutive re-runs are faster.
When mkmamedb
finds such a database, it only
computes the hashes for the files that have changed since the last
run.-
-only-files
pattern-
-prog-description
description-
-prog-name
name-
-prog-version
version-
-skip-files
pattern-t
,
-
-use-temp-directory
-u
,
-
-roms-unzipped
-V
,
-
-version
-x
pat,
-
-exclude
patMAMEDB
-o
option. Defaults to
“mame.db”.# mame -listxml | mkmamedb
mkmamedb
was written by Dieter
Baron ⟨dillo@nih.at⟩ and Thomas
Klausner
<tk@giga.or.at>.
October 3, 2020 | NiH |