mrkite / minutor

Mapping for Minecraft
http://seancode.com/minutor
BSD 2-Clause "Simplified" License
277 stars 52 forks source link

Feature: read Minecraft PE Pocket Edition maps #92

Open erich666 opened 7 years ago

erich666 commented 7 years ago

If you're looking to add something that will make lots of users of Minecraft on Windows 10 (which uses the Pocket Edition storage format) happy, add leveldb read support.

Minecraft Pocket Edition uses a different database for its maps: leveldb. More information here: http://minecraft.gamepedia.com/Pocket_Edition_level_format - note that LevelDB itself is a C++ library.

MCEdit-Unified https://github.com/Khroki/MCEdit-Unified has Python and whatnot code that supports reading PE data, e.g. https://github.com/Khroki/MCEdit-Unified/blob/master/pymclevel/leveldb.py

mrkite commented 7 years ago

Ooh, good idea. I was just wondering the other day if the Win10 edition used a different format. I have windows 10, but haven't downloaded the win 10 edition yet.

erich666 commented 7 years ago

Ping on this one, just because the Education Edition also uses the LevelDB format, and I'd be happy to grab any code you make and use it in Mineways. :) I'm not in any rush to delve into LevelDB myself, as the Windows 10 "Creative Edition" is supposed to have 3D export support for Minecraft, so Mineways come Spring becomes less relevant for PE and Education Editions.

mrkite commented 7 years ago

I've installed the win10 version of minecraft and generated a world. Just haven't had time to poke at it too much.