HOG Format

From ModdingWiki
Jump to navigation Jump to search
HOG Format
Format typeArchive
Max files250
File Allocation Table (FAT)Embedded
Filenames?Yes, 8.3
Metadata?None
Supports compression?No
Supports encryption?No
Supports subdirectories?No
Hidden data?No
Games

The HOG format is used by Descent to store some of the game data.

File format

Signature

The file begins with the three characters "DHF", which presumably stands for Descent Hog Format.

File entry

After the signature, the file consists of one or more file entries, one after the other.

Data type Name Description
char[13] filename Null-terminated 8.3 filename (lowercase, padded with \0)
UINT32LE size Length of the data
BYTE[size] data File content, size bytes of data

Notes

  • Descent will refuse to load the HOG file if it contains more than 250 files.
  • Some websites erroneously report the signature as DHFmoon01.bbm, but moon01.bbm is actually the first entry (a LBM File) of the DESCENT.HOG.
  • HOG appears to stand for the animal, as other files in Descent are named after pigs, like *.PIG or *.HAM.

Tools

The following tools are able to work with files in this format.

Name PlatformExtract files? Decompress on extract? Create new? Modify? Compress on insert? Access hidden data? Edit metadata? Notes
Camoto Linux/WindowsYesN/AYesYesN/AN/AN/A
Camoto/gamearchive.js AnyYesN/AYesYesN/AN/AN/A
DMB2 Windows (16bit)YesN/AYesYesN/AN/AN/A

Credits

This file format was reverse engineered by Malvineous. If you find this information helpful in a project you're working on, please give credit where credit is due. (A link back to this wiki would be nice too!)