Mech Warrior 4 - Mercinaries

From XentaxWiki
Jump to: navigation, search

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