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.

Structs

Chunk

Represents a single data chunk within an FLD file.

ChunkList

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

Constants

SECTOR_LENGTH

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.