yamayaki1 / cesium-fabric

Highly experimental and unstable alternative world format for Minecraft
GNU Lesser General Public License v3.0
29 stars 0 forks source link

Add option to disable compression #7

Closed obj-obj closed 1 month ago

obj-obj commented 7 months ago

I use zstd:9 full disk compression, which makes the compression optimization in this mod irrelevant to me.

yamayaki1 commented 7 months ago

Use on your own risk! Create a backup before using this experimental version!

I went ahead and made an experimental branch of Cesium that supports disabling data compression. Disabling compression can be achieved by setting the compresssion.level option to 0. Please note that once you loaded your world with this experimental branch, you can no longer use the official version of Cesium, as the data format used in the experimental branch is unknown to the official release.

This limitation can be worked around by converting the world in the following order: Cesium to Anvil (Experimental Branch) --> Anvil to Cesium (Stable Branch).

If you want to try this experiment out, you can download the latest artifact from GitHub Actions (test/disable-compression).

obj-obj commented 1 month ago

@yamayaki1 does https://github.com/yamayaki1/cesium-fabric/commit/f96c26708de87e5dd12260a93a4e053485af6cda close this issue?

yamayaki1 commented 1 month ago

Well, this was originally not supposed to land in the main branch, but here I am, pushing commits to the wrong repositories. The linked commit does close this issue, so ...

There's no real upgrade path from the artifact I sent in March, it uses a different data structure, so you'd have to do the following:

  1. Boot up the version of Cesium I linked in March and convert the world to the Vanilla format.
  2. Boot up any of the newer versions of Cesium, disable compression and then convert back to Cesium.

The latest release should make this process a bit faster.