Imperialism 2

From XentaxWiki
Jump to: navigation, search

Choose archive extension:

RSR


Format Specifications

char {4}     - Header (rsrc)
uint32 {4}   - Unknown
uint32 {4}   - Unknown
uint32 {4}   - Number Of Files

// for each file

char {8}     - Filename
uint32 {4}   - File Offset
uint32 {4}   - File Length


byte {X}     - File Data

MultiEx BMS Script

IDString 0 rsrc ;
Get DUMMYL Long 0 ;
Get DUMMYL Long 0 ;
Get FILECNTL Long 0 ;
Do ;
GetDString FILENAME 8 0 ;
Get FILEOFF Long 0 ;
Get FILESIZE Long 0 ;
SavePos FILESTART 0 ;
Log FILENAME FILEOFF FILESIZE 0 0 ;
GoTo FILESTART 0 ;
Math EXTRCNT += 1 ;
While EXTRCNT <> FILECNTL ;

Compatible Programs