Git Product home page Git Product logo

leveldb2avnil's Introduction

  • Hi, I’m Harper Lee
  • I’m interested in linux kernel, network, reverse engineering and object detection with machine learning
  • I’m currently learning rust
  • I’m looking to collaborate on c/rust projects
  • email: [email protected]

leveldb2avnil's People

Contributors

0x9fff00 avatar keithkfng avatar ljyloo avatar mario0051 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

leveldb2avnil's Issues

Willing to pay $200 to fix v1.2.13+ conversions

I'm willing to pay $200 if you create a converter that converts LevelDB (Windows 10 edition) maps to Anvil (Java edition) that are newer than 1.2.13 update (that use a new format).

If interested, please reply with your Discord name so we can discuss this there.

No Such Element Exception...

Hi there, I get quite a few unknown keys like the one below (not sure if this is a problem) but the iterator eventually runs into the fatal exception below.
cheers,
Phil

Unknown Key:
0x126 108 111 099 097 108 095 112 108 097 121 101 114

Unknown Key: gacy chunk X: -1 Z: -108
0x-01 -01 -01 -01 -01 -01 -01 -01 118

Exception in thread "main" java.util.NoSuchElementException
at org.iq80.leveldb.util.AbstractSeekingIterator.next(AbstractSeekingIterator.java:59)
at org.iq80.leveldb.impl.SeekingIteratorAdapter.next(SeekingIteratorAdapter.java:60)
at org.iq80.leveldb.impl.SeekingIteratorAdapter.next(SeekingIteratorAdapter.java:28)
at com.ljyloo.PE2PC.PE2PC.convert(PE2PC.java:131)
at com.ljyloo.PE2PC.PE2PC.main(PE2PC.java:37)

No start .bat or whatever in 1.0

I wanted to convert an older world (older than v 1.0 pe) so I downloaded v1.0, but there was no start.bat in it, or really anything else other than a readme and the src. Help?

Won't Start

I click the start file and i see a black box appear for a millisecond then it disappears and nothing happens. In a tutorial I watched it says files should appear in world anvil file however nothing changes. I have put in a zip file containing these files and my world so please contact me.
LevelDb2Anvil-master.zip

Conversion "done" but no export folder/files generated on windows 7 !

When using this tool on windows 7 to import a leveldb world from MCPE 0.10.5 to convert it into anvil . When starting the batch file we can see "done !" message on the Command Prompt but there is no folder generated or files from this conversion.

Update : When using last commit I get this error :

Exception in thread "main" java.lang.NullPointerException
at com.ljyloo.PE2PC.PE2PC.convert(PE2PC.java:233)
at com.ljyloo.PE2PC.PE2PC.main(PE2PC.java:62)

Exceptions generated when converting world on three different OS's

Hello,

I've been trying to convert a world, however I get exceptions each time. In Windows 7x64 with Javax64:

Exception in thread "main" java.lang.OutOfMemoryError: GC overhead limit exceeded
at org.iq80.leveldb.util.Slice.(Slice.java:53)
at org.iq80.leveldb.util.Slices.allocate(Slices.java:89)
at org.iq80.leveldb.util.Slices.copiedBuffer(Slices.java:110)
at org.iq80.leveldb.table.MMapTable.readBlock(MMapTable.java:122)
at org.iq80.leveldb.table.Table.openBlock(Table.java:79)
at org.iq80.leveldb.util.TableIterator.getNextBlock(TableIterator.java:102)
at org.iq80.leveldb.util.TableIterator.getNextElement(TableIterator.java:79)
at org.iq80.leveldb.util.AbstractSeekingIterator.hasNext(AbstractSeekingIterator.java:48)
at org.iq80.leveldb.util.InternalTableIterator.getNextElement(InternalTableIterator.java:51)
at org.iq80.leveldb.util.AbstractSeekingIterator.hasNext(AbstractSeekingIterator.java:48)
at org.iq80.leveldb.util.LevelIterator.getNextElement(LevelIterator.java:109)
at org.iq80.leveldb.util.AbstractSeekingIterator.hasNext(AbstractSeekingIterator.java:48)
at org.iq80.leveldb.util.DbIterator$ComparableIterator.next(DbIterator.java:253)
at org.iq80.leveldb.util.DbIterator.getNextElement(DbIterator.java:122)
at org.iq80.leveldb.util.AbstractSeekingIterator.hasNext(AbstractSeekingIterator.java:48)
at org.iq80.leveldb.impl.SnapshotSeekingIterator.findNextUserEntry(SnapshotSeekingIterator.java:80)
at org.iq80.leveldb.impl.SnapshotSeekingIterator.getNextElement(SnapshotSeekingIterator.java:72)
at org.iq80.leveldb.util.AbstractSeekingIterator.hasNext(AbstractSeekingIterator.java:48)
at org.iq80.leveldb.impl.SeekingIteratorAdapter.hasNext(SeekingIteratorAdapter.java:54)
at com.ljyloo.PE2PC.PE2PC.convert(PE2PC.java:85)
at com.ljyloo.PE2PC.PE2PC.main(PE2PC.java:34)


In OS X and Linux:
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 7
at com.ljyloo.PE2PC.PE2PC.convert(PE2PC.java:88)
at com.ljyloo.PE2PC.PE2PC.main(PE2PC.java:34)

I downloaded the zip package today, Aug 22, 2017.

Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException

I have this error : Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException
at java.lang.System.arraycopy(Native Method)
at com.ljyloo.PE2PC.ConvertSource.convertSubChunk(ConvertSource.java:127)
at com.ljyloo.PE2PC.PE2PC.convert(PE2PC.java:103)
at com.ljyloo.PE2PC.PE2PC.main(PE2PC.java:36)

Please help ! :(

IllegalArgumentException

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.impl.Version.getLevel0Files(Version.java:146)
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:65)
at com.ljyloo.PE2PC.PE2PC.main(PE2PC.java:36)
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)
... 13 more

IllegalStateException

Exception in thread "main" java.lang.IllegalStateException: CURRENT file does not end with newline
	at org.iq80.leveldb.impl.VersionSet.recover(VersionSet.java:340)
	at org.iq80.leveldb.impl.DbImpl.<init>(DbImpl.java:187)
	at org.iq80.leveldb.impl.Iq80DBFactory.open(Iq80DBFactory.java:71)
	at com.ljyloo.PE2PC.PE2PC.convert(PE2PC.java:63)
	at com.ljyloo.PE2PC.PE2PC.main(PE2PC.java:36)

error

E:\1\2\LevelDb2Avnil-master>java -jar Converter.jar world worldanvil
Converting legacy chunk X: 0 Z: 9Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException
at java.lang.System.arraycopy(Native Method)
at com.ljyloo.PE2PC.ConvertSource.convertSubChunk(ConvertSource.java:139)
at com.ljyloo.PE2PC.ConvertSource.convertLegacyTerrain(ConvertSource.java:211)
at com.ljyloo.PE2PC.PE2PC.convert(PE2PC.java:111)
at com.ljyloo.PE2PC.PE2PC.main(PE2PC.java:37)

Uploading world

Where do I upload my world file?
there's no instructions other then
"Import your LevelDB world in..."
In where?

start.bat or start.sh not working

When I try to Start the program a window opens for a split second then closes and the log.txt says " 'java' is not recognized as an internal or external command, operable program or batch file." Do I need to get something to run the program or does it just not work currently?

Main thread UncheckedExecutionException

I was trying to convert but then this happens.

Exception in thread "main" java.io.FileNotFoundException: world\db\MANIFEST-000016 (The system cannot find the file specified)
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(FileInputStream.java:195)
at java.io.FileInputStream.(FileInputStream.java:138)
at org.iq80.leveldb.impl.VersionSet.recover(VersionSet.java:345)
at org.iq80.leveldb.impl.DbImpl.(DbImpl.java:187)
at org.iq80.leveldb.impl.Iq80DBFactory.open(Iq80DBFactory.java:71)
at com.ljyloo.PE2PC.PE2PC.convert(PE2PC.java:63)
at com.ljyloo.PE2PC.PE2PC.main(PE2PC.java:36)

I looked and saw that my manifest file ended in mp4a, which was weird, so I got rid of the file extension and got this:

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.impl.Version.getLevel0Files(Version.java:146)
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:65)
at com.ljyloo.PE2PC.PE2PC.main(PE2PC.java:36)
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)
... 13 more

A "." in the path causes failure

I left the folder named as downloaded: "/LevelDb2Avnil-2.1". The converter process stops on an error stating the file Converter.jar could not be opened. When I renamed the folder with no "." (period), the converter worked. I am working in Ubuntu 16.04.

Failed to open PE1.2.9 File

Searching for legacy chunks, may take a while...
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.iq80.leveldb.util.ByteBufferSupport (file:/Users/xi/Downloads/Converter.jar) to method sun.nio.ch.FileChannelImpl.unmap(java.nio.MappedByteBuffer)
WARNING: Please consider reporting this to the maintainers of org.iq80.leveldb.util.ByteBufferSupport
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
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.impl.Version.getLevel0Files(Version.java:146)
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.convertLegacy(PE2PC.java:128)
at com.ljyloo.PE2PC.PE2PC.main(PE2PC.java:71)
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)
... 13 more
xideMacBook-Pro:~ xi$ java -jar /Users/xi/Downloads/Converter.jar /Users/xi/Documents/games/com.mojang/minecraftWorlds/yC8BAEQmAgA= /Users/xi/Downloads/府关PCVer
Searching for legacy chunks, may take a while...
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.iq80.leveldb.util.ByteBufferSupport (file:/Users/xi/Downloads/Converter.jar) to method sun.nio.ch.FileChannelImpl.unmap(java.nio.MappedByteBuffer)
WARNING: Please consider reporting this to the maintainers of org.iq80.leveldb.util.ByteBufferSupport
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
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)

....IllegalArgumentException: Unknown persistentId 4

Trying to convert Minecraft PE 1.4.4 world -

Exception in thread "main" org.iq80.leveldb.shaded.guava.util.concurrent.UncheckedExecutionException: java.lang.IllegalArgumentException: Unknown persistentId 4

Unknow Key and ArrayIndexOutOfBoundsException

When i try to convert a minecraft PE map to PC it gives me the following error:
Unknown Key:
0x023 000 000 000 -21 -01 -01 -01 001 000 000 000 047 003

Unknown Key:
0x023 000 000 000 -21 -01 -01 -01 001 000 000 000 047 004

Unknown Key:
0x023 000 000 000 -21 -01 -01 -01 001 000 000 000 047 005

Unknown Key:
0x023 000 000 000 -21 -01 -01 -01 001 000 000 000 047 006

Unknown Key:
0x023 000 000 000 -21 -01 -01 -01 001 000 000 000 047 007

Unknown Key:
0x023 000 000 000 -21 -01 -01 -01 001 000 000 000 054

Unknown Key:
0x023 000 000 000 -21 -01 -01 -01 001 000 000 000 118

Unknown Key: gacy chunk X: 65 Z: -11
0x065 117 116 111 110 111 109 111 117 115 069 110 116 105 116 105 101 115

Unknown Key: gacy chunk X: 66 Z: -12
0x066 105 111 109 101 068 097 116 097

Converting legacy chunk X: 78 Z: -1Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 7
at com.ljyloo.PE2PC.PE2PC.convert(PE2PC.java:88)
at com.ljyloo.PE2PC.PE2PC.main(PE2PC.java:37)

Script Error

I always get this error, when I want to convert my MCPC wolrd:

D:\mc\LevelDb2Avnil-master (1)\LevelDb2Avnil-master>java -jar Converter.jar world worldanvil
Exception in thread "main" java.nio.BufferOverflowException
at java.nio.DirectByteBuffer.put(Unknown Source)
at org.iq80.leveldb.util.Zlib$ByteBufferBackedOutputStream.write(Zlib.java:91)
at org.iq80.leveldb.util.Zlib$ZLibSPI.copy(Zlib.java:108)
at org.iq80.leveldb.util.Zlib$ZLibSPI.uncompress(Zlib.java:118)
at org.iq80.leveldb.util.Zlib.uncompress(Zlib.java:181)
at org.iq80.leveldb.table.MMapTable.readBlock(MMapTable.java:121)
at org.iq80.leveldb.table.Table.openBlock(Table.java:79)
at org.iq80.leveldb.util.TableIterator.getNextBlock(TableIterator.java:102)
at org.iq80.leveldb.util.TableIterator.getNextElement(TableIterator.java:79)
at org.iq80.leveldb.util.AbstractSeekingIterator.hasNext(AbstractSeekingIterator.java:48)
at org.iq80.leveldb.util.InternalTableIterator.getNextElement(InternalTableIterator.java:51)
at org.iq80.leveldb.util.AbstractSeekingIterator.hasNext(AbstractSeekingIterator.java:48)
at org.iq80.leveldb.util.DbIterator.resetPriorityQueue(DbIterator.java:155)
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:66)
at com.ljyloo.PE2PC.PE2PC.main(PE2PC.java:37)

Any idea?

Anvil to LevelDB

is it no longer possible to convert from anvil to leveldb in v2?

Exception in thread "main" java.lang.IllegalStateException

When I try to convert a world, this happens:

Exception in thread "main" java.lang.IllegalStateException: CURRENT file does not end with newline at org.iq80.leveldb.impl.VersionSet.recover(VersionSet.java:340) at org.iq80.leveldb.impl.DbImpl.<init>(DbImpl.java:187) at org.iq80.leveldb.impl.Iq80DBFactory.open(Iq80DBFactory.java:71) at com.ljyloo.PE2PC.PE2PC.convert(PE2PC.java:63) at com.ljyloo.PE2PC.PE2PC.main(PE2PC.java:36)

Error when running start.bat

Error: Unable to initialize main class com.ljyloo.MCMapFormatConverter.MapFormatConverter
Caused by: java.lang.NoClassDefFoundError: org/omg/CORBA/SystemException

Does nothing.

image
Correct folders are given. Trying to convert PC 1.8 to MCPE

Won't Start [again?]

I know this has been said before, but I click the start.bat file and it shows the little cmd windows for a few secs, then closes and nothing happens. I have put my world file into it, renamed it to 'world,' and stuff but is there something else I need to do, like install java or something (I may already have java, IDK) but any help would be appreciated. I have gone to the point of manually rebuilding a map block for block because this didn't work. Please help!

What happened?

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.impl.Version.getLevel0Files(Version.java:146)
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:65)
at com.ljyloo.PE2PC.PE2PC.main(PE2PC.java:36)
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)
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.Level0Iterator.(Level0Iterator.java:48)
at org.iq80.leveldb.impl.VersionSet.makeInputIterator(VersionSet.java:209)
at org.iq80.leveldb.impl.DbImpl.doCompactionWork(DbImpl.java:1043)
at org.iq80.leveldb.impl.DbImpl.backgroundCompaction(DbImpl.java:495)
at org.iq80.leveldb.impl.DbImpl.backgroundCall(DbImpl.java:440)
at org.iq80.leveldb.impl.DbImpl.access$100(DbImpl.java:85)
at org.iq80.leveldb.impl.DbImpl$2.call(DbImpl.java:408)
at org.iq80.leveldb.impl.DbImpl$2.call(DbImpl.java:402)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

Error

When trying to run the converter, I get this error:

java -jar Converter.jar BuildingGame world
Exception in thread "main" java.lang.UnsupportedClassVersionError: com/ljyloo/PE2PC/PE2PC : Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:637)
at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)

"Failed to check folder "world" 's validation. Problem: world is not a valid Anvil folder"

Whenever I run the Anvil to LevelDB script, I get this error:

aj@aj-ugnome:~/dev/MConverterUltimate-master/Anvil to LevelDB$ ./start.sh
Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on
Failed to check folder "world" 's validation. Problem: world is not a valid Anvil folder


Map converter for Minecraft:Pocket Edition, from format "LevelDB" to "Anvil", or from format "Anvil" to "LevelDB". (c) ljyloo 2015

Usage:
    java -jar Converter.jar <import folder> <export folder> <type>
Where:
    <import folder> The full path to the folder containing Minecraft:Pocket Edition world
    <export folder> The full path to the folder which you want to export
    <type>  0 represents "LevelDB" to "Anvil", 1 represents "Anvil" to "LevelDB"
Example:
    java -jar Converter.jar /home/ljyloo/LevelDB /home/ljyloo/Anvil 0

My 'world' is an exported world from WorldPainter that opens fine in Minecraft 1.8. What am I doing wrong?

Bug with block's IDs

Some blocks were incorrectly converted:
Grass Path became the Ender Rod (and Ender rod in MCPE became Grass Path in PC after convertation):
screenshot-2017-06-15-18-47_2
idbug3
Quartz slab became Nether brick slab:
screenshot-2017-06-15-18-47
idbug2
Oak slab became Dropper:
screenshot-2017-06-15-18-46
idbug1

Import Folder Problem: Doesnt Exist

When ever I try to run the program it always says the the import folder doesn't exist. I know for sure that the folder DOES exist and that my path is correct! What am I doing wrong?
leveldb2anvil problem

Overthinking..?

I'm just starting out in programming, so I'm illiterate when it comes to this.. I understand the java -jar Converter.jar it's just the folders that are really kicking me. I put the LevelDBtoAnbil folder in the root (because I thought maybe I did something wrong?) but I'm not really sure what I'm doing. Please help, much is appreciated!

does not start

for some reason whenever i start the batch file the command shows up for a second and the files are not there

Suggestion: supporting mixed worlds

I think it will be very cool to do support for the "mixed" worlds, with chunks created by mcpe 0.9 - 0.16 and mcpe 1.0+, because I have world created a long time ago with Minecraft PE 0.9.5, and I still play on it. Now I use MCPE 1.0.0.16, and latest version of converter converts only chunks edited with PE 1.0.0.16, but I want to convert a whole world!

Exception in thread "main" java.nio.BufferOverflowException when converting levelDB to Anvil

Exception in thread "main" java.nio.BufferOverflowException
at java.nio.DirectByteBuffer.put(Unknown Source)
at org.iq80.leveldb.util.Zlib$ByteBufferBackedOutputStream.write(Zlib.java:91)
at org.iq80.leveldb.util.Zlib$ZLibSPI.copy(Zlib.java:108)
at org.iq80.leveldb.util.Zlib$ZLibSPI.uncompress(Zlib.java:118)
at org.iq80.leveldb.util.Zlib.uncompress(Zlib.java:181)
at org.iq80.leveldb.table.MMapTable.readBlock(MMapTable.java:121)
at org.iq80.leveldb.table.Table.openBlock(Table.java:79)
at org.iq80.leveldb.util.TableIterator.getNextBlock(TableIterator.java:102)
at org.iq80.leveldb.util.TableIterator.getNextElement(TableIterator.java:79)
at org.iq80.leveldb.util.AbstractSeekingIterator.hasNext(AbstractSeekingIterator.java:48)
at org.iq80.leveldb.util.InternalTableIterator.getNextElement(InternalTableIterator.java:51)
at org.iq80.leveldb.util.AbstractSeekingIterator.hasNext(AbstractSeekingIterator.java:48)
at org.iq80.leveldb.util.DbIterator.resetPriorityQueue(DbIterator.java:155)
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:63)
at com.ljyloo.PE2PC.PE2PC.main(PE2PC.java:34)

Exception in thread "main" java.lang.UnsupportedClassVersionError: com/ljyloo/PE2PC/PE2PC : Unsupported major.minor version 52.0

What is this error? Running OSX 10.12.6.

Exception in thread "main" java.lang.UnsupportedClassVersionError: com/ljyloo/PE2PC/PE2PC : Unsupported major.minor version 52.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:637)
at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)

Have to use Legacy Java 6 because java command line doesn't work with Java 8.

World not exported

For some reason, my world isn't exported. No error messages appear. Just a "done." message.

root@pm:~# java -jar Converter.jar /home/dannyg/DG /home/dannyg/s2/worlds/DG
Done!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.