From 8ca62ef84a8a1482691f0477e155655d3d19db31 Mon Sep 17 00:00:00 2001 From: rafsasinski Date: Thu, 6 Nov 2025 17:41:27 +0000 Subject: [PATCH 1/3] chdman: add page --- pages/common/chdman.md | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 pages/common/chdman.md diff --git a/pages/common/chdman.md b/pages/common/chdman.md new file mode 100644 index 00000000000000..fc7a1c517bc8b9 --- /dev/null +++ b/pages/common/chdman.md @@ -0,0 +1,33 @@ +# chdman + +> Manage and convert CHD (Compressed Hunks of Data) images. +> Commonly used with MAME and retro game images. +> More information: . + +- Create a CHD from a BIN/CUE pair (CD-ROM image): + +`chdman createcd -i {{path/to/file.cue}} -o {{path/to/file.chd}}` + +- Create a CHD from a raw hard drive image: + +`chdman createhd -i {{path/to/disk.img}} -o {{path/to/disk.chd}}` + +- Extract (decompress) a CHD back to BIN/CUE: + +`chdman extractcd -i {{path/to/file.chd}} -o {{path/to/file.cue}}` + +- Verify integrity of CHD file: + +`chdman verif -i {{path/to/file.chd}}` + +- View CHD metadata information: + +`chdman info -i {{path/to/file.chd}}` + +- Update a CHD file to the latest format version: + +`chdman copy -i {{path/to/old_file.chd}} -o {{path/to/new_file.chd}}` + +- Convert a compressed hard drive image to uncompressed (for editing): + +`chdman extracthd -i {{path/to/disk.chd}} -o {{path/to/disk.img}}` From e21e62bf47f49a13a010b13e3c54ae1808adb8b4 Mon Sep 17 00:00:00 2001 From: rafsasinski Date: Fri, 7 Nov 2025 17:40:34 +0000 Subject: [PATCH 2/3] chdman: update examples to include long options --- pages/common/chdman.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/pages/common/chdman.md b/pages/common/chdman.md index fc7a1c517bc8b9..808c5efcbc7a82 100644 --- a/pages/common/chdman.md +++ b/pages/common/chdman.md @@ -6,28 +6,28 @@ - Create a CHD from a BIN/CUE pair (CD-ROM image): -`chdman createcd -i {{path/to/file.cue}} -o {{path/to/file.chd}}` +`chdman createcd {{[-i|--input]}} {{path/to/file.cue}} {{[-o|--output]}} {{path/to/file.chd}}` - Create a CHD from a raw hard drive image: -`chdman createhd -i {{path/to/disk.img}} -o {{path/to/disk.chd}}` +`chdman createhd {{[-i|--input]}} {{path/to/disk.img}} {{[-o|--output]}} {{path/to/disk.chd}}` - Extract (decompress) a CHD back to BIN/CUE: -`chdman extractcd -i {{path/to/file.chd}} -o {{path/to/file.cue}}` +`chdman extractcd {{[-i|--input]}} {{path/to/file.chd}} {{[-o|--output]}} {{path/to/file.cue}}` - Verify integrity of CHD file: -`chdman verif -i {{path/to/file.chd}}` +`chdman verif {{[-i|--input]}} {{path/to/file.chd}}` - View CHD metadata information: -`chdman info -i {{path/to/file.chd}}` +`chdman info {{[-i|--input]}} {{path/to/file.chd}}` - Update a CHD file to the latest format version: -`chdman copy -i {{path/to/old_file.chd}} -o {{path/to/new_file.chd}}` +`chdman copy {{[-i|--input]}} {{path/to/old_file.chd}} {{[-o|--output]}} {{path/to/new_file.chd}}` - Convert a compressed hard drive image to uncompressed (for editing): -`chdman extracthd -i {{path/to/disk.chd}} -o {{path/to/disk.img}}` +`chdman extracthd {{[-i|--input]}} {{path/to/disk.chd}} {{[-o|--output]}} {{path/to/disk.img}}` From eb444ce8d40ecefde2c79064af7f579339427266 Mon Sep 17 00:00:00 2001 From: rafsasinski Date: Tue, 11 Nov 2025 16:19:40 +0000 Subject: [PATCH 3/3] chdman: correct typo --- pages/common/chdman.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/common/chdman.md b/pages/common/chdman.md index 808c5efcbc7a82..cc155876ff70c1 100644 --- a/pages/common/chdman.md +++ b/pages/common/chdman.md @@ -18,7 +18,7 @@ - Verify integrity of CHD file: -`chdman verif {{[-i|--input]}} {{path/to/file.chd}}` +`chdman verify {{[-i|--input]}} {{path/to/file.chd}}` - View CHD metadata information: