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 Zstandard compression #742

Merged
merged 2 commits into from
Nov 21, 2021

Conversation

lmoureaux
Copy link
Contributor

@lmoureaux lmoureaux commented Nov 21, 2021

Zstandard is as fast as gzip and as good as xz. This makes it a good candidate for savegame compression. Support it when KArchive is recent enough.

Leaving the default to xz for now, but we might want to revisit this in the future.

Closes #713.

Test plan (you need KArchive 5.82 or later built with zst support):

  1. set compresstype zstd
  2. Save game
  3. Load game just saved

Zstandard is as fast as gzip and as good as xz. This makes it a good candidate
for savegame compression. Support it when KArchive is recent enough.

Leaving the default to xz for now, but we might want to revisit this in the
future.

Closes longturn#713.
Notably Homebrew and Ubuntu 20.04 used in our CI.

See longturn#713.
Copy link
Collaborator

@jwrober jwrober left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

works for me

@lmoureaux lmoureaux merged commit a1a46a7 into longturn:master Nov 21, 2021
@lmoureaux lmoureaux deleted the feature/zstd branch November 21, 2021 17:54
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.

Support zst compression when karchive supports it
2 participants