ljyloo / LevelDb2Avnil

Convert Minecraft: Pocket Edition(LevelDb) map to Minecraft(Avnil) map
GNU General Public License v2.0
100 stars 31 forks source link
java maptool minecraft-pocket-edition

THIS PROJECT IS DEPRECATED. YOU ARE WELCOMED TO FORK OR PULL REQUEST, BUT I WILL NOT MAINTAIN THE CODE ANYMORE, SORRY.

LevelDb2Anvil

Convert Minecraft: Pocket Edition Maps(LevelDB) to Minecraft Maps(Anvil).

Info:

Latest version(v2.0) works for maps generated by Minecraft: Pocket Edition 1.0 or later.

Blocks have different ID in PC and PE will be converted into correct ID, no worry.

For Minecraft: Pocket Edition before v1.0 and after v0.9, consider using last build(v1.0).

Any question, bug or advice, feel free to talk with me at here.

Known Issues:

Usage:

Video tutorial

There's a video tutorial about this(Made by AntVenom): Link

Auto script

Import your LevelDB world in and rename it to the name 'world'. Run start.bat(if you're on Windows) or start.sh(if you're on OS X or Linux) and the converter will now convert it to Anvil format to the output folder of 'worldanvil'.

Command line interface

If you were familiar with command line interface, using the Converter.jar like this(You may want to install java runtime first):

java -jar Converter.jar <import folder> <export folder>

Todo

Screenshots:

The mca files generated by the program stores your maps data. They can be found in an usual Minecraft world folder:

Create a superflat new world and copy the mca files into it, open the game and locate your chunks.(Press F3 to see your location) Don't worry if you were seeing the flat chunks again, the coordinate of your original chunk in the MCPE is exactly the same in here too, you may want to use teleport command to find the chunks.

Credits:

This program uses leveldb by tinfoiled. See lisense here

This program contains code from Mojang: source at here

User-friendly start.bat/start.sh, the folder 'worldanvil' was by @keithkfng.

Thanks AntVenom for making a video tutorial.