Utility to perform operations on minecraft region files
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Go to file
trivernis 687201d164
Fix memory leak and wrong nbt scan results
Fix a memory leak error caused by incorrect parsign of ByteArrays.
ByteArrays are now skipped completely when parsing nbt data since they
take up a lot of memory. The NBT Data is now parsed dynamically from
the BufReader of the file rather than using a preallocated slice.

Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
.github/workflows Update rust.yml 4 years ago
src Fix memory leak and wrong nbt scan results 4 years ago
.gitignore Add subcommand to get the number of chunks inside a world folder 4 years ago
Cargo.lock Fix memory leak and wrong nbt scan results 4 years ago
Cargo.toml Fix memory leak and wrong nbt scan results 4 years ago
LICENSE Create LICENSE 4 years ago
README.md Add fixing of compression method 4 years ago

README.md

minecraft-regions-tool

A utility to perform operations on minecraft region files

Usage

USAGE:
    minecraft-regions-tool <input> <SUBCOMMAND>

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

ARGS:
    <input>    Path to the world folder

SUBCOMMANDS:
    count    Return the total number of chunks in the world
    help     Prints this message or the help of the given subcommand(s)
    scan     Scan for errors in the region files and optionally fix them