chdman - MAME Compressed Hunks of Data (CHD) manager
Contents
Description
chdman is the (C)ompressed (H)unks of (D)ata (CHD) manager for MAME. It is a tool to manage CHD images.
Name
chdman - MAME Compressed Hunks of Data (CHD) manager
Options
Please note that each option allows a set of switches, the meaning of each is explained in the SWITCHES
section below. Whenever the short form for the switch is listed, the long one may be used instead.
help [option]
Print a summary of the available options or, if option is given, a detailed list of the valid
switches for the option.
info-ifilename [-v]
Dump the header information from a drive image.
verify-ifilename [-ipfilename]
Validate the MD5/SHA1 on a drive image.
createraw-ofilename [-opfilename] [-f] -ifilename [-isboffset] [-ishoffset] [-iblength] [-ihlength] -hsbytes-usbytes [-cnone|type1[,[...]]] [-npprocessors]
Create a new compressed raw image from a raw file.
createhd-ofilename [-opfilename] [-f] [-ifilename] [-isboffset] [-ishoffset] [-iblength] [-ihlength] [-hsbytes] [-cnone|type1[,[...]]] [-chscylinders,heads,sectors] [-ssbytes] [-npprocessors]
Create a new compressed hard disk image from a raw file.
createcd-ofilename [-opfilename] [-f] -ifilename [-hsbytes] [-cnone|type1[,[...]]] [-npprocessors]
Create a new compressed CD image from a raw file.
createld-ofilename [-opfilename] [-f] -ifilename [-isfoffset] [-iflength] [-hsbytes] [-cnone|type1[,[...]]] [-npprocessors]
Create a new compressed laserdisc image from a raw file.
extractraw-ofilename [-f] -ifilename [-ipfilename] [-isboffset] [-ishoffset] [-iblength] [-ihlength]
Extract a raw file from a CHD image.
extracthd-ofilename [-f] -ifilename [-ipfilename] [-isboffset] [-ishoffset] [-iblength] [-ihlength]
Extract a hard disk block image from a CHD image.
extractcd-ofilename [-obfilename] [-f] -ifilename [-ipfilename]
Extract a CDRDAO .toc/.bin, CDRWIN .bin/.cue, or Sega Dreamcast .GDI file from a CHD-CD image.
extractld-ofilename [-f] -ifilename [-ipfilename] [-isfoffset] [-iflength]
Extract a laserdisc image from a CHD-LD image.
copy-ofilename [-opfilename] [-f] -ifilename [-ipfilename] [-isboffset] [-ishoffset] [-iblength]
[-ihlength] -hsbytes [-cnone|type1[,[...]]] [-npprocessors]
Copy all hunks of data from one CHD file to another. The hunk sizes do not need to match. If the
source is shorter than the destination, the source data will be padded with 0s.
addmeta-ifilename-ttag [-ixindex] [-vttext] [-vffilename] [-nocs]
Add metadata to the chd.
delmeta-ifilename-ttag [-ixindex]
Remove metadata from the chd.
dumpmeta-ifilename [-ofilename] [-f] -ttag [-ixindex]
Dump metadata from the chd to standard output or to a file.
See Also
mame(6), mess(6) 0.176 2016-07-21 CHDMAN(1)
Switches
--chs,-chscylinders,heads,sectors
Specifies CHS geometry values for CHD harddisks.
--compression,-cnone|type1[,[...]]
Which compression codecs to use (up to 4).
--force,-f
Force overwriting an existing file.
--hunksize,-hsbytes
Size of each unit, in hunks.
--ident,-idfilename
Name of ident file to provide CHS information.
--index,-ixindex
Indexed instance of the metadata tag.
--input,-ifilename
Input file name.
--inputbytes,-iblength
Effective length of the input in bytes.
--inputframes,-iflength
Effective length of the input in frames.
--inputhunks,-ihlength
Effective length of the input in hunks.
--inputparent,-ipfilename
Parent CHD's input file name.
--inputstartbyte,-isboffset
Starting byte offset within the input.
--inputstartframe,-isfoffset
Starting frame offset within the input.
--inputstarthunk,-ishoffset
Starting hunk offset within the input.
--nochecksum,-nocs
Do not include this metadata information in the overall SHA-1.
--numprocessors,-npcount
Limits the number of processors to use during compression.
--output,-ofilename
Output file name.
--outputbin,-obfilename
Output binary file name for extractcd.
--outputparent,-opfilename
Parent CHD's output file name.
--sectorsize,-ssbytes
Size of each hard disk sector.
--tag,-ttag
4-character tag for metadata.
--valuefile,-vffilename
Text file containing data to add.
--valuetext,-vttext
Text for the metadata.
--unitsize,-usbytes
Size of each unit, in bytes.
--verbose,-v
Output additional information about the operation.
Synopsis
chdmanoption
