Hi, I compiled and installed support for leveldb on my minecraft server, but when I tried to import a world from my sons mcpe I got a message saying "Could not load level "mesa": Specified LevelDB world format version (7) is not supported by PocketMine-MP". In php-leveldb there is a const constraining the leveldb support to 6. Is there a Quick fix for this? I tried looking around for the specs on leveldb 7 to change the php-leveldb code acording to spec, but found no information on the format Any pointers?.
Are there any files in the world/region folder with the extension ".mcr", ".mca" or ".mcapm" (or some weird extension)?
Umm.. nope, the files was just copied from the world-folder on the mcpe-device. The directory looks like this: $ ls -ltra -rw-rw-r-- 1 5 May 3 00:48 world_resource_packs.json -rw-rw-r-- 1 23811 May 3 00:48 world_icon.jpeg -rw-rw-r-- 1 5 May 3 00:48 world_behavior_packs.json drwxrwxr-x 2 4096 May 3 00:48 resource_packs -rw-rw-r-- 1 5 May 3 00:48 levelname.txt -rw-rw-r-- 1 1647 May 3 00:48 level.dat_old -rw-rw-r-- 1 1647 May 3 00:48 level.dat drwxrwxr-x 2 4096 May 3 00:48 db drwxrwxr-x 2 4096 May 3 00:48 behavior_packs -- Is it not possible to import worlds this way?
-- Starting Minecraft: PE server version v1.2.13 -- Compiled using the php-build-script (https://github.com/pmmp/php-build-scripts)
it's a constraint on the **world** version, not on the database format version. The chunk format for MCPE changed in 1.2.13, PocketMine-MP doesn't support this new format yet.
Work is in progress to support the new format, but this update is quite a lot more complex than previous ones have been.
What sort of work are we talking about? Is there a known new spec you have to port PMMP to or are you having to reverse engineer it?
it's a bit of both, but the format isn't the problem. There are actual technical barriers to supporting the new format which require significant code changes to PocketMine-MP itself.
That makes sense. I mean if it was as simple as changing CURRENT_STORAGE_VERSION to 8 you'd have done it already.