UFO Aftershock VFS: Difference between revisions
Jump to navigation
Jump to search
imported>WATTO No edit summary |
|||
| Line 8: | Line 8: | ||
<tt><b> | <tt><b> | ||
byte {4} - | byte {4} - Version (Single Float) <font color="purple">(0,0,128,63) $0000803F = 1.0</font> <br> | ||
uint32 {4} - Block Size <font color="purple">(4096)</font> <br> | uint32 {4} - Block Size <font color="purple">(4096)</font> <br> | ||
uint32 {4} - <font color="red"> '' | uint32 {4} - <font color="red"> '' Placement Entries '' </font> <br> | ||
uint32 {4} - <font color="red"> '' | uint32 {4} - <font color="red"> '' Maximum Files Per Block <font color="purple">(64)</font> '' </font> <br> | ||
uint32 {4} - null <br> | uint32 {4} - null <br> | ||
uint32 {4} - <font color="red"> '' | uint32 {4} - <font color="red"> '' Maximum File Length <font color="purple">(64)</font> '' </font> <br> | ||
uint32 {4} - <font color="red"> '' | uint32 {4} - <font color="red"> '' Compression Window <font color="purple">(50000)</font> '' </font> <br> | ||
byte {16} - <font color="red"> '' Hash | byte {16} - <font color="red"> '' MD5 Hash for File - Header '' </font> <br> | ||
uint32 {4} - | uint32 {4} - Extra Info Size <font color="purple">(256)</font> <br> | ||
byte {256} - null Padding to offset 304 <br> | byte {256} - null Padding to offset 304 <br> | ||
uint32 {4} - Number Of Files <br> | uint32 {4} - Number Of Files <br> | ||
Revision as of 16:18, 20 November 2006
VFS
- Format Type : Archive
- Endian Order : Little Endian
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