Crate fldtools [] [src]

Tools to read and write FLD files, as used by Magical School Lunar! (1997) for the Sega Saturn. FLD files are concatenated chunks of arbitrary data; the game uses them to bundle together sets of related files. These chunks are essentialy unnamed files, and an FLD file can be treated as a flat filesystem.

More information on the FLD data format can be found in this set of Magical School Lunar! notes.



Represents a single data chunk within an FLD file.


Represents the header of an FLD file. A ChunkList is a simple collection of one or more data chunks.



The size of a Mode-1 CD-ROM sector, in bytes. Because the components of FLD files are padded out to even sector boundaries, this is useful to calculate offsets.