By DALLOLS payday loans
Docs are included in zip.
http://github.com/aheadley/pynemap For all you SMP server hosts on linux, here is a way to generate map images suitable for cronjobs or whatever. It's very rough currently and a bit slower than Cartograph. Currently the only rendering mode is a straight top-down view ("overhead") still pretty rough but faster than it was and with oblique and only-certain-blocks rendering modes. Usage is:
./pynemap.py: [options] path/to/world/level.dat General Options: -o|--output-file <filename> The filename of the resulting image. Should end with ".png" default: map.png -r|--render-mode <['blocks', 'oblique', 'overhead']> The method for rendering the map image, currently only supports "overview" default: overview -v|--verbose Output progress and other messages default: off (quiet) --keep-chunks Keep chunks in loaded in memory, can use *a lot* of memory for large maps default: load chunks one at a time during render --use-alpha *NYI* Use transparency for nicer looking maps default: no alpha channel Render Options: *blocks*: --only-blocks <block[,block[,block]]> Comma separated list of (dec) block ids to render --overlayed *NYI* Overlay onto overhead map
Note that it requires having the Python Imaging Library (http://www.pythonware.com/products/pil/) (probably installed by default on most distros) and progressbar package (http://pypi.python.org/pypi/progressbar/) installed already. Thanks to Cartograph for the block colors and tWoolie for the NBT parser (viewtopic.php?f=25&t=24585)! Examples of render-modes: blocks: don't have one yet oblique: http://waysaboutstuff.com/oblique-example.png overhead: http://waysaboutstuff.com/overhead-example.png
Current release version:
Bleeding edge version:
git clone git://github.com/aheadley/pynemap.git
I'm planning on adding an oblique render mode next (as soon as I figure out how) done! Also, I have no idea if this will work on Windows. It probably would as long as you have the right python packages installed but I've not tested it. Apparently works on Windows and OS X. I try to keep compatibility with different OSs and Python2.4 but no promises. EDIT: updated to reflect new release
Please login to leave a comment.