-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Appears to be a container file for other data. Lots of game specific information is stored in these files. Has a 48 byte header. The vast majority seem to contain a secondary type of data with a magic value of 'RSZ'. These files are where most of data will reside.
The RSZ section, including the magic value, has a header of 60 bytes. These seem to basically be tables of data, typically of a single type.
| RSZ Offset | Bytes | Meaning |
|---|---|---|
| 0x0c | 4 | Element Count |
| 0x18 | 4 | Unknown |
| 0x20 | 4 | Unknown |
| 0x28 | 4 | Unknown (Seems to always be the same as 0x20) |
| 0x30 | 4 | Data Count |
I have found that Element Count is always 1 greater than Data Count, as it seems there is always an additional element at the end of the table.
Next comes a table of size Element Count * 8.
I am guessing that each element in this table is hash of the name of the datatype that is serialized, as such it might be the same as the murmur3 hash (2 32 bit hashes of lower and upper case) that filenames use. Either way, all of them in the table are usually the exact same, until the last 2. The second to last one is different and then the table ends with an entry of all zeros. After that table, next will be the data for the first element, associated with the first entry in the previous table.
Here are some datatypes that appear in these files. I don't know the actual datatype name, but based on the filename, it can be figured out what the file likely contains.
ItemData [Hash = 0xF7616BEE3AE87120]