Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Compression uses legacy mode only #16

Open
Xenira opened this issue Jan 23, 2022 · 0 comments
Open

[Bug] Compression uses legacy mode only #16

Xenira opened this issue Jan 23, 2022 · 0 comments

Comments

@Xenira
Copy link
Contributor

Xenira commented Jan 23, 2022

Old versions of pak files (<8) use an index to identify the compression method:
0: None
1: Zlib
2: Gzip
3: Custom

Pak files >= 8 use name based compression index (in footer). Using the current implementation the index used might not match with the corresponding legacy compression method.

As currently only zlib is supported this should not cause problems, but should be fixed when implementing more methods and as validation to make sure the used method is supported.

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

No branches or pull requests

1 participant