How to Verify a Cartridge Dump With Two Independent Reads

This verify cartridge dump guide shows how two independent reads plus a SHA-1 or CRC32 hash catch a bad dump before you trust the backup you keep.
A cartridge dump is only as trustworthy as the read that produced it, and a single read tells you almost nothing. A dirty contact, a flaky reader, or one swapped byte can give you a file that looks fine and plays with subtle errors weeks later. I verify every dump by reading the same cartridge twice under different conditions and comparing hashes. If the two reads agree, you have real evidence the data is stable. If they disagree, you have caught a problem before it became a corrupted library. This is about personal backups of media you already own.
Why two independent reads catch what one cannot
A SHA-1 or CRC32 hash reduces an entire file to a short fingerprint. Two identical files produce the same fingerprint; a single differing byte produces a completely different one. That is useful only when you have something to compare against. Dumping twice and hashing both gives you that reference without needing anyone else file or a public database. The important word is independent. Reading a cartridge twice in a row with the same reader in the same state can reproduce the same glitch twice. Change something between reads: reseat the board in the reader, or use a second reader if you have one. Now a matching hash means two separate physical reads agreed, which is far stronger evidence than one clean-looking file.
What you need before you start
- The cartridge itself, owned by you and backed up lawfully for personal use.
- A dumper or reader that outputs a raw ROM file.
- A hash tool: sha1sum on Linux or macOS, or certutil -hashfile on Windows.
- Isopropyl alcohol and a lint-free swab for the contacts.
- A plain text file for the log: date, tool, hash and file size per read.
The ordered procedure
- Confirm ownership first. Only make a personal backup of a cartridge you own. Keep that copy private and do not distribute it.
- Clean the contacts. Wipe the edge connector with isopropyl alcohol, then let it dry fully before inserting it. A wet board can short or read inconsistently.
- Take the first read. Dump to a clearly named file such as cart_read1.nes. Record the date, reader, tool, file size in bytes, and its SHA-1 or CRC32 hash immediately.
- Change the physical condition. Remove and reseat the cartridge, or move it to a second reader. This is what makes the next read independent.
- Take the second read. Dump to cart_read2.nes using the same settings and output format as the first.
- Hash both files. Run sha1sum cart_read1.nes cart_read2.nes, or on Windows run certutil -hashfile cart_read1.nes SHA1 and repeat for the second file. Compare the two fingerprints character by character.
- Compare size and header too. Confirm both files have identical byte counts and that any header agrees, since a hash match can still hide a mismatched header on some setups.
- Keep the save data separate. Battery-backed SRAM saves are a different file from the mask ROM dump. Do not mix them into the ROM backup.
- File the log. Save both filenames with their hashes and sizes next to a note of which reader and date produced each one.
Headered files and headerless files
Format matters when you compare, because not every platform adds a header. An NES dump in iNES form is a .nes file with a 16-byte header at the front, and that header carries the mapper or board number an emulator needs to run the game correctly. A Super Nintendo or Mega Drive dump is often headerless, arriving as .sfc, .smc, .md or .bin with no such prefix. Comparing a headered .nes against a raw image is meaningless, so make sure both of your reads use the same format before trusting a mismatch. If one read includes a header and the other does not, the hashes will differ even when the underlying ROM data is identical.
Watch for byte-swapped dumps as well. Some readers output the ROM with every pair of bytes reversed, which is a valid dump that simply needs swapping back to match another tool. A swapped file will hash completely differently from a normal one and will often fail to boot. If your two reads disagree, check for a byte-order difference before assuming the cartridge is bad. Also confirm the mapper number in the iNES header matches the board you expect, because a wrong mapper is a common reason a correct-looking .nes file will not start.
What commonly goes wrong
- Dirty or oxidized contacts. Intermittent connections produce two reads that disagree. Cleaning and drying fixes most of these cases.
- Same reader, same glitch, twice. Without reseating or a second reader, a systematic fault repeats and still yields matching hashes.
- Header mismatch. One headered .nes and one raw read look different despite identical ROM data.
- Byte-swapped output. Reversed byte order changes the hash and can break booting.
- SRAM mixed in. A save file appended to the ROM changes the size and the hash.
A verification log worth keeping
| Read | Tool | Size in bytes | SHA-1 or CRC32 |
|---|---|---|---|
| First, reader A | sha1sum or certutil | Recorded at dump time | Fingerprint A |
| Second, reseated or reader B | Same tool as first | Must equal first read | Must equal fingerprint A |
The verification step is simple and strict: the two hashes must be identical, the two file sizes must be identical, and any header fields must agree. All three checks passing means the data is stable enough to keep. One of them failing is a signal to clean, reseat, and read again rather than to accept the file.
A final check before you file it away
Load the verified backup in your emulator of choice and confirm the game reaches its title screen, since a hash proves the bytes are consistent but not that the header and mapper are right. Keep the whole exercise within lawful personal backups of cartridges you own, with no downloaded ROM or BIOS files involved at any point. The practical habit is small: never trust a single read, and write the hash down the moment you finish it. Six months later, when a library seems off, that log is the only thing that tells you the dump was good from the start.
Related reading
If you want to keep digging into this corner of the library, these two posts on Roms Get go a little further:
