chdman
MAME Compressed Hunks of Data manager
TLDR
Display CHD file information
SYNOPSIS
chdman command [-i input] [-o output] [-c compression] [options...]
DESCRIPTION
chdman is the MAME Compressed Hunks of Data (CHD) manager. CHD is a lossless compression format designed for disk images used by MAME and other emulators, supporting hard disks, CD-ROMs, LaserDiscs, and GD-ROMs.
The format provides efficient compression while maintaining perfect data integrity, making it ideal for archiving game media. CHD supports delta compression against parent images to reduce storage for similar versions.
PARAMETERS
info
Display CHD header informationverify
Validate MD5/SHA1 checksumscreatecd
Create CHD from CD image (cue/bin, toc/bin, gdi)createhd
Create CHD from raw hard disk imagecreateraw
Create CHD from raw data filecreateld
Create CHD from LaserDisc imageextractcd
Extract CD image from CHDextracthd
Extract hard disk image from CHDcopy
Copy CHD with optional recompression-i file
Input file-o file
Output file-c algorithms
Compression: none, or up to four comma-separated algorithms (default: lzma,zlib,huff,flac)--outputparent file
Create delta CHD storing only differences from parent
CAVEATS
Hunk size must be between 16 bytes and 1 MiB. CHD format is supported by emulators for 3DO, Dreamcast, PlayStation, Saturn, Mega CD, Neo-Geo CD, PC Engine CD, and other platforms.
HISTORY
CHD was developed as part of the MAME (Multiple Arcade Machine Emulator) project to provide efficient, lossless compression for disk images while preserving exact data for accurate emulation.
SEE ALSO
mame(6)
