No project description provided
Project description
MC-Trimmer
Allows for fast, UI-less trimming of minecraft worlds.
Usage
mctrimmer [-h] [-b [BACKUP_DIR]] -i INPUT_DIR [-o [OUTPUT_DIR]] [-p [THREADS]] -c {inhabited_time<15s, ...}
Trim a minecraft dimension based on per-chunk criteria. v0.1.0
options:
-h, --help Show this help message and exit.
-b/--backup [BACKUP_DIR]
Backup regions affected by trimming to this directory. Defaults to './backup'
-i/--input-region INPUT_DIR
Directory to source the dimension files from. If no output directory is specified, in-place editing will be performed.
-o/--output-region [OUTPUT_DIR]
Directory to store the dimension files to. If unspecified, in-place editing will be performed by taking the input directory instead.
-p/--parallel [THREADS]
Parallelize the task. If no thread count is specified, the number of cpu cores -1 is taken instead.
-c/--criteria {inhabited_time<15s,inhabited_time<30s,inhabited_time<1m,inhabited_time<2m,inhabited_time<3m,inhabited_time<5m,inhabited_time<10m}
Pre-defined criteria by which to determmine if a chunk should be trimmed or not.
Benchmark
Conditions:
OS: Windows10 64bit
CPU: AMD 3700x
SSD: Corsair MP510 2TB
Total file size processed: 1.05 GB
Total output size: 436 MB
Total files: 120 region files, 120 entities files
Command being run:
Measure-Command {mctrimmer -i "./test_in" -o "%appdata%/.minecraft/saves/test" -b "./tests/test_backup" -c "inhabited_time<30s" -p}
Results:
TotalSeconds : 3.3509565
TotalSeconds : 4.4760565
TotalSeconds : 3.3780054
TotalSeconds : 3.4098966
TotalSeconds : 4.0146584
TotalSeconds : 3.7998296
TotalSeconds : 3.8248743
TotalSeconds : 3.9705653
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mc_trimmer-0.1.2.tar.gz
(11.3 kB
view details)
Built Distribution
File details
Details for the file mc_trimmer-0.1.2.tar.gz
.
File metadata
- Download URL: mc_trimmer-0.1.2.tar.gz
- Upload date:
- Size: 11.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: pdm/2.8.2 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2567687e958ab8024e888ba07b824d02aa32aa6e2d328012a10bf1dfdf4ea5cc |
|
MD5 | 98c642249b032818af83d6b384d4f0e6 |
|
BLAKE2b-256 | 5d3a66bb32c6d96efc79fc9ba22d7de92a43bab2bed7e953650e70b3beca967b |
File details
Details for the file mc_trimmer-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: mc_trimmer-0.1.2-py3-none-any.whl
- Upload date:
- Size: 12.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: pdm/2.8.2 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0786d762ca833790d44c1054b29e5409afe73e6cb717feef0311dfab16ee7177 |
|
MD5 | 2853a73a6b739bb6a7cf3f1d2d992968 |
|
BLAKE2b-256 | 85bacbde81bec86151885707a18ce25bf533b31eae5eb70c5b1f48966eddf201 |