Traktor Racer SAR: Difference between revisions
Jump to navigation
Jump to search
imported>Ikskoks No edit summary |
imported>Ikskoks m (Ikskoks moved page Traktor Racer to Traktor Racer SAR) |
| (2 intermediate revisions by the same user not shown) | |
(No difference)
| |
Latest revision as of 23:47, 24 January 2021
SAR
- Format Type : Archive
- Endian Order : Little Endian
- Date Posted : Jan. 16, 2006
Format Specifications
uint32 {4} - Header (SARC)
uint32 {4} - Number Of Files
// for each file
- byte {1} - Filename Length
- char {X} - Filename
- byte {1} - null Filename Terminator
- uint32 {4} - File Offset (relative to file data start)
- uint32 {4} - File Length (compressed lenth?)
- uint32 {4} - File Length (decompressed lenth?)
byte {X} - File Data
MultiEx BMS Script
IDString 0 SARC ; Get FILENUM Long 0 ; SavePos DIRSTART 0 ; For Z = 1 To FILENUM ; Get FNSIZE Byte 0 ; SavePos TEMP 0 ; Math TEMP += FNSIZE ; Math TEMP += 13 ; GoTo TEMP 0 ; Next Z ; SavePos DATASTRT 0 ; GoTo DIRSTART 0 ; For F = 1 To FILENUM ; Get FNSIZE Byte 0 ; GetDString FNAME FNSIZE 0 ; Get NULL Byte 0 ; Get FOFFSET Long 0 ; Get FSIZE Long 0 ; Get FOOBAR Long 0 ; Math FOFFSET += DATASTRT ; Log FNAME FOFFSET FSIZE 0 0 ; Next F ;