Created
October 20, 2011 08:43
-
-
Save cmartello/1300702 to your computer and use it in GitHub Desktop.
quick tool to create pngs from a minecraft savefile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ./mcmap ~/.minecraft/saves/207.191.202.180 -file defakto-2011-10-14-west.png -north | |
from time import strftime | |
from os import system | |
when = strftime('%Y-%m-%d-%H%M') | |
for direction in ['north', 'south', 'east', 'west']: | |
system('./mcmap ~/.minecraft/saves/207.191.202.180 -file defakto-' + when + '-' + direction + '.png -' + direction) | |
system('./mcmap ~/.minecraft/saves/207.191.202.180 -cave -file defakto-' + when + '-' + direction + '-cave.png -' + direction) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment