
Add Zstandard compression option for chunks
Y0shioSato opened this issue · 4 comments
Have a new non vanilla chunk compression option for Zstandard. Zstandard can offer high compression ratios with insane decompression speeds. It would be an improvement compared to vanilla options in terms of both speed and efficiency.
Describe alternatives you've considered
An alternative for me right now is to use BTRFS filesystem with transparent compression set to zstd:3-9, while having compression in C2ME disabled.
Adding zstd support will make worlds with zstd enabled unreadable by vanilla, which isn't desirable. This is not being considered at the moment.
There exist an older pull request about it: #229
Maybe you want to look into Cesium: https://modrinth.com/mod/cesium
The description doesn't mention zstd, but it seems to be zstd or something based on it.
Very interesting mod.
Adding zstd support will make worlds with zstd enabled unreadable by vanilla, which isn't desirable. This is not being considered at the moment.
So if a tool for recompensing chunks back to a vanilla compatible format were to be implemented having zstd would no longer be as such that will result in undesirable consequences?
Adding zstd support will make worlds with zstd enabled unreadable by vanilla, which isn't desirable. This is not being considered at the moment.
Hey Ishland just a heads up. Thundxr modified a version of Plutonium for the official Create: Steam and Rails server and got this working. The servers been running for nearly a year now and it worked pretty well alongside C2ME we only had a single issue with bluemap.
We also found we could check the zstd files using Unascribed's unbted as they added zstd support
Also a bit of a sidenote but thank u for making C2ME. We launched the server without it and it's clear that without this mod we wouldn't have been able to keep the server running well for long.