You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Run SARC-Tool on the empty directory to create an empty archive.
Inspect header
I wrote a tool (in a private repository) that dumps the headers and other metadata for a SARC archive, and here is what I got when running on an empty archive:
Is this a bug? IIUC, file_size should be the size of the entire archive, while data_start should be the offset from the beginning of the archive to where the file data starts (rather than the offset after the headers).
Steps to reproduce:
I wrote a tool (in a private repository) that dumps the headers and other metadata for a SARC archive, and here is what I got when running on an empty archive:
Is this a bug? IIUC,
file_size
should be the size of the entire archive, whiledata_start
should be the offset from the beginning of the archive to where the file data starts (rather than the offset after the headers).The zeldamodees/oead implementation seems to confirm this: https://github.com/zeldamods/oead/blob/b31e5bc96bab9ee7e84971c8f2ca34073d0263af/src/sarc.cpp#L331-L341
The text was updated successfully, but these errors were encountered: