Imperialism 2 RSR: Difference between revisions
Jump to navigation
Jump to search
imported>WATTO No edit summary |
imported>Ikskoks m (Ikskoks moved page Imperialism 2 to Imperialism 2 RSR) |
||
| (7 intermediate revisions by 2 users not shown) | |||
| Line 28: | Line 28: | ||
=== MultiEx BMS Script === | === MultiEx BMS Script === | ||
<pre>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 ; | |||
</pre> | |||
=== Compatible Programs === | === Compatible Programs === | ||
* [[Game Extractor|Game Extractor]] | * [[Game Extractor|Game Extractor]] | ||
* [[MultiEx Commander|MultiEx Commander]] | |||
[[Category:File Format]] | |||
Latest revision as of 14:58, 10 January 2021
Choose archive extension:
RSR
- Format Type : Archive
- Endian Order : Little Endian
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 ;