UFO Aftershock VFS: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>Ikskoks
No edit summary
Line 44: Line 44:


* None
* None
[[Category:File Format]]

Revision as of 23:54, 24 January 2021

VFS


Format Specifications

byte {4}     - Version (Single Float) (0,0,128,63) $0000803F = 1.0
uint32 {4}   - Block Size (4096)
uint32 {4}   - Placement Entries
uint32 {4}   - Maximum Files Per Block (64)
uint32 {4}   - null
uint32 {4}   - Maximum File Length (64)
uint32 {4}   - Compression Window (50000)
byte {16}    - MD5 Hash for File - Header
uint32 {4}   - Extra Info Size (256)
byte {256}   - null Padding to offset 304
uint32 {4}   - Number Of Files

// for each file

uint32 {4}   - Unknown (1)
uint32 {4}   - File Offset? [*4096] (can be -1)


byte {X}     - null Padding

// for each file

uint32 {4}   - File Length (not always reliable?)
byte {X}     - Compressed File Data
byte {X}     - null Padding to a multiple of 4096 bytes

MultiEx BMS

Not written yet

Notes and Comments

  • Unsure about offsets etc.
  • Compression uses ZLib

Supported Programs

  • None