chdman verify -i game.chd To get info (size, compression, version, hunks):
dd if=/dev/sr0 of=disk.img bs=2048 chdman createcd -i disk.cue -o disk.chd (You’ll need a CUE file referencing disk.img.) chd files for mame
dd if=/dev/sdb of=hdimage.img chdman createhd -i hdimage.img -o game.chd | Format | Compression | MAME support | Use case | |--------|-------------|--------------|----------| | CHD | Excellent (zlib/FLAC/zstd) | Native | All MAME disk-based games | | ISO | None (or weak) | Via -cdrom | Simpler CD images | | CUE/BIN | None | Via -cdrom | Redump-style CDs | | CSO | Good | Not native | PSP emulators | | PBP | Good | Not native | PlayStation on PSP | chdman verify -i game
for %f in (*.cue) do chdman createcd -i "%f" -o "%~nf.chd" chd files for mame
| Version | MAME version introduced | Notes | |---------|------------------------|-------| | v1 | Early MAME | Obsolete, don’t use | | v2 | ~0.120 | Still seen, but old | | v3 | ~0.125 | Added FLAC support | | v4 | ~0.136 | Improved compression | | v5 | ~0.162 | Current standard |
chdman info -i game.chd Example output:
mame psx -cdrom /path/to/game.chd Create CHDs from multiple CUE files: