ZiPatch File Structure

From FFXIV Classic Wiki
Revision as of 17:25, 5 June 2019 by Deviltti (talk | contribs)
Jump to: navigation, search

ZiPatch File Header 91 5A 49 50 41 54 43 48 0D 0A 1A 0A

uint dataSize (Little Endian) byte data[dataSize + 4] byte crc[4]

crc is standard CRC32 checksum (RFC 1952) of the data block

byte type[data[0..3]] "FHDR" (File Header) "APLY" "APFS" "ETRY" (Entry File) "ADIR" (Add Directory) "DELD" (Delete Directory)

>>FHDR byte version[4] byte result[4] uint numEtry (Little Endian) uint numAply (Little Endian) uint numDeld (Little Endian)

>>ADIR uint pathSize (Little Endian) byte path[pathSize]

>>DELD uint pathSize (Little Endian) byte path[pathSize]