dressupgeekout / lunapurpura

Reimplementation of Purple Moon's games from the 1990s (WIP) - NOTE: ScummVM port in progress
https://dressupgeekout.github.io/lunapurpura/
BSD 2-Clause "Simplified" License
8 stars 1 forks source link

Create a RIFF/RIFX unarchiver #37

Open dressupgeekout opened 4 years ago

dressupgeekout commented 4 years ago

The .Dxr and .Cxt files in Secret Paths in the Forest correspond to Macromedia Director. However, Macromedia Director's files are implemented as RIFF archives (technically they're RIFXes to indicate the big-endian data contained within).

This means that, no matter what the bigger Director story ultimately is, we at a minimum have to have the ability to unpack RIFF archives. There definitely already exists code which can do this -- it's a very common archive format -- but I don't see any reason why Luna Purpura can't have its own implementation. This task should be very quick and straightforward.

More info: https://en.wikipedia.org/wiki/Resource_Interchange_File_Format