chdman createhd -i input.img -o output.chd
from mamedev.org – the command-line version includes chdman . chd files for mame
chdman copy -i old.chd -o new.chd This preserves data and upgrades to latest CHD version (if your chdman is modern). chdman createhd -i input
| Version | MAME version introduced | Notes | |---------|------------------------|-------| | v1 | Early MAME | Obsolete, don’t use | | v2 | ~0.120 | Still seen, but old | | v3 | ~0.125 | Added FLAC support | | v4 | ~0.136 | Improved compression | | v5 | ~0.162 | Current standard | chd files for mame
for %f in (*.cue) do chdman createcd -i "%f" -o "%~nf.chd"