For getting metadata out of Dreamcast discs, mostly; since none of the other CD systems that we read metadata from (Mega CD, Saturn) have emulators that support CHD at the moment. (But having a CHD implementation in Python would probably come in handy for future use.)
Anyway, it's an open format, so it should be possible and I'm overconfident enough to believe I can do it myself. From what I understand at the moment, it's made of separately compressed chunks, so the existing stuff for reading .gcz files might be useful here (so I don't have to learn maths again).
The compressors are zlib and LZMA, which are in the standard library, FLAC which I can ignore since I have no reason to be looking at audio, and... Huffman? I've never seen that used in any CHDs, but that might be interesting. Worst case scenario that is also an open thing.
Procrastinating this one until I do additional refactoring, particularly #69. Otherwise, I'll end up creating a CHDRomFile class similar to GCZRomFile.
For getting metadata out of Dreamcast discs, mostly; since none of the other CD systems that we read metadata from (Mega CD, Saturn) have emulators that support CHD at the moment. (But having a CHD implementation in Python would probably come in handy for future use.)
Anyway, it's an open format, so it should be possible and I'm overconfident enough to believe I can do it myself. From what I understand at the moment, it's made of separately compressed chunks, so the existing stuff for reading .gcz files might be useful here (so I don't have to learn maths again).
The compressors are zlib and LZMA, which are in the standard library, FLAC which I can ignore since I have no reason to be looking at audio, and... Huffman? I've never seen that used in any CHDs, but that might be interesting. Worst case scenario that is also an open thing.