Module libxivdat::dat_type[][src]

Expand description

Contains the enum of all supported file types, DATType and functions for accessing default header and mask values specific to each type.

Enums

Enumeration of known FFXIV DAT file types. The value of each element represents the first 4 header bytes as a little-endian i32. These bytes are known static values that differentiate file types.

Functions

Gets the default header ending byte for a given DAT type. The purpose of this value is unknown, but it is a fixed value based on file type. Returns None if the file is of unknown type.

Gets the default maximum content size of a DAT file for a given type. Returns None if the file is of unknown type or has no standard size.

Gets the XOR mask used for the contents of a binary DAT file. The mask is applied to only the file data content, not the header, footer, or padding null bytes. Returns None if the file is of unknown type or does not have a mask.