Documentation
¶
Overview ¶
Command dischash hashes a disc image's track data to match it against a reference (redump-style) breakdown. It reads the disc through romloader, so it supports every container format romloader handles (CHD and cue/bin). It is not tied to a single file type.
For each disc it prints an overall CRC-32 taken over the concatenation of every track's raw sectors in track order (pregaps excluded, matching the length/sector counts of a redump-style breakdown). The overall CRC-32 is the value used to match a disc against a reference dump. The hashing is console-agnostic.
It also prints a product number (disc ID) and title when the disc carries a Sega Saturn IP header; other discs leave those blank.
With -v it instead prints a per-track table (number, type, pregap, length, sectors, size, CRC-32, MD5, SHA-1) followed by a Total row carrying the summed length, sector count, byte size, and the overall CRC-32.
Hashing is a single streaming pass: each sector is read once and fed to the active hashers, so memory use is independent of disc size.