Skip to content

Hog file spec

Ben M. Ward edited this page Oct 17, 2010 · 2 revisions

Hog is descent's version of tar. It simply packages multiple files in a single file. A Hog file starts with a 3 byte signature of DHF. (Descent Hog File) The it contains 1 or more "File" entries.

Each File entry consists of 13 bytes for the filename that are 0 padded on the right. Followed by a 32 bit int for the filesize. Followed by the raw file data.

Clone this wiki locally