Le Mans 24 Hours SAM
Jump to navigation
Jump to search
SAM
- Format Type : Archive
- Endian Order : Little Endian
Format Specifications
// for each file
- uint32 {4} - WAVE Header (RIFF)
- uint32 {4} - File Size [+8]
- byte {X} - File Data
- byte {0-15} - null Padding to a multiple of 16 bytes
MultiEx BMS Script
Not written yet
Notes and Comments
- This is an archive of WAVE files. We read this using the filesize information supplied in the WAVE files. So the offset of each file actually includes the WAVE header. ie the first offset is at 0, second offset at 0 + filesize + 8, etc.
- Each file is padded with nulls to a multiple of 16 bytes
- Some WAVE files have incorrect sizes in their header! (less by a few bytes) :(