mroach/rom64

Known good ROM checksum database

mroach opened this issue · 0 comments

Background

There are nice lists of known good ROM dumps with MD5 and/or SHA1 hashes.

For example dat-o-matic has a great dump in XML format that includes two pieces of information we'd need:

  • ROM ID
  • MD5

Tasks

(Maybe break this up into several tasks)

  • Download the .dat file
  • At build time, read the data file into go source code so that we don't have to distribute any files with the binary
  • Allow a CLI flag to read a dat file from somewhere else so that uses can use their own and/or and updated list
  • Add a check command to validate the hash of a single ROM
  • In ls, add a --check flag to validate each ROM
  • After a convert, automatically run a check to make sure we didn't botch the conversion somehow.