ljyloo / LevelDb2Avnil

Convert Minecraft: Pocket Edition(LevelDb) map to Minecraft(Avnil) map
GNU General Public License v2.0
101 stars 31 forks source link

Unable to conver LevelDB Minecraft PE world to Anvil #60

Open jamese641 opened 4 years ago

jamese641 commented 4 years ago

Anyone know how to fix this:

java -jar Converter.jar ~/minecraftWorlds/CPFEX5KEAwA\=/ region/ Exception in thread "main" 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.(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 com.ljyloo.PE2PC.PE2PC.convert(PE2PC.java:85) at com.ljyloo.PE2PC.PE2PC.main(PE2PC.java:62) 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.(Table.java:61) at org.iq80.leveldb.table.MMapTable.(MMapTable.java:48) at org.iq80.leveldb.impl.TableCache$TableAndFile.(TableCache.java:127) at org.iq80.leveldb.impl.TableCache$TableAndFile.(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) ... 17 more

SuperMarcus commented 4 years ago

If it's not clear enough, this project is no longer being maintained by the original authors. You should be looking for other methods of conversion.

jamese641 commented 4 years ago

Thanks Marcus for letting me this, do you have any idea where I should be looking?

Thanks.

On 26 Aug 2020, at 18:47, Marcus Zhou notifications@github.com wrote:

If it's not clear enough, this project is no longer being maintained by the original authors. You should be looking for other methods of conversion.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ljyloo/LevelDb2Avnil/issues/60#issuecomment-681028221, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACVZQNUPLBY7RGGYTHARXDLSCVDB7ANCNFSM4QKVPKVQ.

danicastone commented 1 year ago

Chunker.app converts them. It worked for me! (converting bedrock to Java, latest version)

Thanks Marcus for letting me this, do you have any idea where I should be looking? Thanks. On 26 Aug 2020, at 18:47, Marcus Zhou @.***> wrote: If it's not clear enough, this project is no longer being maintained by the original authors. You should be looking for other methods of conversion. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <#60 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACVZQNUPLBY7RGGYTHARXDLSCVDB7ANCNFSM4QKVPKVQ.