Dark Reign 2: Difference between revisions
Jump to navigation
Jump to search
imported>Mr.Mouse |
imported>Ikskoks No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 61: | Line 61: | ||
* [[MultiEx_Commander|MultiEx Commander]] | * [[MultiEx_Commander|MultiEx Commander]] | ||
* [[Game Extractor|Game Extractor]]<br> | * [[Game Extractor|Game Extractor]]<br> | ||
[[Category:File Format]] | |||
Latest revision as of 15:11, 3 January 2021
Choose archive extension:
ZWP
- Format Type : Archive
- Endian Order : Little Endian
Format Specifications
char {4} - Header (NORK)
uint32 {4} - Version (1)
uint32 {4} - Unknown
uint32 {4} - Archive Size
uint32 {4} - Number Of Files
uint32 {4} - Directory Offset
byte {32} - null
byte {X} - File Data
// Directory
- // for each file
- uint32 {4} - null
- byte {1} - Filename Length
- char {X} - Filename
- uint32 {4} - File Offset
- uint32 {4} - File Length
- uint32 {4} - null
MultiEx BMS Script
IDString 0 NORK ; Get DUMMYL Long 0 ; Get DUMMYL Long 0 ; Get DUMMYL Long 0 ; Get FILESTART Long 0 ; Get FILESTART Long 0 ; Math DUMMYL -= FILESTART ; Set FILECNTL Long DUMMYL ; Math FILECNTL /= 24 ; Do ; Math FILESTART += 1 ; GoTo FILESTART 0 ; Get DUMMYL Long 0 ; ReverseLong DUMMYL ; GetDString FILENAME DUMMYL 0 ; Get FILEOFF Long 0 ; Get FILESIZE Long 0 ; SavePos FILESTART 0 ; Log FILENAME FILEOFF FILESIZE 0 0 ; Math EXTRCNT += 1 ; While EXTRCNT <> FILECNTL ;