Minetest Mapping

The MineClone2 "map" is basically just a compass, it shows a picture of the local chunks but can't be resized. So… where have I been? Where are my bases?

There's a couple cartography mods, but they seem to only make small maps for use in-game. There's a minetestmapper.py in the base game's distro, but it's python2, requires an obsolete version of PIL, 2to3 didn't fix it.

So there is this:

SIGH, C++ and libraries. I actually have libgd installed with MacPorts, gd2, but it wasn't found at first, adjusted my env vars and now:

cmake . -DENABLE_LEVELDB=1
make

Grinds for half an hour, get a full white image, because all the MineClone2 nodes are unknown, so copied colors.txt to my-colors.txt, and add this to the end:

Make a script, my-map.zsh (change mapname, worlddir to wherever yours are):

#!/bin/zsh
mapname="MineClone-2022"
worlddir="$HOME/Library/Application Support/minetest/worlds"
d=`date "+%Y%m%d_%H%M%S"`
./minetestmapper --colors my-colors.txt -i "$worlddir/$mapname" -o "$mapname-$d.png"

Repeat, half an hour… I still get 227 lines of unknown blocks, but the base map generates OK now, and looks good enough. I hate the sand color, and I dunno what the dark areas are. OOH, what's that structure at the far west? I'm planning to skyrail far west, then go there and the unexplored village W-SW next time. And I'll add more to my-colors.txt file and post that sometime.

Scaled down image: