A command-line utility, web application, and Python library to convert Minecraft in-game maps to image files.
-
Clone this repository into an empty directory:
git clone https://github.com/joodicator/mcmapimg.git cd mcmapimg
There are three ways to use this tool:
-
Run
mcmapimg.pyas a command-line program. See the output of:./mcmapimg.py --help -
Using the web interface: make accessible by a web server
index.htmandcgi-bin/map.cgi- the latter of which is an executable Python script and should be run as a CGI program by the web server - for example, run python's built-in http server:python -m http.server --cgi 8000Then visit
http://localhost:8000in your browser and follow the instructions there. -
As a library directly from Python:
python >>> import mcmapimg >>> help(mcmapimg)