Dark Reign 2: Difference between revisions
Jump to navigation
Jump to search
imported>WATTO No edit summary |
imported>Ikskoks No edit summary |
||
| (6 intermediate revisions by 3 users not shown) | |||
| Line 34: | Line 34: | ||
=== MultiEx BMS Script === | === MultiEx BMS Script === | ||
<pre>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 ; | |||
</pre> | |||
=== Compatible Programs === | === Compatible Programs === | ||
* [[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 ;