1CHDMAN(1) MAME Compressed Hunks of Data (CHD) manager CHDMAN(1)
2
3
4
6 chdman - MAME Compressed Hunks of Data (CHD) manager
7
9 chdman option
10
12 chdman is the (C)ompressed (H)unks of (D)ata (CHD) manager for MAME.
13 It is a tool to manage CHD images.
14
16 Please note that each option allows a set of switches, the meaning of
17 each is explained in the SWITCHES section below. Whenever the short
18 form for the switch is listed, the long one may be used instead.
19
20 help [option]
21 Print a summary of the available options or, if option is given,
22 a detailed list of the valid switches for the option.
23
24 info -i filename [-v]
25 Dump the header information from a drive image.
26
27 verify -i filename [-ip filename]
28 Validate the MD5/SHA1 on a drive image.
29
30 createraw -o filename [-op filename] [-f] -i filename [-isb offset]
31 [-ish offset] [-ib length] [-ih length] -hs bytes -us bytes [-c
32 none|type1[,[...]]] [-np processors]
33 Create a new compressed raw image from a raw file.
34
35 createhd -o filename [-op filename] [-f] [-i filename] [-isb offset]
36 [-ish offset] [-ib length] [-ih length] [-hs bytes] [-c
37 none|type1[,[...]]] [-chs cylinders,heads,sectors] [-ss bytes] [-np
38 processors]
39 Create a new compressed hard disk image from a raw file.
40
41 createcd -o filename [-op filename] [-f] -i filename [-hs bytes] [-c
42 none|type1[,[...]]] [-np processors]
43 Create a new compressed CD image from a raw file.
44
45 createld -o filename [-op filename] [-f] -i filename [-isf offset] [-if
46 length] [-hs bytes] [-c none|type1[,[...]]] [-np processors]
47 Create a new compressed laserdisc image from a raw file.
48
49 extractraw -o filename [-f] -i filename [-ip filename] [-isb offset]
50 [-ish offset] [-ib length] [-ih length]
51 Extract a raw file from a CHD image.
52
53 extracthd -o filename [-f] -i filename [-ip filename] [-isb offset]
54 [-ish offset] [-ib length] [-ih length]
55 Extract a hard disk block image from a CHD image.
56
57 extractcd -o filename [-ob filename] [-f] -i filename [-ip filename]
58 Extract a CDRDAO .toc/.bin, CDRWIN .bin/.cue, or Sega Dreamcast
59 .GDI file from a CHD-CD image.
60
61 extractld -o filename [-f] -i filename [-ip filename] [-isf offset]
62 [-if length]
63 Extract a laserdisc image from a CHD-LD image.
64
65 copy -o filename [-op filename] [-f] -i filename [-ip filename] [-isb
66 offset] [-ish offset] [-ib length] [-ih length] -hs bytes [-c
67 none|type1[,[...]]] [-np processors]
68 Copy all hunks of data from one CHD file to another. The hunk
69 sizes do not need to match. If the source is shorter than the
70 destination, the source data will be padded with 0s.
71
72 addmeta -i filename -t tag [-ix index] [-vt text] [-vf filename]
73 [-nocs]
74 Add metadata to the chd.
75
76 delmeta -i filename -t tag [-ix index]
77 Remove metadata from the chd.
78
79 dumpmeta -i filename [-o filename] [-f] -t tag [-ix index]
80 Dump metadata from the chd to standard output or to a file.
81
83 --chs, -chs cylinders,heads,sectors
84 Specifies CHS geometry values for CHD harddisks.
85
86 --compression, -c none|type1[,[...]]
87 Which compression codecs to use (up to 4).
88
89 --force, -f
90 Force overwriting an existing file.
91
92 --hunksize, -hs bytes
93 Size of each unit, in hunks.
94
95 --ident, -id filename
96 Name of ident file to provide CHS information.
97
98 --index, -ix index
99 Indexed instance of the metadata tag.
100
101 --input, -i filename
102 Input file name.
103
104 --inputbytes, -ib length
105 Effective length of the input in bytes.
106
107 --inputframes, -if length
108 Effective length of the input in frames.
109
110 --inputhunks, -ih length
111 Effective length of the input in hunks.
112
113 --inputparent, -ip filename
114 Parent CHD's input file name.
115
116 --inputstartbyte, -isb offset
117 Starting byte offset within the input.
118
119 --inputstartframe, -isf offset
120 Starting frame offset within the input.
121
122 --inputstarthunk, -ish offset
123 Starting hunk offset within the input.
124
125 --nochecksum, -nocs
126 Do not include this metadata information in the overall SHA-1.
127
128 --numprocessors, -np count
129 Limits the number of processors to use during compression.
130
131 --output, -o filename
132 Output file name.
133
134 --outputbin, -ob filename
135 Output binary file name for extractcd.
136
137 --outputparent, -op filename
138 Parent CHD's output file name.
139
140 --sectorsize, -ss bytes
141 Size of each hard disk sector.
142
143 --tag, -t tag
144 4-character tag for metadata.
145
146 --valuefile, -vf filename
147 Text file containing data to add.
148
149 --valuetext, -vt text
150 Text for the metadata.
151
152 --unitsize, -us bytes
153 Size of each unit, in bytes.
154
155 --verbose, -v
156 Output additional information about the operation.
157
159 mame(6), mess(6)
160
161
162
1630.176 2016-07-21 CHDMAN(1)