Imperialism 2 RSR: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>Ikskoks
No edit summary
imported>Ikskoks
m (Ikskoks moved page Imperialism 2 to Imperialism 2 RSR)
 
(One intermediate revision by the same user not shown)
(No difference)

Latest revision as of 14:58, 10 January 2021

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