a ROMs list would have at the bare minimum the game name and its ROMs list.
ROMs list would have at least "rom name" and "rom CRC32". now, the ROM name is just for show, so users can see what filename is missing in their ROM sets. but my frontend only search for CRC32.
a "-print-roms" command line could be implemented in the emulator (if it's not too complicated or difficult) that would parse game name and its ROMS from the emulator binary. it would be a lot easier than maintaining an external xml file. and frontends would use this -print-roms output to get game ROMs for their frontends. BUT, the xml dat file (ClrMAME format) is already created so, this new feature in your emulator is an option for the future (if you decide to implement this).
a very simple "-print-roms" output could be something like this
Code:
[ bass ] name="epr-20313.21" size="524288" crc="863a7857" name="epr-20643.17" size="524288" crc="daf02716" .. ..
[ daytona2 ] name="epr-20886.ic2" size="131072" crc="65b05f98" name="epr-20985.bin" size="65536" crc="b139481d" name="epr-21178.17" size="2097152" crc="230bf8ac" .. ..
and so forth...
it's just an example. plain text file (no XML format). list the game name followed by ROMs ("rom name", "rom size", "rom crc32").
regards.
Ciro Alfredo Consentino
home: http://emuloader.mameworld.info
e-mail: [email protected]
Edited by CiroConsentino (09/28/11 02:26 PM)
|