temisu / ancient

Decompression routines for ancient formats
BSD 2-Clause "Simplified" License
208 stars 14 forks source link

PMC. format request #68

Closed Kaens closed 2 months ago

Kaens commented 5 months ago

Hi, I've stumbled upon a couple of tracker music files compressed by PowerPlayer Music Cruncher, a proprietary thing apparently employing lh.library. Then I noticed "LHLB" compression also depends on the library. Since you have XPK-LHLB, I thought it'd be trivial for you to adapt it to unpack them (although I couldn't find any other open project that can). Here they are. I strongly suspect they're files whose unpacked versions start with "MMD1" (or MMD2 at least). The beginning of the format is like this: uint32be fourcc, uint32 rawsz, uint32 filesz-12 (the entire header would be 12 bytes long).

temisu commented 5 months ago

Hi,

Thanks for the pointers. I'll investigate but according to quick google there are 2 formats. The legacy format which is lh-based and then the new one which is something different (no docs, no source). Files you linked are of the second variety.

I'll see if I can see the compressor code from either PowerPlayer or Octamed to see what it is made of

temisu commented 2 months ago

Well, suppoting these formats was easier than expected. But I take my wins where I can :)