3
« on: 02 September 2017, 10:23 »
Ah I see. Yes, my assumption was wrong. The checksum of the headerless file matches the dat file and if ClrMamePro detects "NES" in that file it skippes a couple of bytes.
So for me, if I want a collection with headers only I could remove that data test. ClrMamePro should now always skip the offset and every file without a header should now mismatch.
The only problem are BIOS files now which have no header. I could try to set a size test here. A name test for "starting with '[BIOS]'" would be nice.
The thing is, I want a clear distinction between "headered" and "headerless". A mode like I assumed in my starting post. "If there is a header, skip it for checksum calculation, but reject the file if there is no header"... well... except for BIOS files.