16 Commits (main)
 

Author SHA1 Message Date
trivernis eac3d24136
Fix optional tag checks and shifting of overlapping chunks
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis f72ceb0ed2
Add more nbt tags to be checked
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 3f6063b24a
Improve shifting by partial shifting on multiple operations
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 4842b9f346
Fix shifting of chunks to occupy unused space
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis eb88a39b9a
Add optional deletion of corrupted chunks and region files
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
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
trivernis 4991789b58
Merge branch 'main' of github.com:Trivernis/minecraft-regions-tool into main 4 years ago
trivernis f5ad767d22
Add scanning of chunk data in nbt format
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
Trivernis 344eff7b70
Update rust.yml
Fix terminal color
4 years ago
Trivernis 701991b1ab
Create rust.yml 4 years ago
trivernis 2addee7348
Add fixing of compression method
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 9d35c5772d
Add scan commmand that also fixes lengths
The scan command looks for different section counts in the locations
table and optionally fixes it.

Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis a43301074d
Add metadata for crates.io
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
Trivernis 9cbd6c4a42
Create LICENSE 4 years ago
Trivernis f96b0513da
Create README.md 4 years ago
trivernis 6fd1293e4a
Add subcommand to get the number of chunks inside a world folder
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago