Lord Of The Rings: War Of The Ring H2O
From XentaxWiki
(Redirected from H2O6)
Choose archive extension:
H20
- Format Type : Archive
- Endian Order : Little Endian
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)
- uint32 {4} - Compression Tag (0=Uncompressed, #=Compressed)
// 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
- uint32 {4} - Number Of Filenames
- // for each filename
- char {X} - Filename (Unicode)
- uint16 {2} - null Filename Terminator
- char {X} - Filename (Unicode)
- // for each filename
// 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
- uint32 {4} - Number Of Folder Names
- // for each folder name
- byte {X} - Folder Name (Unicode)
- uint16 {2} - null Folder Name Terminator
- byte {X} - Folder Name (Unicode)
- // for each folder name
// Folder Structure
- uint32 {4} - Number Of Folders
- // for each folder
- uint32 {4} - Parent Folder Index
- 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)
- }
- uint32 {4} - Compressed Length
- if (compressed){
- else {
- byte {X} - File Data
- }
- byte {X} - File Data
- else {
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