Le Mans 24 Hours SAM: Difference between revisions
Jump to navigation
Jump to search
imported>WATTO No edit summary |
imported>Ikskoks No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 30: | Line 30: | ||
* [[Game Extractor|Game Extractor]]<br> | * [[Game Extractor|Game Extractor]]<br> | ||
[[Category:File Format]] | |||
Latest revision as of 15:39, 10 January 2021
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) :(