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

[Request] CHD support #31

Closed
Shideravan opened this issue Aug 4, 2021 · 4 comments
Closed

[Request] CHD support #31

Shideravan opened this issue Aug 4, 2021 · 4 comments
Labels
enhancement New feature or request

Comments

@Shideravan
Copy link
Contributor

Would be nice if the CD based systems had CHD file support. It's one of the best format for preservation and are used alredy in emulators such MAME, Duckstation, Redream, etc.

@LukeUsher
Copy link
Member

I do understand the love for the CHD format, however, it is not a good fit for ares: mostly because the dependencies it brings in are huge: it requires a flac decoder, zlib and an lzma.

You'll notice that generally, ares does not use external dependencies and we would like to keep it that way, and implementing the required components and a custom CHD decoder is a huge task, the time is better spent improving emulation.

The CHD format also has had some pretty nasty 'gotchas' that emulators have had to work around (CHD aligns sectors on different boundaries than they would be on a real disc, and the emulator has to compensate for this, which is non-obvious unless you study the MAME CD-ROM implementation)

CHDv5 (the current version) is also unsuitable for storing subchannel data (so PAL PS1 games with libcrypt will require separate .sbi files regardless), and is known to have issues with some Sega CD games (this will all be fixed in CHDv6, as far as I'm aware)

@LukeUsher LukeUsher added the enhancement New feature or request label Aug 5, 2021
@LukeUsher
Copy link
Member

Closing as wontfix for now, but feel free to re-open once CHDv6 has been finalized, and we'll consider our options then. Hopefully by that point, ares will be much further along in terms of completeness/compatibility for cd-rom based systems too.

@LukeUsher LukeUsher added the wontfix This will not be worked on label Aug 5, 2021
@Shideravan
Copy link
Contributor Author

Ok, makes sense to wait for CHD v6 specifications first, as most of these issues may be addressed and we (hopefully) don't have to wait too much for this release

@LukeUsher
Copy link
Member

Update: CHD is supported for cd-rom systems as of 75c0a5f

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

2 participants