Minecraft / Mods

Anvil to LevelDB Converter (Java to Pocket Edition)

Convert your world on PC to Pocket Edition

  • 34 diamonds
  • 19,889 views, 318 today
  • 2,563 downloads, 47 today
  • 181 comments
  • 23 favorites
  • 34
  • 23
  • playlist_add
  • share
  • more_horiz
avatar Empire92
Level 53 : Grandmaster Batman
82

Anvil to LevelDB Converter
Source | Report Issue | Chat

This is a converter between Anvil and LevelDB, which are the world save formats used on the Java and Pocket Editions respectively. The Nukkit and FAWE API are used for conversion.

What is currently supported:
- Remaps Blocks and rotation
- Copies most block NBT
- Copies level.dat

Some things may not work, so please let me know and I'll do my best to fix it.
Note: I do not check PMC regularly, please contact me on Discord or GitHub (links above).
Progress100% complete
Game VersionMinecraft 1.12
Tags

1 Update Logs

Update #1 : 10/07/2017 1:02:36 amOct 7, 2017

Various fixes and improvements (block mappings, tile entities, etc)

Comments : 181

Login or register to post a comment.

Show Comments

1 - 50 of 181

How much time does it take to convert a world? The program says "time remaining: 6h". Is it okay?
  • Astargoth
  • Level 1
  • New Miner
  • April 15, 2018, 3:59 am
Hi, I am trying to convert the Java world that my family and friends have used since Nov 2011, it only seems to be able to cope with 1 strip of the world.

My guess is it is probably because we had the millenaire mod running at one point and there are some entities that it doesn't like. The mod is no longer on and we have had several 'ghost' towns ever since : )

If anyone can help I would be most grateful as it has a lot of history for us.

Many thanks,
Astargoth
  • me4maz
  • Level 1
  • New Miner
  • April 8, 2018, 1:01 pm
I cant open the application
  • KelvinVo
  • Level 1
  • New Miner
  • April 5, 2018, 7:05 am
Hi! Whenever I try to convert my world, it says "conversion failed, you will have to do it manually". I've tried many different worlds but still got the same result. Could you please help me to convert the world below from java to pe and send the converted file back to me? It would be great if you could. Thx <3

http://www.mediafire.com/folder/qcu96900abup1/Cliff_Side

P/s: I also have many worlds that need to be converted as well. It would be nice if you could also show me how to fix the problem so I would be able to do it myself. Thx again
  • stevieleevy
  • Level 3
  • Apprentice Architect
  • April 10, 2018, 9:03 pm
No clue on how to "Fix the problem..." It just works on my end. The only time it did notw as the first time I tiried before I had updated my java....

First, make sure your java is up to date and the right version for your OS...(64/32 bit), then try again. See if it gets the same error or new, or works.

In the meantime...Pick the most important ones and we can start with those.


Edit: And upload as a zip or RAR single file. i do not have a media fire account, nor will I make one just for this.
Hello, I have recently tried to use this converter to transfer my world from java to windows 10. (BC all my friends play Xbox) When I tried to convert the file it gave me an error message that said I needed to do the conversion manually. could one of you please do the conversion for me and reply with the converted file? if so that would be great. Thanks in advance. :)

Link: www.mediafire.com/file/jtrbbuz8x3jwu8x/FoxyFoxBurrows.zip
  • stevieleevy
  • Level 3
  • Apprentice Architect
  • March 18, 2018, 9:02 pm
I can give this a try...

Edit: first try converted, but there is something that it cannot convert properly, which causes it to crash when the section loads...something you have customized...
Hmm, my world was originally from Xbox 360 which I brought over to pc and only now I am wanting it on windows 10. when I bought it from Xbox to pc the world was a little corrupted (Some tree leaves and wood were swapped) could be something to do with that.thanks for your help anyways.
I removed something from the world file I had forgotten I added a long time ago (Loot Tables) If you could try this again that would be helpful. (also idk if my enchants could be messing with it I removed my armor of me anyway) (if you half so I guess you could remove the player data files. also, does anyone know how to transfer a mc texture pack over to windows 10. I made my own and didn't know if there was a way of moving it over. world file - www.mediafire.com/file/o7b4lj4wityb58n/FoxyFoxBurrows%20Fix.zip
  • stevieleevy
  • Level 3
  • Apprentice Architect
  • March 22, 2018, 7:18 am
I will give the new one a try soon.
  • stevieleevy
  • Level 3
  • Apprentice Architect
  • March 22, 2018, 7:42 pm
There is still something that causes it to crash...but the conversion is working otherwise....

https://drive.google.com/open?id=1FiigCwe3P7qd5nPke6kmHxBrxEPmFqeg

About there....Every time it tries to load that area it crashes...been able to fly around a lot of other areas...
thanks for trying to help. guess ill keep looking for a new way to convert. maybe if I get a friends Xbox with realms I could try and download it there. maybe if you could (or want to) make a video (like on youtube or some other video service) showing how you converted so others like me can use trial and error to see whats causing the problem. thx anyways :)
  • stevieleevy
  • Level 3
  • Apprentice Architect
  • March 26, 2018, 8:10 am
There is not much to it...and it is not video worthy really...

I download the files for whoever I am helping. I copy them to the Java Minecraft saves folder and open the world in Java Minecraft to make sure it works there first, and to get an eye for what I need to look for after the conversion to confirm it worked. Then I close out of the Minecraft world (Sometimes I close Minecraft Java entirely, sometimes not)

I double click on the converter Jar file and it opens. It by default (apparently) recognizes the most recent map added/opened, and then I hit convert world. Depending on how big it is I may watch and wait, larger ones I will go do something else while I wait. It notifies me that the world is converted and I hit Okay, Then I wait for it to be "compacted" and hit okay. Then I open Windows 10 version of Minecraft and load the level. It may start me in aplace that is not the same as the Java map start location, so at that point I go look for the content to confirm accurate conversion.

Now...in your case...Allt hat goes like it is supposed to...except...something that does get "converted" is done in a way that the windows 10 Minecraft does not know how to properly load it when you approach...so the overall world is converted, but you cannot come within proximity of whatever that item is on your own without it crashing.

Mine was a custom villager with a custom trade. I had 2 of them in 2 villages and as soon as I removed them, everything else worked perfectly (See the Crystalis maps on my page)
OK, thanks for letting me know. I guess most people like me can’t do it for some reason. Do you think this would work if I were to remove all entities and mobs. Can items in chess or blocks cause this? Do you think? And what do you mean by custom? Like spawned in through commands with things that aren’t in the normal game? Thanks again for trying to help convert my world.

Edit: I removed all mobs and entities (item frames and armor stands) if I half to id delete all the chest and stuff if this doesn't work. if you could try this one that would be nice :) www.mediafire.com/file/l8iwfs29t7p9wc0/FoxyFoxBurrows%20Fix.zip
  • stevieleevy
  • Level 3
  • Apprentice Architect
  • March 29, 2018, 11:47 am
Unfortunately, I do not know the answer to that at this time. My own map I could trace to very specific entities, custom spawned villagers with specific custom trade options. All the other villagers could be left alone and the conversion works(ed).

Now..when you say things not in the normal game...that would seem to be a likely source.

Those are the "kinds" of things that I assume can cause the issue.

The structural map appears to be fine outside the area of whatever is loading ion that spot. I will take a look at this adjusted one this weekend and see what we can see.
  • stevieleevy
  • Level 3
  • Apprentice Architect
  • March 30, 2018, 6:59 am
Looks like the area that was causing the crash is fine now...something in what you removed was the issue...Disclaimer...i have not explored your entire world...just enough to trust that the conversion is complete.

drive.google.com/open?id=1Iz5o8ofeQuE9jQMJiFZm42ODYkTyKHeF
Thanks. I’ll try this when I get home.


I reset the end and nether just in case. And I got rid of all entities like armor stands mobs villagers item frames etc. and I reset all player data and the world icon.
Hi, when im trying to convert the fil it says that needs to be done manually, if anyone know how to do it could help? dont want to lose my game, whenever anyone can i`ll be happy, dont have any rush, just need help, thx

www.mediafire.com/file/th5g38qtebf769z/Los%20montonegros%20%28Mundo%201%29.rar
  • stevieleevy
  • Level 3
  • Apprentice Architect
  • March 18, 2018, 9:08 pm
every time I try to download it it claims the archive is corrupt. can you upload a new version or to a different location?
Does a window appear displaying "ERROR: conversion failed. You will have to convert manually."? If so, we are in the same boat.

Btw, stevieleevy, I was able to open the .jar. it was a Java reader issue. Thanks for the response.
  • stevieleevy
  • Level 3
  • Apprentice Architect
  • March 6, 2018, 8:03 am
Always the firs thing since it is Java. XD

Errors beyond that I am less able to troubleshoot. I have just had almost perfect conversion rates. ^_^;;

There is still one I am working on slowly from a while ago...but it is lower priority unfortunately...
If I send you one of my worlds, would you be able to attempt a conversion? Perhaps there will be something you can work with. I only wish I knew what it meant by manual conversion.
  • stevieleevy
  • Level 3
  • Apprentice Architect
  • March 18, 2018, 9:08 pm
I can give it a go. No promises though until I see what you need done. Most of the time I can get them converted. Most.
How would you like me to send the files?
  • stevieleevy
  • Level 3
  • Apprentice Architect
  • March 22, 2018, 7:20 am
There are several options, I just upload mine to my google drive and get a shareable link. Others have used mediafire successfully or dropbox shares, I am not sure why yours is "corrupt"...could delete it and try a new instance of it.
Sorry about the delay, stevie. The following link should bring you to one of my worlds: http://www.mediafire.com/folder/tcazx18e0ykys/Hearth_Wood

T
hanks!
  • stevieleevy
  • Level 3
  • Apprentice Architect
  • March 1, 2018, 6:36 am
I can give it a try next week when back from my trip.
  • stevieleevy
  • Level 3
  • Apprentice Architect
  • March 6, 2018, 8:03 am
Will give this a try this week.
  • stevieleevy
  • Level 3
  • Apprentice Architect
  • March 14, 2018, 7:20 am
Also still on the docket...did not get to anything this week like planned...
I downloaded this, but it's just a properties.jar file. I'm unable to open it on windows10. Please help.
Have you installed Java on your computer? If not, go to the Java website and do that.
  • stevieleevy
  • Level 3
  • Apprentice Architect
  • March 1, 2018, 6:38 am
Hmm....not sure what you are doing...I just downloaded it myself on this computer and opened it just fine...more feedback needed...
  • aardnn
  • Level 1
  • New Explorer
  • February 24, 2018, 9:28 pm
Hello! I am getting the same error it looks like most are getting. Would you kindly help me out with my world conversion? https://www.dropbox.com/sh/cogrqqv3kg6gnuv/AADxqBpYRNCP6Y14KjDWvBiSa?dl=0

Or tell me how I can fix it please?
Thank you, kind one.
  • stevieleevy
  • Level 3
  • Apprentice Architect
  • March 1, 2018, 6:36 am
Best guess on how to fix it is ensure you have the proper version (64/32 bit) Java installed on your machine and the up to date version of whichever relevant Java you are supposed to have.

For myself, the first attempt I did way back failed, then I updated Java and it worked fine. Have not been able to troubleshoot further.

In the meantime...I can give it a try next week when I am back from my trip.
  • aardnn
  • Level 1
  • New Explorer
  • March 4, 2018, 9:49 pm
Yeah, Java is up to date, and I even uninstalled/reinstalled and it still is not doing the trick.

It would be greatly appreciated, sir! I hope you are enjoying or did enjoy your trip!!
  • stevieleevy
  • Level 3
  • Apprentice Architect
  • March 6, 2018, 7:59 am
Unfortunately it was for a memorial service for a good friend of mine that passed away. I will take a look at this some time this week.
  • stevieleevy
  • Level 3
  • Apprentice Architect
  • March 14, 2018, 7:20 am
Still on the docket...Did not get t it as planned...
  • stevieleevy
  • Level 3
  • Apprentice Architect
  • March 18, 2018, 9:30 pm
Edit: Link removed
  • machspeed
  • Level 6
  • Apprentice Architect
  • February 21, 2018, 1:09 pm
so im converting a world that is rather large. its been going for about half an hour and the estimated time remaining is just going up. Ive been getting thousands of errors that read:
java.lang.OutOfMemoryError: Java heap space

is the conversion still working? if not how should i fix this?
  • stevieleevy
  • Level 3
  • Apprentice Architect
  • February 22, 2018, 7:20 am
I doubt it is still working. I have attempted a conversion of a very large world (See ref Malticblade in prior posts) and while I cannot confirm the first conversion atempt as a success...the program did not throw Out of Memory Errors...

First, what are the specs of the system you are running?

Second...you may need to manually increase the allowable memory Java can use (though this could/would be hamstrung if you are using an older system with minimal memory available to it...)
  • machspeed
  • Level 6
  • Apprentice Architect
  • February 23, 2018, 8:37 pm
ive got an i5-6500 intel cpu 3.2 GHz, 16 GB of ram...is it possible to somehow limit the size of the world by making a different one in MCEdit or something?
  • stevieleevy
  • Level 3
  • Apprentice Architect
  • February 24, 2018, 12:08 pm
Okay...your system is fine...next would be to see if Java is limited in its allowable memory usage.

There are several tools for terraforming and mass editing that could probably assist you in that, though the conversion takes into account all the files that make up a world (meaning everywhere you have explored whether you built anything of not) so as to make it the same. If you eliminate the files that hold that area (tricky procedure) then that will shrink it down...or cut/copy the stuff you want into a new world that has not been explored, that could make it smaller...
  • machspeed
  • Level 6
  • Apprentice Architect
  • February 24, 2018, 1:49 pm
I guess I'll try generating a new world and pasting the schematic in. I made an extremely large map in world painter, and even though I didn't explore the vast majority of it, that is probably what is holding it up. Thanks for the help :)
  • acidicaquas
  • Level 31
  • Artisan Architect
  • February 18, 2018, 2:50 pm
doesn't work says something about manually doing it
.
www.mediafire.com/file/mzt36c5qa9c8tbj/Aqua+City.rar
  • stevieleevy
  • Level 3
  • Apprentice Architect
  • February 20, 2018, 6:32 am
I can give this a try, probably this week.
  • stevieleevy
  • Level 3
  • Apprentice Architect
  • February 20, 2018, 10:07 pm
Edit: Link Removed
When I try to convert my world is says that there is an error and I have to do it manually. (Nukkit server + anvil2leveldb command)

https://www.planetminecraft.com/project/tribe-jungle-village---tree-houses/
  • stevieleevy
  • Level 3
  • Apprentice Architect
  • February 24, 2018, 12:10 pm
I can give this a try...

Edit:Link Removed
  • jaynelly
  • Level 1
  • New Miner
  • February 10, 2018, 5:39 pm
Hi! So, a lot of the MC community doesn't use the java edition, but wants PC maps, so what I wanted to do is have PC maps and covert them, then put them up for download (for free). Is it okay if I use this for that?
Yes
ok i have a question. I am seeing from other posts that when people convert worlds they are spawned at the original spawn point. I am converting from MC Win 10 (Realms) to Anvil (PC) I spawn probably at the original spawn point but have no clue as to where I am or even what direction to go in to find my progress. Is there a way to find your stuff without spending hours looking for it. Are the coordinates the same because I tp to my coordinates on Realms and nothing but terrain so I have no idea where I am supposed to find my progress in MC 10/Xbox Realms the coord are 3220 125 -979 Anyone can help me with this/ Thanks.
  • stevieleevy
  • Level 3
  • Apprentice Architect
  • February 6, 2018, 12:30 pm
My understanding is the Coordinates are the same...I have never used the tool from Windows 10 Version to anything else...My conversions have all been Java to Windows 10. I will confirm coordinates in my converted worlds tonight.

Now...if the conversion tool is not meant to convert the world type you are starting at, I suppose what would happen would be you would get a completely new generated world and so there would be nothing you made anywhere no matter the coordinates...Like I said though...i do not know...the extent of my usage of the tool has only been Java to windows 10.
Hey I am unable to convert my map as well. It says it must be done manually. Could someone help? Here is the link:

drive.google.com/drive/folders/1TBiYrfaMSvzCAOXDEbVniS3WW18Tsyrn?usp=sharing
  • stevieleevy
  • Level 3
  • Apprentice Architect
  • February 6, 2018, 12:27 pm
I can take a look this evening.
  • stevieleevy
  • Level 3
  • Apprentice Architect
  • February 12, 2018, 8:22 am
Pretty sure I sent this in PM,

Edit: If you have not downloaded this, do so now. I will be removing the file and link by the end of the week.

Edit 2: Link deleted.
Does this work for converting LevelDB to Anvil? and if so how do you fix this. i tried to convert it but it just gave me the level.dat file and not the .mca files i needed. i don't know how to fix this. Plz help my world is on on mcpe version 1.2.9 plz help
log
Downloading levedb.jar and mappings (~4MB), please wait...
Starting converter...
org.iq80.leveldb.shaded.guava.util.concurrent.UncheckedExecutionException: java.lang.IllegalArgumentException: Unknown persistentId 4
at org.iq80.leveldb.shaded.guava.cache.LocalCache$Segment.get(LocalCache.java:2203)
at org.iq80.leveldb.shaded.guava.cache.LocalCache.get(LocalCache.java:3937)
at org.iq80.leveldb.shaded.guava.cache.LocalCache.getOrLoad(LocalCache.java:3941)
at org.iq80.leveldb.shaded.guava.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4824)
at org.iq80.leveldb.impl.TableCache.getTable(TableCache.java:91)
at org.iq80.leveldb.impl.TableCache.newIterator(TableCache.java:79)
at org.iq80.leveldb.impl.TableCache.newIterator(TableCache.java:74)
at org.iq80.leveldb.util.LevelIterator.openNextFile(LevelIterator.java:137)
at org.iq80.leveldb.util.LevelIterator.getNextElement(LevelIterator.java:113)
at org.iq80.leveldb.util.AbstractSeekingIterator.hasNext(AbstractSeekingIterator.java:48)
at org.iq80.leveldb.util.DbIterator.resetPriorityQueue(DbIterator.java:160)
at org.iq80.leveldb.util.DbIterator.<init>(DbIterator.java:75)
at org.iq80.leveldb.impl.DbImpl.internalIterator(DbImpl.java:781)
at org.iq80.leveldb.impl.DbImpl.iterator(DbImpl.java:747)
at org.iq80.leveldb.impl.DbImpl.iterator(DbImpl.java:738)
at org.iq80.leveldb.impl.DbImpl.iterator(DbImpl.java:84)
at java.lang.Iterable.forEach(Unknown Source)
at com.boydti.fawe.nukkit.core.converter.LevelDBToMCAFile.accept(LevelDBToMCAFile.java:106)
at com.boydti.fawe.nukkit.core.converter.LevelDBToMCAFile.accept(LevelDBToMCAFile.java:43)
at com.boydti.fawe.nukkit.core.converter.ConverterFrame$7.run(ConverterFrame.java:459)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.IllegalArgumentException: Unknown persistentId 4
at org.iq80.leveldb.CompressionType.getCompressionTypeByPersistentId(CompressionType.java:34)
at org.iq80.leveldb.table.BlockTrailer.readBlockTrailer(BlockTrailer.java:96)
at org.iq80.leveldb.table.MMapTable.readBlock(MMapTable.java:95)
at org.iq80.leveldb.table.Table.<init>(Table.java:61)
at org.iq80.leveldb.table.MMapTable.<init>(MMapTable.java:48)
at org.iq80.leveldb.impl.TableCache$TableAndFile.<init>(TableCache.java:127)
at org.iq80.leveldb.impl.TableCache$TableAndFile.<init>(TableCache.java:114)
at org.iq80.leveldb.impl.TableCache$1.load(TableCache.java:67)
at org.iq80.leveldb.impl.TableCache$1.load(TableCache.java:62)
at org.iq80.leveldb.shaded.guava.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3527)
at org.iq80.leveldb.shaded.guava.cache.LocalCache$Segment.loadSync(LocalCache.java:2319)
at org.iq80.leveldb.shaded.guava.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2282)
at org.iq80.leveldb.shaded.guava.cache.LocalCache$Segment.get(LocalCache.java:2197)
... 20 more
(FAWE) Done!
(FAWE) Conversion complete!
  • Artanail
  • Level 1
  • New Miner
  • February 2, 2018, 11:21 am
I saw that someone had posted on reddit about a month ago that they were having a similar problem to me. In about long, two or three-chunk-wide strips, my world is just as it should be, but other then that long strip of terrain that is familiar to what I converted, the rest of the terrain is newly generated and most definitely not MY terrain. It is as if the converter only converted a section of the source world, and I was not even lucky enough for the chunks it chose to include my ONE build in the world.




This could be that the generated chunks of this world are... very plentiful. it IS large world, with about 3000 by 3000 chunks preloaded upon conversion. The first time i tried this, before preloading chunks, the world size was probably around 300 by 300 chunks, and it worked perfectly.




for now, I am going to hop into MCEDIT and delete some chunks.... see if that helps, but the whole point of moving the large map over to Bedrock was so that me and my buddies could enjoy custom terrain, at least until we got wayyyy far out.
  • Slimber826
  • Level 1
  • New Miner
  • January 31, 2018, 12:13 am
I was trying to convert an old economy world of mine and it literally put a giant biome in the middle of the map. Is there a way to fix this?
You may need to load the chunks before converting.
  • stevieleevy
  • Level 3
  • Apprentice Architect
  • February 1, 2018, 9:57 am
That sounds odd...Care to share the map for some testing? Never seen anything like that in the ones I have converted.
  • jt5559
  • Level 34
  • Artisan Architect
  • March 25, 2018, 7:01 pm
I am having the same issue
So I have an interesting situation, and I am not sure how to proceed.




I am attempting to convert a map that I used to play on back in the day. While the conversion process is complete the map is missing large portions of the map that I assume are regenerated using the seed. and the city that is located at x -1700 z -730 is missing the majority of its construction. I was wondering why this is. Thank you for your time.




https://atherys.com/files/maps/Atherysv1.zip




Is the location of the map if you want to give it a shot
  • stevieleevy
  • Level 3
  • Apprentice Architect
  • February 1, 2018, 9:58 am
I can give this a try this evening.

Edit: WOW...that is a big map file...I think that is going to contribute tot he problem...but I am not sure...i will get back to you....

Edit 2: First conversion failed. Will attempt again and gt back to you.

Edit 3: Have not had time to try again yet, still planning to do so...

Edit 4: Still on the docket...thank you for your patience.
  • stevieleevy
  • Level 3
  • Apprentice Architect
  • February 20, 2018, 6:30 am
Per edit 4, I still intend d to give this another try...Might have some time this week.
  • stevieleevy
  • Level 3
  • Apprentice Architect
  • February 24, 2018, 1:01 pm
Interesting development on this one...Tried again...same issue...tried loading the world in one of my own server setups...and it was locked in constant feedback of "Cannot find x element at y location" at server start...there is going to have to be a lot of review/testing/etc to get to the bottom of this...It is fgoing on hold/the backburners for the time being...

1 - 50 of 181

Show Comments

Search

Browse

Site

© 2010 - 2018
planetminecraft.com

Welcome