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

Some LZMA2 archives can't be read #5

Open
lesderid opened this issue Apr 26, 2020 · 1 comment
Open

Some LZMA2 archives can't be read #5

lesderid opened this issue Apr 26, 2020 · 1 comment

Comments

@lesderid
Copy link
Contributor

LZMA2 archives can do (partial) state and dictionary resets before each LZMA2 packet. This isn't yet supported because the LZMA package that is used (lzma-purejs) doesn't expose such functionality, as it's not used in LZMA1.

Due to this, all (most?) single-file LZMA2 archives can be read, but many multi-archives cannot.

@lesderid
Copy link
Contributor Author

This should be fixable by using LZMA.Decoder from lzma-purejs directly instead of using the decompress function. I will probably look into this in a few days.

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