mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-06 14:56:51 +00:00
Update cheatsheets
This commit is contained in:
38
tldr/chdman
Normal file
38
tldr/chdman
Normal file
@@ -0,0 +1,38 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# chdman
|
||||
|
||||
> Manage and convert CHD (Compressed Hunks of Data) images.
|
||||
> Commonly used with MAME and retro game images.
|
||||
> More information: <https://docs.mamedev.org/tools/chdman.html>.
|
||||
|
||||
- Create a CHD from a BIN/CUE pair (CD-ROM image):
|
||||
|
||||
`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|--input]}} {{path/to/disk.img}} {{[-o|--output]}} {{path/to/disk.chd}}`
|
||||
|
||||
- Extract (decompress) a CHD back to BIN/CUE:
|
||||
|
||||
`chdman extractcd {{[-i|--input]}} {{path/to/file.chd}} {{[-o|--output]}} {{path/to/file.cue}}`
|
||||
|
||||
- Verify integrity of CHD file:
|
||||
|
||||
`chdman verify {{[-i|--input]}} {{path/to/file.chd}}`
|
||||
|
||||
- View CHD metadata information:
|
||||
|
||||
`chdman info {{[-i|--input]}} {{path/to/file.chd}}`
|
||||
|
||||
- Update a CHD file to the latest format version:
|
||||
|
||||
`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|--input]}} {{path/to/disk.chd}} {{[-o|--output]}} {{path/to/disk.img}}`
|
||||
Reference in New Issue
Block a user