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.
- Host: GitHub
- URL: https://github.com/joshuavandaele/unusedchunksbegone
- Owner: JoshuaVandaele
- License: gpl-3.0
- Created: 2021-07-17T16:51:32.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-11-12T17:27:12.000Z (6 months ago)
- Last Synced: 2025-03-25T15:07:35.049Z (about 2 months ago)
- Topics: anvil, anvil-parser, chunk, deletion, mca, minecraft, region, save, storage-saving
- Language: Python
- Homepage:
- Size: 103 KB
- Stars: 3
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.