Backyard Football MET

From XentaxWiki
Revision as of 14:40, 3 January 2021 by Ikskoks (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

MET


Format Specifications

// ARCHIVE HEADER

uint32 {4}   - Files Directory Offset (28)
uint32 {4}   - Files Directory Length
uint32 {4}   - Number Of Files
uint32 {4}   - Filename Directory Offset
uint32 {4}   - Filename Directory Length
uint32 {4}   - First File Offset
uint32 {4}   - File Data Length


// FILES DIRECTORY

// for each file
uint32 {4}   - Unknown (usually null)
uint32 {4}   - Unknown (dir entries = 0)
uint32 {4}   - Filename Offset
uint32 {4}   - File Offset
uint32 {4}   - File Length


// FILENAME DIRECTORY

byte {1}     - null


// for each file
char {X}     - Filename
byte {1}     - null Filename Terminator


// FILE DATA

// for each file
byte {X}     - File Data

MultiEx BMS

ImpType Standard ;
Get HeaderSize Long 0 ;
Get DataSize Long 0 ;
SavePos COff 0 ;
Do ;
SavePos FOO 0 ;
Get FO Long 0 ;
If FO <> 0 ;
SavePos FSO 0 ;
Get FS Long 0 ;
Get NSize Long 0 ;
GetDString FName NSize 0 ;
SavePos COff 0 ;
Log FName FO FS FOO FSO ;
Else ;
Set COff Long HeaderSize ;
EndIf ;
While COff < HeaderSize ;


Notes and Comments

  • Some files have length=0

Supported Programs