If you know its a complete set, simply look at the revision history of mame (whatsold.txt goes back to around mame 0.58) and then compare 'New games added' to each version of mame, and see if you have them. If you work from old->new, as soon as you come across a newgameadded that is not your set, then you know your version of mame.... probably easier than running lots of rom scans.