Difference between revisions of "Dark Reign 2"

From XentaxWiki
Jump to: navigation, search
m (MultiEx BMS Script)
m (Compatible Programs)
 
Line 59: Line 59:
 
=== Compatible Programs ===  
 
=== Compatible Programs ===  
  
 +
* [[MultiEx_Commander|MultiEx Commander]]
 
* [[Game Extractor|Game Extractor]]<br>
 
* [[Game Extractor|Game Extractor]]<br>

Latest revision as of 22:47, 18 May 2005

Choose archive extension:

ZWP


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


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 ;

Compatible Programs