Arcade Cabinet


Valid XHTML 1.0!

Valid CSS!


News

CAESAR

Forum

Dats

Tools

DatFAQs

HowTo

Links


X-Arcade

X-Arcade


MAME Dat

Last updated: 30th June 2004

Overview

Although MAME is capable of creating an XML data file using the '-listxml' option it is sensible to clean up the output using DatUtil, thereby removing redundant information and making it more readable. Also, if you try to use the 'listxml' output directly with CMPro or RomCenter you will end up with slightly differing behaviour from the two tools (for a few games) due to merging of ROMs with different names. The way to avoid this difference in behaviour is to use the automatic 'fix merging' feature of DatUtil.


Data File Creation

Creating the MAME Data File

In order to create a 'clean' CMPro dat:

  • mame -listxml >mame.xml
  • datutil mame.xml

The CMPro data file should now be perfect so you can convert it to RomCenter format using DatUtil.

Creation of 'MAME Changes' Data Files

You will need the MAME data file from the previous MAME version in order to do this. When you have both data files to hand, use the MAMEDiff options -s, -m and -n with -d1 to create data files for the three set types. I do all of this generation using a 'makefile' (C programmers will know what that is) but a simple .bat script could be used to save effort when a new MAME release comes out.

Creation of 'MAME Supplements' Data Files

You will need the MAME data file from the previous MAME version in order to do this. When you have both data files to hand, use the MAMEDiff options -s, -m and -n with -d2 to create data files for the three set types. I do all of this generation using a 'makefile' (C programmers will know what that is) but a simple .bat script could be used to save effort when a new MAME release comes out.