ZFX File Format
The .zfx file contain a bunch of other files concatenated
into a single file. This is done to decrease seek times when reading files from
disk or CD.
Basic Format:
- Intel style byte ordering
- File Count (4 byte int)
- Directory (13 byte strings, 0 padded 8.3 format – always at least
one terminating null character, always starts at offset 4, 0 padded to a
fixed size of 600 strings - 7800 bytes)
- File Offsets (always starts at 7804, 600 32bit ints)
- Files (always start 12604, offsets are from start of file so this tidbit
isn’t really needed)
Example of Guns.zfx offset table
12604
13648
14692
18660
…