getFile Formats : Big Head Format (BH)

glump

Last updated on: Sept 27, 2004

BIG Head file attributes

Endian

Big

Data alignment

16 byte

Maximum Size

4 gigabyte

    Big File Header

    Every big head file contains a 16 byte header which describes the type and size of the header:

Field | Offset | Size | Description
type | 0 | 4 | 'VIV 4' for 32 bit format
len | 4 | 4 | length of file in bytes (chunk style header)
num | 8 | 4 | number of files in big file
hlen | 12 | 4 | length of header including this header

Table of Contents

F or each of the files contained in the big file, there exists a fixed sized entry with 4 fields: hash, offset, size and msize.

Field | Offset | Size | Description
foffset | 0 | 4 | offset to file relative to start of big file

fsize 4 4 size of file on disk
msize 8 4 memory for decompressed file. 0 if uncompressed

hash

12 4 hashed filename using DJB2

Copyright © Electronic Arts Canada Inc. 2004. All rights reserved.
This page is created by FrANK Barchard