1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

Trying to convert Minecraft Win10 Map (Bedrock) to PocketMine

Discussion in 'Help' started by cabji, Oct 15, 2017.

  1. cabji

    cabji Creeper

    Messages:
    2
    GitHub:
    cabji
    Hi there,

    I am trying to convert an existing map from the Win 10 version (not PC or "java") which I think is LevelDB format, so I can use it on a new install of PocketMine server (Anvil format?)

    I got the MineConvert/LevelDB to Anvil util from https://github.com/ImagicalCorp/MineConvert/tree/master/LevelDB to Anvil

    I copied the world folder from C:\Users\-Username-\AppData\Local\Packages\Microsoft.MinecraftUWP_8wekyb3d8bbwe\LocalState\games\com.mojang\minecraftWorlds\-worldFolder-

    and renamed it to "world".

    When I run the start.bat I get the following output:

    C:\pmmp\MineConvert-master\LevelDB to Anvil>java -jar Converter.jar world 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.<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 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.FileChannelTable.readBlock(FileChannelTable.java:58)
    at org.iq80.leveldb.table.Table.<init>(Table.java:61)
    at org.iq80.leveldb.table.FileChannelTable.<init>(FileChannelTable.java:39)
    at org.iq80.leveldb.impl.TableCache$TableAndFile.<init>(TableCache.java:130)
    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)
    ... 17 more

    C:\pmmp\MineConvert-master\LevelDB to Anvil>PAUSE
    Press any key to continue . . .


    What am I doing wrong?
     
  2. robske_110 (Tim)

    robske_110 (Tim) Wither Skeleton Poggit Reviewer

    Messages:
    1,342
    GitHub:
    robske110
    pmmp should, with a proper php lib be able to read levels worlds.
    the converter seems to have a problem.
     
  3. dktapps

    dktapps Administrator Staff Member PMMP Team

    Messages:
    774
    GitHub:
    dktapps
    This is not currently supported because the MCPE world format changed in 1.2.

    The compression type changed in 1.2, so the world format is different - hence why the converter barfs on it.
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.