An open API service indexing awesome lists of open source software.

https://github.com/joshuavandaele/unusedchunksbegone

This is a script used to save a significant amount of space by removing unused chunks.
https://github.com/joshuavandaele/unusedchunksbegone

anvil anvil-parser chunk deletion mca minecraft region save storage-saving

Last synced: about 1 month ago
JSON representation

This is a script used to save a significant amount of space by removing unused chunks.

Awesome Lists containing this project

README

        

# Unused Chunks, Begone

## Use case

This script is a script that locates and deletes unloaded and unused chunks inside of region files. This saves significants amounts of space. (In my own testing, it went down by five or seven folds.)

## Usage

Put all of your .mca region files into the `input` folder and then run the script. Once it finished, you can replace your old region files with the one inside of the `output` folder.

## Arguments

- `--nokeep` Delete the files as they are done being treated (Default: False)
- `--input "directory"` Select your input folder (Default: ./input/)
- `--output "directory"` Select your output folder (Default: ./output/)
- `--optimisechunks` Will also attempt to optimise individual chunks by deleting cached data, at the cost of performance upon reloading the chunks. The storage gain is MINOR only use this if you absolutely need it. (Default: False)
- `--replace` Replaces the files in your input directory with the optimised ones. Overrides `--nokeep` and `--output`

## License

This script is licensed under the GPL license. See the [LICENSE](./LICENSE) file for more information.