Difference between revisions of "Mech Warrior 4 - Mercinaries"

From XentaxWiki
Jump to: navigation, search
 
m (MultiEx BMS Script)
Line 34: Line 34:
 
=== MultiEx BMS Script ===  
 
=== MultiEx BMS Script ===  
  
Not written yet<br><br>
+
<pre>
 +
IDString 0 #VBD ;
 +
Get D Long 0 ;
 +
Get D Long 0 ;
 +
Get START Long 0 ;
 +
Get Item_Count Int 0 ;
 +
Get Item_Count Int 0 ;
 +
For T = 1 To Item_Count ;
 +
GetDString TIME 8 0 ;
 +
Get OS Long 0 ;
 +
Get NS Long 0 ;
 +
Get RO Long 0 ;
 +
Get IC Int 0 ;
 +
Get BS Byte 0 ;
 +
GetDString IN BS 0 ;
 +
Set IO Long RO ;
 +
Math IO += START ;
 +
Log IN IO NS 0 0 ;
 +
Next T ;
 +
</pre>
  
 
=== Compatible Programs ===  
 
=== Compatible Programs ===  
  
 
* [[Game Extractor|Game Extractor]]<br>
 
* [[Game Extractor|Game Extractor]]<br>

Revision as of 10:53, 24 May 2005

Choose archive extension:

MW4


Format Specifications

char {4}   - Header (#VBD)
uint32 {4}   - Unknown
uint32 {4}   - Unknown
uint32 {4}   - First File Offset
uint16 {2}   - Number Of Files
uint16 {2}   - Number Of Files

// for each file

uint64 {8}   - Last Modified Time
uint32 {4}   - Unknown
uint32 {4}   - File Length
uint32 {4}   - Data Offset [+firstFileOffset]
uint16 {2}   - Unknown
byte {1}     - Filename Length
char {X}     - Filename


byte {X}     - File Data

MultiEx BMS Script

IDString 0 #VBD ;
Get D Long 0 ;
Get D Long 0 ;
Get START Long 0 ;
Get Item_Count Int 0 ;
Get Item_Count Int 0 ;
For T = 1 To Item_Count ;
GetDString TIME 8 0 ;
Get OS Long 0 ;
Get NS Long 0 ;
Get RO Long 0 ;
Get IC Int 0 ;
Get BS Byte 0 ;
GetDString IN BS 0 ;
Set IO Long RO ;
Math IO += START ;
Log IN IO NS 0 0 ;
Next T ;

Compatible Programs