xemu-project / xemu

Original Xbox Emulator for Windows, macOS, and Linux (Active Development)
https://xemu.app
Other
2.85k stars 283 forks source link

Audio CD Support #435

Open allkern opened 3 years ago

allkern commented 3 years ago

Feature Request

It'd be nice to have support for loading audio CD images for use with the music menu on the dashboard. Maybe we could also support DVD images for things like XBMC as a long-term goal?

Loading a CD image currently shows this message box:

Untitled

Also I think both CD and DVD images should be supported for completeness sake, as the Xbox was able to load both.

Anyways, thanks for xemu, its one of my favorite emulators, keep going!

Alternatives

XBMC seems to recognize non-game discs, so playing music from a CD image is possible through it. This suggests the data is there, but neither the original dashboard nor EvolutionX (replacement dashboard) recognize them right away.

Additional Context

No response

mborgerson commented 4 months ago

Apologies for not responding for... a few years. Time flies. I agree this would be a nice feature. This topic came up in chat today and I briefly looked at it. Making a note for myself or whoever comes back to look at it.

Audio CD format: https://en.wikipedia.org/wiki/Compact_Disc_Digital_Audio

Ideally we would be able to support bin/cue files, and real CDs. Here's relevant ATAPI commands according to ChatGPT, which were not checked for accuracy:

image

Related #1659

allkern commented 4 months ago

Funnily enough, I've been working on a PlayStation emulator for about a year now, I had to write a fairly competent BIN/CUE parser/loader, so I could even help with that if necessary.

allkern commented 4 months ago

I created a standalone repo for my BIN/CUE loading library with a couple extra bugfixes. The library is written in C and has no external dependencies. It should also work with C++ straight out of the box