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

Add support for zstd compressed depot chunks #1503

Open
xPaw opened this issue Feb 6, 2025 · 0 comments · May be fixed by #1504
Open

Add support for zstd compressed depot chunks #1503

xPaw opened this issue Feb 6, 2025 · 0 comments · May be fixed by #1504

Comments

@xPaw
Copy link
Member

xPaw commented Feb 6, 2025

There is a library we can use: https://github.com/oleg-st/ZstdSharp (ValveResourceFormat has been using this)

steamclient ref: CChunkDataStore::CompressAndEncryptChunk::VZStdCompressToBuffer and DecryptAndUncompressChunk

magic header appears to be VSZa (compared to VZa for lzma) with zsv (zv for lzma) trailer?

@xPaw xPaw linked a pull request Feb 6, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant