Imperialism 2 RSR: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>Mr.Mouse
imported>Ikskoks
No edit summary
Line 47: Line 47:
* [[Game Extractor|Game Extractor]]
* [[Game Extractor|Game Extractor]]
* [[MultiEx Commander|MultiEx Commander]]
* [[MultiEx Commander|MultiEx Commander]]
[[Category:File Format]]

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