From cfddfc468fa3d93b0b29c8b0a18b4a8fdc08045a Mon Sep 17 00:00:00 2001 From: Andrew Brown Date: Fri, 2 Mar 2012 19:17:12 -0500 Subject: [PATCH] added note to docs about anvil format --- docs/index.rst | 7 +++++++ overviewer_core/world.py | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/docs/index.rst b/docs/index.rst index 0f5b607..ecaf6bb 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -12,6 +12,13 @@ See also the `Github Homepage`_ and the `Updates Blog`_ .. _Updates Blog: http://overviewer.org/blog/ +.. warning:: + + This version of The Overviewer is being phased out. If you want to render + worlds for Minecraft 1.2 (the new "Anvil" format) then see the `Anvil `_ docs. + + Also see `this blog post `_ on the topic. + Introduction ============ The Minecraft Overviewer is a command-line tool for rendering high-resolution diff --git a/overviewer_core/world.py b/overviewer_core/world.py index 42ea227..3bb34ec 100644 --- a/overviewer_core/world.py +++ b/overviewer_core/world.py @@ -79,7 +79,7 @@ class World(object): # if not mcregion, error out early data = nbt.load(os.path.join(self.worlddir, "level.dat"))[1]['Data'] if not ('version' in data and data['version'] == 19132): - logging.error("Sorry, This version of Minecraft-Overviewer only works with the new McRegion chunk format") + logging.error("Sorry, This version of Minecraft-Overviewer only works with the old McRegion format. You will need to upgrade to render Minecraft 1.2 ('Anvil') worlds") sys.exit(1) if 'LevelName' in data: # level.dat should have the LevelName attribute so we'll use that