H2O6

From XentaxWiki
Jump to: navigation, search

Choose archive extension:

H20


Format Specifications

char {8}     - Header (LIQDLH2O)
float {4}    - Version (6.0)
char {X}     - Comments
byte {1}     - Comment Terminator (26)
uint32 {4}   - Version (6)
uint32 {4}   - Number Of Files
uint64 {8}   - Compressed File Data Size
uint64 {8}   - Decompressed File Data Size

// Directory

// for each file
uint32 {4}   - Compression Tag (0=Uncompressed, #=Compressed)
uint32 {4}   - Directory Name Index (-1 for no directory)
uint32 {4}   - Filename Index (-1 for blank file entries)
uint32 {4}   - File ID (incremental from 0)
uint32 {4}   - Decompressed File Size
uint32 {4}   - Compressed File Size
uint64 {8}   - File Offset
byte {4}     - Checksum CRC32
uint32 {4}   - Unknown (1239288 or 1239252)


// Filename Directory

uint32 {4}   - Compressed Filename Directory Length
uint32 {4}   - Decompressed Filename Directory Length
byte {4}     - Checksum CRC32
byte {X}     - Compressed Filename Directory (ZLib)


// When decompressed
uint32 {4}   - Number Of Filenames
uint32 {4}   - Length Of Filename Directory


// for each filename
char {X}     - Filename (Unicode)
uint16 {2}   - null Filename Terminator


// Folder Name Directory

uint32 {4}   - Compressed Folder Name Directory Length
uint32 {4}   - Decompressed Folder Name Directory Length
byte {4}     - Checksum CRC32
byte {X}     - Compressed Folder Name Directory (ZLib)


// When decompressed
uint32 {4}   - Number Of Folder Names
uint32 {4}   - Length Of Folder Name Directory


// for each folder name
byte {X}     - Folder Name (Unicode)
uint16 {2}   - null Folder Name Terminator


// Folder Structure

uint32 {4}   - Number Of Folders


// for each folder
uint32 {4}   - Parent Folder Index


// File Data

// for each file


if (compressed){
uint32 {4}   - Compressed Length
uint32 {4}   - Decompressed Length
byte {4}     - Checksum CRC32
byte {X}     - Compressed File Data (ZLib)
}


else {
byte {X}     - File Data
}

MultiEx BMS

Not written yet

Supported Programs

Other Games

These games also use this file format

  • Battle Realms *.h2o
  • Lord Of The Rings - War Of The Ring *.h2o