Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for MAME Compressed Hunk of Data CHD #16

Open
nickl- opened this issue Nov 8, 2021 · 1 comment
Open

Support for MAME Compressed Hunk of Data CHD #16

nickl- opened this issue Nov 8, 2021 · 1 comment

Comments

@nickl-
Copy link
Contributor

nickl- commented Nov 8, 2021

glob *.chd, application/x-mame-chd

Was originally developed by MAME, as HDD and CDROM media started appearing on the arcade machines turning up for emulation. As an in-house developed product catering for specific needs, there aren't of course too much documentation around. Even the name is doused in obscurity with the mime type referring to "Compressed Hard Drive" but that is not what others say.

Basically it is a compressed block device with LBA support which has had some time to mature. It originally had cylinders, heads, and sectors which evolved into maps and hunks as the technology matures heading towards a 6th itteration. It has both compressed (read-only) and uncompressed (read-write) support with the MAME emulator implementing COW (copy on write) for transparent write-ability while maintaining the integrity of the original dumps.

With the help of Libretro, part of the bigger RetroArch project, assisting with the development of the new rtissera/libchdr library, has seen CHD gaining new popularity as more and more emulators are starting to adopt the format and old ROM sets are getting converted.

The only thing that is missing now is how to mount your CHMs, which reminded me, cdemu is the place to go for all things mountable and then some.

Hoping this peaked some interests =)

nickl- added a commit to nickl-/cdemu that referenced this issue Nov 8, 2021
As per cdemu#16 introducing the feature requirement.
nickl- added a commit to nickl-/cdemu that referenced this issue Nov 8, 2021
As per cdemu#16 introducing the feature requirement.
@IvanDSM
Copy link

IvanDSM commented Apr 17, 2023

I second this feature request, it'd be a fantastic feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants