Skip to content

Commit 13a1ff6

Browse files
authored
chdman: add page (#19246)
1 parent 59f202b commit 13a1ff6

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

pages/common/chdman.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# chdman
2+
3+
> Manage and convert CHD (Compressed Hunks of Data) images.
4+
> Commonly used with MAME and retro game images.
5+
> More information: <https://docs.mamedev.org/tools/chdman.html>.
6+
7+
- Create a CHD from a BIN/CUE pair (CD-ROM image):
8+
9+
`chdman createcd {{[-i|--input]}} {{path/to/file.cue}} {{[-o|--output]}} {{path/to/file.chd}}`
10+
11+
- Create a CHD from a raw hard drive image:
12+
13+
`chdman createhd {{[-i|--input]}} {{path/to/disk.img}} {{[-o|--output]}} {{path/to/disk.chd}}`
14+
15+
- Extract (decompress) a CHD back to BIN/CUE:
16+
17+
`chdman extractcd {{[-i|--input]}} {{path/to/file.chd}} {{[-o|--output]}} {{path/to/file.cue}}`
18+
19+
- Verify integrity of CHD file:
20+
21+
`chdman verify {{[-i|--input]}} {{path/to/file.chd}}`
22+
23+
- View CHD metadata information:
24+
25+
`chdman info {{[-i|--input]}} {{path/to/file.chd}}`
26+
27+
- Update a CHD file to the latest format version:
28+
29+
`chdman copy {{[-i|--input]}} {{path/to/old_file.chd}} {{[-o|--output]}} {{path/to/new_file.chd}}`
30+
31+
- Convert a compressed hard drive image to uncompressed (for editing):
32+
33+
`chdman extracthd {{[-i|--input]}} {{path/to/disk.chd}} {{[-o|--output]}} {{path/to/disk.img}}`

0 commit comments

Comments
 (0)