Skip to content

Add CHD support for SCSI disks and CD-ROMs#17

Open
danifunker wants to merge 2 commits into
techomancer:mainfrom
danifunker:add-chd
Open

Add CHD support for SCSI disks and CD-ROMs#17
danifunker wants to merge 2 commits into
techomancer:mainfrom
danifunker:add-chd

Conversation

@danifunker
Copy link
Copy Markdown

Wraps libchdman-rs to mount .chd files anywhere a regular disk image is accepted. HD CHDs are writable (in-place for uncompressed, MAME-style .diff.chd sidecar for compressed parents); CD CHDs expose cooked 2048-byte sectors read-only.

Vibe coded this PR.

Tested execution on my Macintosh Pro M4. Figured you might like this

danifunker and others added 2 commits May 18, 2026 07:07
Wraps libchdman-rs to mount .chd files anywhere a regular disk image is
accepted. HD CHDs are writable (in-place for uncompressed, MAME-style
.diff.chd sidecar for compressed parents); CD CHDs expose cooked
2048-byte sectors read-only.

Vibe coded this PR.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@danifunker
Copy link
Copy Markdown
Author

I just updated the PR to use my crate version, this saves a fair chunk of time as it's using prebuilt binaries for the libchdman-rs library.

@techomancer
Copy link
Copy Markdown
Owner

thanks!
looks great, can we make it optional feature though since some users may not want to pull github crates, and i think it is fine to compile everything, we have bigger crates already, so the prebuilt stuff is not necessary?
it is really useful because it should be easy for lots of folks to use ready to use mame chds

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

Successfully merging this pull request may close these issues.

2 participants