Turok 11k 22k: Difference between revisions
Jump to navigation
Jump to search
imported>PXR No edit summary |
imported>PXR No edit summary |
(No difference)
| |
Revision as of 02:48, 22 December 2005
11K, 22K
- Format Type : Archive
- Endian Order : Little Endian
- Date Posted : Dec. 22, 2005
Format Specifications
uint32 {4} - Number Of Files
uint32 {4} - File Data Length
// for each file
- uint32 {4} - File Offset (relative to the start of the file data)
- uint32 {4} - File Length
uint32 {4} - Version? (1)
// for each file
- char {x} - Filename
- byte (1) - Null Terminator
byte {X} - File Data
MultiEx BMS Script
ImpType SFileSize ; Get FILENUM Long 0 ; Get DATASIZE Long 0 ; SavePos DIRSTART 0 ; Set FDIRSTRT Long FILENUM ; Math FDIRSTRT *= 8 ; Math FDIRSTRT += 16 ; GoTo EOF 0 ; SavePos DATASTRT 0 ; Math DATASTRT -= DATASIZE ; Math DATASTRT += 1 ; GoTo DIRSTART 0 ; For X = 1 To FILENUM ; Get FOFFSET Long 0 ; Math FOFFSET += DATASTRT ; SavePos FSIZEX 0 ; Get FSIZE Long 0 ; SavePos NEXTFILE 0 ; GoTo FDIRSTRT 0 ; Get FNAME String 0 ; SavePos FDIRSTRT 0 ; Log FNAME FOFFSET FSIZE 0 FSIZEX ; GoTo NEXTFILE 0 ; Next X ;