Sarc: Difference between revisions

Watertoon (talk | contribs)
Correct header field.
Watertoon (talk | contribs)
m Correct hash function.
Line 83: Line 83:


==== Sfat Entry Array ====
==== Sfat Entry Array ====
The sfat entry array follows the sfat header (header + size of header). Array is sized by the sfat header file count, and is sorted by the crc32 hash.
The sfat entry array follows the sfat header (header + size of header). Array is sized by the sfat header file count, and is sorted by a custom hash derived from the hash seed in the sfat header.
{| class="wikitable"
{| class="wikitable"
|+
|+
Line 94: Line 94:
|0x4
|0x4
|u32
|u32
|File name crc32 hash
|File name hash
|-
|-
|0x4
|0x4