DUMPGAME(1)

NAME
dumpgame - extract rom set information from ckmame database

SYNOPSIS
dumpgame {-b | --brief} [{-D dbfile | --db dbfile}] [game]
dumpgame -c | -d | --checksum | --disk [{-D dbfile | --db dbfile}] checksum [...]
dumpgame [-hV] [--help] [--version]

DESCRIPTION
dumpgame extracts rom set information from a ckmame(1) database. dumpgame can also find roms matching a particular checksum.

dumpgame supports the following options:

-b, --brief
    Use brief mode: don't output ROM and disk information.

-c, --checksum
    Look for a ROM by checksum (instead of the default behaviour to look for a game by name).

-D dbfile, --db dbfile
    Use database dbfile instead of the default “mame.db”.

-d, --disk
    Look for a disk by checksum (instead of the default behaviour to look for a game by name).

-h, --help
    Display a short help message.

-V, --version
    Display program name and version number.

The game argument can also be one of the following special keywords:

/ckmame
    Report database version of the database, if it is supported by dumpgame.

/dat
    Names of the datfiles used for creating the database, and their descriptions.

/detector
    Name and version of the CMPro XML header skip detector used (if any).

/hashtypes
    Types of checksums used (crc, md5, sha1). One line each for roms and disks.

/list
    Same as /list/game.

/list/disk
    List names of all disks in the database.

/list/game
    List names of all games in the database.

/list/sample
    List names of all games with samples in the database.

/stats
    List some statistics about the contents of the database.

ENVIRONMENT

MAMEDB
    Location for the database file. Can be overridden with the -D option. Defaults to “mame.db”.

EXAMPLES
Display rom information for the game “pacman”:
    dumpgame pacman
Display all roms matching the checksum “c1e6ab10”:
    dumpgame -c c1e6ab10

SEE ALSO
ckmame(1), mkmamedb(1)

AUTHORS
-nosplit dumpgame was written by Dieter Baron <dillo@giga.or.at> and Thomas Klausner <tk@giga.or.at>.