Skip to content

Fix file dictionary seek before extraction - #2

Open
FoxToolworks wants to merge 1 commit into
openblack:masterfrom
FoxToolworks:fix/file-dictionary-seek
Open

Fix file dictionary seek before extraction#2
FoxToolworks wants to merge 1 commit into
openblack:masterfrom
FoxToolworks:fix/file-dictionary-seek

Conversation

@FoxToolworks

Copy link
Copy Markdown

Summary

Fixes extraction of Everything.stuff archives by seeking to the file dictionary before reading its entries.

Without this seek, the reader remains near the end of the archive after reading the content length and may parse invalid or empty dictionary entries.

Testing

Successfully tested with a Black & White 2 Everything.stuff archive containing 3928 file dictionary entries.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant