Compendium is a command-line application, written in Kotlin, designed to reallocate unique map IDs for each distinct map image in a Minecraft save file.
GNU General Public License v3.0
3
stars
0
forks
source link
Feature Request: Enhanced World Management and Map ID Handling #2
Feature 1: --world flag (no --input or --output needed, no copying of .mca files)
Implement a mode that uses only a --world flag for the world to be operated on, eliminating the need for --input and --output flags. This will be my primary mode of operation.
No copying of region files; only modify the ones that need changes.
When using the --world flag, --input and --output flags should be invalid and vice-versa.
data/map_<ID>.dat file handling:
Rename the data folder to data-original (fail and stop if the operation does not succeed due to a locked or already existing data-original directory).
Create a new data folder (fail and stop the operation if data already exists).
Move and rename data-original/map_<original-ID>.dat files to data/map_<hashmap-ID>.dat in one step.
Leave data-original/map_<ID>.dat files that are not in the region/entities.mca files.
Rename the folder data-original to data-notin.
Feature 2: read-only map ID extraction from region/entities.mca files into two lists
Create a mode that extracts map IDs from region/entities .mca files in a read-only manner and generates two lists as txt files.
map_ids.txt A list of map IDs sorted numerically (lowest first).
map_id_locations.txt A list containing each map ID, its coordinates, and the entity it is residing in (use "on ground" if it's just an item on the ground).
Example for map with ID 1234:1234 at 825946 70 438855 in chunk 5, 4 in region r.1613.857.mca in the overworld inside minecraft:chest
Feature 3: mode to generate .png files of original data/map_<id>.dat files
Add a mode to generate .png files of the original data/map_<id>.dat files, not the renamed ones. This is a low priority feature but would be a nice addition.
Similar functionality to mapdat2png, which currently fails on some new maps.
Feature 1:
--world
flag (no--input
or--output
needed, no copying of .mca files)Implement a mode that uses only a
--world
flag for the world to be operated on, eliminating the need for--input
and--output
flags. This will be my primary mode of operation.--world
flag,--input
and--output
flags should be invalid and vice-versa.data/map_<ID>.dat
file handling:data
folder todata-original
(fail and stop if the operation does not succeed due to a locked or already existingdata-original
directory).data
folder (fail and stop the operation ifdata
already exists).data-original/map_<original-ID>.dat
files todata/map_<hashmap-ID>.dat
in one step.data-original/map_<ID>.dat
files that are not in theregion
/entities
.mca
files.data-original
todata-notin
.Feature 2: read-only map ID extraction from
region
/entities
.mca
files into two listsCreate a mode that extracts map IDs from region/entities
.mca
files in a read-only manner and generates two lists as txt files.map_ids.txt
A list of map IDs sorted numerically (lowest first).map_id_locations.txt
A list containing each map ID, its coordinates, and the entity it is residing in (use "on ground" if it's just an item on the ground).Example for map with ID 1234:
1234 at 825946 70 438855 in chunk 5, 4 in region r.1613.857.mca in the overworld inside minecraft:chest
Feature 3: mode to generate
.png
files of originaldata/map_<id>.dat
filesAdd a mode to generate
.png
files of the originaldata/map_<id>.dat
files, not the renamed ones. This is a low priority feature but would be a nice addition.