Obscure 2 HVP: Difference between revisions
Jump to navigation
Jump to search
imported>Ikskoks |
imported>Ikskoks (→Games) |
||
| (13 intermediate revisions by the same user not shown) | |||
| Line 28: | Line 28: | ||
{ | { | ||
4 bytes (uint32) - entry name CRC32 value // e.g 0xB4DABE2 for "jemmy2_pc.zwo" file | 4 bytes (uint32) - entry name CRC32 value // e.g 0xB4DABE2 for "jemmy2_pc.zwo" file | ||
4 bytes (uint32) - entry type // 0 - uncompressed file/asset | |||
// 1 - compressed file/asset | |||
// 4 - directory | |||
if ENTRY_TYPE in (0, 1): | |||
4 bytes (uint32) - unknown checksum | |||
4 bytes (uint32) - file uncompressed size | |||
4 bytes (uint32) - file offset | |||
4 bytes (uint32) - file compressed size | |||
endif | |||
if ENTRY_TYPE == 4: | |||
4 bytes (uint32) - zero // 0 | |||
4 bytes (uint32) - zero // 0 | |||
4 bytes (uint32) - number of sub-entries (files or directories) | |||
4 bytes (uint32) - index of first sub-entry | |||
endif | |||
} | } | ||
| Line 52: | Line 52: | ||
number_of_files * | number_of_files * | ||
{ | { | ||
x bytes - file data | |||
} | } | ||
</pre> | </pre> | ||
| Line 61: | Line 61: | ||
* Some files are compressed with '''LZO / LZO1X''' compression. | * Some files are compressed with '''LZO / LZO1X''' compression. | ||
* Entry names are hashed with '''CRC32 checksum'''. | * Entry names are hashed with '''CRC32 checksum'''. | ||
* In the PC version of the game, following file types are stored inside HVP archives: | |||
** cachpack.hvp - ZWO, DAT, HOE | |||
** kinepack.hvp - BIK | |||
** datapack.hvp - ZWO, DIC, XMC, DAT, HOE | |||
** loadpack.hvp - WAV, SUB, ZWO | |||
=== Games === | === Games === | ||
List of games using this file format: | List of games using this file format: | ||
* Obscure II / Obscure: The Aftermath (PC/PS2) (*.HVP) | * Obscure II / Obscure: The Aftermath (PC/PS2/PSP/WII) (*.HVP) | ||
=== QuickBMS Script === | === QuickBMS Script === | ||
* [http://aluigi.altervista.org/bms/obscure_hvp.bms obscure_hvp.bms] | |||
=== Compatible Programs === | === Compatible Programs === | ||
| Line 74: | Line 79: | ||
* [https://github.com/bartlomiejduda/Tools/tree/master/NEW%20Tools/ObsCure%202/ObsCure%202%20HVP%20Tools ObsCure 2 HVP Tools] | * [https://github.com/bartlomiejduda/Tools/tree/master/NEW%20Tools/ObsCure%202/ObsCure%202%20HVP%20Tools ObsCure 2 HVP Tools] | ||
* [https://github.com/bartlomiejduda/Tools/tree/master/NEW%20Tools/ObsCure%202/ObsCure%202%20Hook ObsCure 2 Hook] | * [https://github.com/bartlomiejduda/Tools/tree/master/NEW%20Tools/ObsCure%202/ObsCure%202%20Hook ObsCure 2 Hook] | ||
* [http://www.watto.org/game_extractor.html Game Extractor] | |||
=== See Also === | |||
* [[Obscure HVP|Obscure HVP (xentax wiki)]] | |||
* [http://www.watto.org/specs.html?specs=Archive_HVP Obscure 2 HVP file format (watto.org)] | |||
<br/><br> | <br/><br> | ||
Latest revision as of 14:19, 19 December 2022
Back to index | Edit this page
HVP
- Format Type : Archive
- Endian Order : Little Endian
- Signature : 262144 (00 00 04 00)
Format Specifications
// HVP file format
// Obscure 2 (PC)
// little endian
// header
4 bytes (uint32) - signature // 262144 (00 00 04 00)
4 bytes (uint32) - zero // 0
4 bytes (uint32) - number of entries in directory
4 bytes (uint32) - directory CRC32
// directory (24 bytes per entry)
number_of_entries *
{
4 bytes (uint32) - entry name CRC32 value // e.g 0xB4DABE2 for "jemmy2_pc.zwo" file
4 bytes (uint32) - entry type // 0 - uncompressed file/asset
// 1 - compressed file/asset
// 4 - directory
if ENTRY_TYPE in (0, 1):
4 bytes (uint32) - unknown checksum
4 bytes (uint32) - file uncompressed size
4 bytes (uint32) - file offset
4 bytes (uint32) - file compressed size
endif
if ENTRY_TYPE == 4:
4 bytes (uint32) - zero // 0
4 bytes (uint32) - zero // 0
4 bytes (uint32) - number of sub-entries (files or directories)
4 bytes (uint32) - index of first sub-entry
endif
}
// data
number_of_files *
{
x bytes - file data
}
Notes and Comments
- Some files are compressed with LZO / LZO1X compression.
- Entry names are hashed with CRC32 checksum.
- In the PC version of the game, following file types are stored inside HVP archives:
- cachpack.hvp - ZWO, DAT, HOE
- kinepack.hvp - BIK
- datapack.hvp - ZWO, DIC, XMC, DAT, HOE
- loadpack.hvp - WAV, SUB, ZWO
Games
List of games using this file format:
- Obscure II / Obscure: The Aftermath (PC/PS2/PSP/WII) (*.HVP)
QuickBMS Script
Compatible Programs
See Also