Motocross Madness 2

From XentaxWiki
Jump to: navigation, search

Choose archive extension:

RES, TEX, DAT


Format Specifications

char {3}     - Header (RS2)
byte {1}     - null
uint32 {4}   - Number Of Files

// for each file

uint32 {4}   - Filename Length (including terminating null byte)
char {X}     - Filename
byte {1}     - null Filename Terminator
uint32 {4}   - Offset
uint32 {4}   - Size


byte {X}     - File Data

MultiEx BMS Script

ImpType Standard ;
IDString 0 RS2 ;
Get FOOBAR Byte 0 ;
Get FILENUM Long 0 ;
For X = 1 To FILENUM ;
Get FNSIZE Long 0 ;
GetDString FNAME FNSIZE 0 ;
SavePos FOFFSETX 0 ;
Get FOFFSET Long 0 ;
SavePos FSIZEX 0 ;
Get FSIZE Long 0 ;
Log FNAME FOFFSET FSIZE FOFFSETX FSIZEX ;
Next X ;

Compatible Programs