plethora777 / mcpe_viz Goto Github PK
View Code? Open in Web Editor NEWMinecraft Pocket Edition (MCPE) World Visualization & Reporting Tool with Web App
License: GNU General Public License v2.0
Minecraft Pocket Edition (MCPE) World Visualization & Reporting Tool with Web App
License: GNU General Public License v2.0
Plethora777,
Grimtoc here, just wanted to provide you with my world and the progress dump from the issue we spoke about on reddit. The helper/command line works for newly created world (probably not large enough to cause issues though), but not on this world. It's ~4 years old, so it's fairly large, which I'm now sure is the issue with the latest MC update.
Thanks again for taking a look!!
OneDrive Share containing world:
https://1drv.ms/f/s!Am-o89-AMM7TjcYMaOGwGLz0LrPsXA
Progress Dump:
mcpe_viz v0.0.37 by Plethora777
Reading XML from C:\Users\jbland\Desktop\MCPE VIZ 64/mcpe_viz.xml
Reading config from C:\Users\jbland\Desktop\MCPE VIZ 64/mcpe_viz.cfg
parseLevelFile: name=C:/Users/jbland/OneDrive/Minecraft Share/MPECANrTBAA=/level.dat version=8 len=1853
Found World Spawn: x=16 y=32767 z=4
Level name is [Anavrin - Copy]
DB Open: dir=C:/Users/jbland/OneDrive/Minecraft Share/MPECANrTBAA=
DB Open Status: OK (block_size=4096 bloom_filter_bits=10)
Scan keys to get world boundaries
Bounds (chunk): DimId=0 X=(-317 374) Z=(-286 315)
Bounds (pixel): DimId=0 X=(-5072 5984) Z=(-4576 5040) Image=(11072 9632)
Bounds (chunk): DimId=1 X=(-26 38) Z=(-34 27)
Bounds (pixel): DimId=1 X=(-416 608) Z=(-544 432) Image=(1040 992)
Bounds (chunk): DimId=2 X=(0 0) Z=(0 0)
Bounds (pixel): DimId=2 X=(0 0) Z=(0 0) Image=(16 16)
1593137 records
Active 'hide-top', 'force-top', and 'geojson-block':
'geojson' block: overworld - End Portal Frame (dimId=0 blockId=120 (0x78))
'hide-top' block: nether - Bedrock (dimId=1 blockId=7 (0x07))
'hide-top' block: nether - Netherrack (dimId=1 blockId=87 (0x57))
'hide-top' block: nether - Lava (dimId=1 blockId=10 (0x0a))
'hide-top' block: nether - Stationary Lava (dimId=1 blockId=11 (0x0b))
Parse all leveldb records
NBT exception: (Invalid tag type: 17) (eof=false) (is=false)
NBT exception: (Invalid tag type: 17) (eof=false) (is=false)
NBT exception: (Invalid tag type: 34) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 82) (eof=false) (is=false)
NBT exception: (Invalid tag type: 17) (eof=false) (is=false)
NBT exception: (Invalid tag type: 114) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 136) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 17) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 26) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 17) (eof=false) (is=false)
Processing records: 10000 / 1593137 (0.6%)
NBT exception: (Invalid tag type: 130) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 16) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 54) (eof=false) (is=false)
NBT exception: (Invalid tag type: 98) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 12) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 85) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 17) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 119) (eof=false) (is=false)
NBT exception: (Invalid tag type: 112) (eof=false) (is=false)
NBT exception: (Invalid tag type: 112) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 85) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 17) (eof=false) (is=false)
NBT exception: (Invalid tag type: 33) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 17) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 45) (eof=false) (is=false)
NBT exception: (Invalid tag type: 64) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 14) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 51) (eof=false) (is=false)
NBT exception: (Invalid tag type: 33) (eof=false) (is=false)
NBT exception: (Invalid tag type: 34) (eof=false) (is=false)
NBT exception: (Invalid tag type: 57) (eof=false) (is=false)
NBT exception: (Invalid tag type: 12) (eof=false) (is=false)
NBT exception: (Invalid tag type: 48) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 26) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 17) (eof=false) (is=false)
NBT exception: (Invalid tag type: 28) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 16) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 24) (eof=false) (is=false)
NBT exception: (Invalid tag type: 102) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 170) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
Processing records: 20000 / 1593137 (1.3%)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 136) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 33) (eof=false) (is=false)
NBT exception: (Invalid tag type: 224) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 221) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 119) (eof=false) (is=false)
NBT exception: (Invalid tag type: 80) (eof=false) (is=false)
NBT exception: (Invalid tag type: 17) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 17) (eof=false) (is=false)
NBT exception: (Invalid tag type: 17) (eof=false) (is=false)
NBT exception: (Invalid tag type: 85) (eof=false) (is=false)
NBT exception: (Invalid tag type: 16) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 148) (eof=false) (is=false)
NBT exception: (Invalid tag type: 33) (eof=false) (is=false)
NBT exception: (Invalid tag type: 17) (eof=false) (is=false)
NBT exception: (Invalid tag type: 17) (eof=false) (is=false)
NBT exception: (Invalid tag type: 34) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 17) (eof=false) (is=false)
NBT exception: (Invalid tag type: 17) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 187) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 85) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 102) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 17) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 16) (eof=false) (is=false)
NBT exception: (Invalid tag type: 85) (eof=false) (is=false)
NBT exception: (Invalid tag type: 34) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 85) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 34) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 33) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 20) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
Processing records: 30000 / 1593137 (1.9%)
The new Minecraft 1.2 beta 1 and 2 cause mcpe_vis to fail with message:
Error
MCPE Vis failed. See Progress window for details. If you consistently have this problem, you should switch from mcpe_vis win32 to win64, or vice versa.
The world zip file is too big to attach here. (32 MB) The log zip file is attached.
Hello,
I try to use mcpe_viz on my son's MCPE data but it doesn't seems to work.
I launche mcpe_viz with the following command :
./mcpe_viz --grid --db /opt/data --out /opt/out/test
And all I get is the following output :
mcpe_viz v0.0.34 by Plethora777
Reading XML from /opt/mcpe_viz/build/mcpe_viz.xml
Reading config from /opt/mcpe_viz/build/mcpe_viz.cfg
parseLevelFile: name=/opt/data/level.dat version=5 len=961
Found World Spawn: x=56 y=32767 z=4
Level name is [Tannier du champignon]
DB Open: dir=/opt/data
DB Open Status: OK (block_size=4096 bloom_filter_bits=10)
Scan keys to get world boundaries
And a test.log file created in out directory with the following content :
level.dat: NBT Decode Start
level.dat: [] COMPOUND-1 {
level.dat: [Difficulty] 1 0x1 (int)
level.dat: [ForceGameType] 0 0x0 (byte)
level.dat: [GameType] 1 0x1 (int)
level.dat: [Generator] 1 0x1 (int)
level.dat: [LANBroadcast] 1 0x1 (byte)
level.dat: [LastPlayed] 1505666797 0x59bea6ed (long)
level.dat: [LevelName] 'Tannier du champignon' (string)
level.dat: [LimitedWorldOriginX] 56 0x38 (int)
level.dat: [LimitedWorldOriginY] 32767 0x7fff (int)
level.dat: [LimitedWorldOriginZ] 4 0x4 (int)
level.dat: [MultiplayerGame] 1 0x1 (byte)
level.dat: [NetworkVersion] 113 0x71 (int)
level.dat: [Platform] 2 0x2 (int)
level.dat: [RandomSeed] 2341265879 0x8b8ce1d7 (long)
level.dat: [SpawnX] 56 0x38 (int)
level.dat: [SpawnY] 32767 0x7fff (int)
level.dat: [SpawnZ] 4 0x4 (int)
level.dat: [StorageVersion] 5 0x5 (int)
level.dat: [Time] 135757 0x2124d (long)
level.dat: [XBLBroadcast] 1 0x1 (byte)
level.dat: [commandblockoutput] 1 0x1 (byte)
level.dat: [commandsEnabled] 1 0x1 (byte)
level.dat: [currentTick] 135757 0x2124d (long)
level.dat: [dodaylightcycle] 1 0x1 (byte)
level.dat: [doentitydrops] 1 0x1 (byte)
level.dat: [dofiretick] 1 0x1 (byte)
level.dat: [domobloot] 1 0x1 (byte)
level.dat: [domobspawning] 1 0x1 (byte)
level.dat: [dotiledrops] 1 0x1 (byte)
level.dat: [doweathercycle] 1 0x1 (byte)
level.dat: [drowningdamage] 1 0x1 (byte)
level.dat: [eduLevel] 0 0x0 (byte)
level.dat: [falldamage] 1 0x1 (byte)
level.dat: [firedamage] 1 0x1 (byte)
level.dat: [fixedInventory] COMPOUND-2 {
level.dat: [fixedInventoryItems] LIST-1 {
level.dat: } LIST-1
level.dat: } COMPOUND-2
level.dat: [hasBeenLoadedInCreative] 1 0x1 (byte)
level.dat: [immutableWorld] 0 0x0 (byte)
level.dat: [keepinventory] 0 0x0 (byte)
level.dat: [lastOpenedWithVersion] LIST-2 {
level.dat: [] 1 0x1 (int)
level.dat: [] 1 0x1 (int)
level.dat: [] 5 0x5 (int)
level.dat: [] 0 0x0 (int)
level.dat: } LIST-2
level.dat: [lightningLevel] 0.000000 (float)
level.dat: [lightningTime] 7265
Am I doing something wrong, or is there a problem with data ?
World data can be fetched here
It's possible that this is simply because I've been playing around with a few of the colours in mcpe_viz.xml in order to make certain features stand out more clearly in the maps.
As a result I get far more pink blocks identified as UNKNOWN BLOCK and mcpe_viz also seems to get confused at times - mistaking one type of block for another.
For example, in the attached file you'll find the data for a world I'm currently using and, near the player's location, there is a bridge build across a small gulley made of cobblestone. mcpe_viz incorrectly identifies it as snow.
It's possible that the pink UNKNOWN BLOCK blocks are simply a result of mcpe_viz not being completed yet? I'm sure the incorrectly identified blocks are a bug, however.
I couldn't attach the files I used, so I've uploaded a tar.gz (hope that's ok) to dropbox containing my data files and my .cfg and .xml files.
The files is here: https://www.dropbox.com/s/c00p8dupsiukxkv/mcpe_viz.tar.gz?dl=0
Saves with the latest Win 10 build (i.e. first Update Aquatic or 1.4.0) fail due to invalid tag types
mcpe_viz v0.0.37 by Plethora777
Reading XML from ./mcpe_viz.xml
Reading config from ./mcpe_viz.cfg
parseLevelFile: name=worlds\pxgDAPIwKwA=/level.dat version=8 len=1661
Found World Spawn: x=960 y=32767 z=4
Level name is [grand experiment]
DB Open: dir=worlds\pxgDAPIwKwA=
DB Open Status: OK (block_size=4096 bloom_filter_bits=10)
Scan keys to get world boundaries
Bounds (chunk): DimId=0 X=(0 111) Z=(-47 56)
Bounds (pixel): DimId=0 X=(0 1776) Z=(-752 896) Image=(1792 1664)
Bounds (chunk): DimId=1 X=(0 0) Z=(0 0)
Bounds (pixel): DimId=1 X=(0 0) Z=(0 0) Image=(16 16)
Bounds (chunk): DimId=2 X=(0 0) Z=(0 0)
Bounds (pixel): DimId=2 X=(0 0) Z=(0 0) Image=(16 16)
9665 records
Active 'hide-top', 'force-top', and 'geojson-block':
'geojson' block: overworld - End Portal Frame (dimId=0 blockId=120 (0x78))
'hide-top' block: nether - Bedrock (dimId=1 blockId=7 (0x07))
'hide-top' block: nether - Netherrack (dimId=1 blockId=87 (0x57))
'hide-top' block: nether - Lava (dimId=1 blockId=10 (0x0a))
'hide-top' block: nether - Stationary Lava (dimId=1 blockId=11 (0x0b))
Parse all leveldb records
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 34) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 66) (eof=false) (is=false)
NBT exception: (Invalid tag type: 66) (eof=false) (is=false)
NBT exception: (Invalid tag type: 34) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 24) (eof=false) (is=false)
NBT exception: (Invalid tag type: 112) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 35) (eof=false) (is=false)
NBT exception: (Invalid tag type: 33) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 24) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 43) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 20) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 20) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 14) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 34) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
I tried running mcpe_viz on a file that I received from a contact on reddit. He had taken the old classic "nyan" seed and made it work as an infinite world on 0.12.x.
I tried it in my version of MCPE on my phone and it seems to work perfectly well, however, when I run mcpe_viz on it I get a seg fault.
Here is the output:
mcpe_viz --grid --db ~/documents/shared/nyan/ --out ~/documents/shared/mcpe/nyan mcpe_viz v0.0.4 by Plethora777 Reading XML from /home/paul/.mcpe_viz/mcpe_viz.xml Reading config from /home/paul/.mcpe_viz/mcpe_viz.cfg Adding 'hide-top' block: dimId=1 blockId= 7 (0x07) (hide-top: nether - Bedrock) Adding 'hide-top' block: dimId=1 blockId= 87 (0x57) (hide-top: nether - Netherrack) Adding 'hide-top' block: dimId=1 blockId= 10 (0x0a) (hide-top: nether - Lava S) Adding 'hide-top' block: dimId=1 blockId= 11 (0x0b) (hide-top: nether - Stationary Lava S) Adding 'hide-top' block: dimId=0 blockId= 16 (0x10) (hide-top: overworld - Coal Ore) Adding 'hide-top' block: dimId=0 blockId= 15 (0x0f) (hide-top: overworld - Iron Ore) INFO: Adding 'force-top' block: dimId=0 blockId= 56 (0x38) (force-top: overworld - Diamond Ore) INFO: Adding 'force-top' block: dimId=0 blockId=120 (0x78) (force-top: overworld - End Portal Frame) INFO: Adding 'force-top' block: dimId=0 blockId= 54 (0x36) (force-top: overworld - Chest E) parseLevelFile: name=/home/paul/documents/shared/nyan//level.dat version=4 len=446 Found World Spawn: x=128 y=64 z=128 Level name is [nyan] DB Open: dir=/home/paul/documents/shared/nyan/ DB Open Status: OK Scan keys to get world boundaries 2299 records Parse all leveldb records Player Position=(129.543091, 76.620003, 110.118469) at image (129, 110) -- Rotation=(3926.182373, 11.269871) Read 2299 records Status: OK Do Output: overworld Generate Image Info: World (0, 0) is at image (0, 0) Segmentation fault (core dumped)
The file for the world itself is available at: https://www.dropbox.com/s/sgmf2mxvxovriic/nyan.zip?dl=0
The log file for the attempted conversion is available at: https://www.dropbox.com/s/n9agp9spk1jleq4/nyan.log?dl=0
Steps to reproduce:
Expected behavior:
Creates map
Actual behavior:
Web app is created, but with a blank, black map, HUGE (10GB+) log files with logs of the following errors:
Parse all leveldb records
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
[... and so on for ~10 gigs of logs or so ...]
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
Row 1600 of 1680
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
Do Output: nether
Generate Image
Generate Biome Image
Generate Grass Image
Generate Height Column Image
Generate Height Column (grayscale) Image
Generate Height Column (alpha) Image
Generate Block Light Image
Generate Sky Light Image
Generate Slime Chunks Image
Generate Shaded Relief Image
Generate full-size slices
Writing all images in one pass
Row 0 of 16
Do Output: the-end
Generate Image
Generate Biome Image
Generate Grass Image
Generate Height Column Image
Generate Height Column (grayscale) Image
Generate Height Column (alpha) Image
Generate Block Light Image
Generate Sky Light Image
Generate Slime Chunks Image
Generate Shaded Relief Image
Generate full-size slices
Writing all images in one pass
Row 0 of 16
Do Output: html viewer
Copying icon images
Done.
MCPE Viz completed successfully!
You can launch the web app now.
Is it possible to get the player names? When I turn on the player markers, every player shows up as "Remote Player: UNKNOWN".
Compile mcpe_viz_helper
From the top directory of mcpe_viz:
cd gui
qmake
If all goes well, you will have "mcpe_viz_helper" in release/
Hi:
I tried this on linux mint 17.3 and nothing appeared to happen (it went straight to the command line). There's no sign of a 'release' folder. Maybe there are missing packages?
After some hiccups the main compile seems to have worked btw. Just no gui.
Cheers.
The Biome view seems to have some issues with showing new area explored since the MCPE 1.0 update.
The top 4 pixel rows shows the right biome, but the bottom 12 show a light blue which it incorrectly shows as an ocean biome.
This screenshot shows the Biomes explored in 0.16.2 on the left and the new areas explored since 1.0 on the right:
Hey Plethora,
I noticed a similar problem to what @Smeo00 was having in #11, where paths I walked since the 1.0 update would show as unexplored chunks. After a fix you pushed, those chunks now display correctly. However, the Spawnable Blocks option seems to not show spawnable blocks for those same regions that used to be blacked out.
Here's a screenshot of part of a 180-block radius spawn check around my main area:
Thanks for a pretty amazing visualization tool!
Kyle
Hello,
I'm getting the below error when trying to use viz. I'm playing MCPE 1.05 on iOS 10. The world is a Realm world that I downloaded and transferred to my Windows 10 PC. I've tried switching between the 32 and 64 bit versions. Any thoughts would be appreciated. Thanks!
mcpe_viz v0.0.31 by Plethora777
Reading XML from C:\Users\k\Downloads\Viz\mcpe_viz-master/mcpe_viz.xml
Reading config from C:\Users\k\Downloads\Viz\mcpe_viz-master/mcpe_viz.cfg
parseLevelFile: name=C:/Users/k/Downloads/games/com.mojang/minecraftWorlds/WNgBADzZAQA=/level.dat version=5 len=853
Found World Spawn: x=128 y=64 z=128
Level name is [Realm1]
DB Open: dir=C:/Users/k/Downloads/games/com.mojang/minecraftWorlds/WNgBADzZAQA=
DB Open Status: OK (block_size=4096 bloom_filter_bits=10)
Scan keys to get world boundaries
Bounds (chunk): DimId=0 X=(-90 134) Z=(-65 109)
Bounds (pixel): DimId=0 X=(-1440 2144) Z=(-1040 1744) Image=(3600 2800)
Bounds (chunk): DimId=1 X=(-11 17) Z=(-21 10)
Bounds (pixel): DimId=1 X=(-176 272) Z=(-336 160) Image=(464 512)
Bounds (chunk): DimId=2 X=(0 0) Z=(0 0)
Bounds (pixel): DimId=2 X=(0 0) Z=(0 0) Image=(16 16)
107665 records
Active 'hide-top', 'force-top', and 'geojson-block':
'geojson' block: overworld - End Portal Frame (dimId=0 blockId=120 (0x78))
'hide-top' block: nether - Bedrock (dimId=1 blockId=7 (0x07))
'hide-top' block: nether - Netherrack (dimId=1 blockId=87 (0x57))
'hide-top' block: nether - Lava (dimId=1 blockId=10 (0x0a))
'hide-top' block: nether - Stationary Lava (dimId=1 blockId=11 (0x0b))
Parse all leveldb records
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
terminate called after throwing an instance of 'std::bad_cast'
what(): std::bad_cast
Seems it only affects Android MCPE 1.1 (1.0.9 works perfectly)
Fail to copy and paste the whole log file to here, may be it's too large....
When I tried to locate mobs or object, in both IE and Firefox returns the following message.
Vector Load Error
Error: ReferenceError: geojson is not defined
MCPE Viz Hint: If you are loading files from the local filesystem, your browser might not be allowing us to load additional files or examine pixels in maps. Firefox does not have this limitation. See README for more info...
Hi, everything was fine untill i got to compile'ing mcpe_viz
make
if test ! -s build/Makefile; then mkdir -p build ; cd build ; cmake .. ; fi
/bin/sh: cmake: command not found
make: *** [cmakebuild] Error 127
Is it possible to see the contents of a player's enderchest?
Unsure if this is intentional or nor but i can remember it showing dynamically as i add more options in the old version
Hi, since the update for MCPE v1.0 when I activate one object overlay like "chests" or "mob spawner" the markers are showed with an offset of about 330 meters to the left and 50 meters above the real location. I am using version 0.0.30 for Win64 and in previous versions it was fine.
Thanks an keep on going!
For example, "Осторожно" is displayed as "Осторожно".
The geojson file actually has the text right, it's just not interpreted by the browser correctly, because it's encoded in UTF-8. An easy fix would be to add charset="utf-8"
to the script
element that loads the geojson file, or <meta charset="utf-8" />
inside the head
.
Areas visited in Better Together 1.2.3 will no longer render a Block Light map. Areas not visited yet in Better Together still correctly render the block light.
I turned on Verbose, and get a great many instances of the following error messages. --verbose
ERROR: getBlockSkyLight_LevelDB_v3 get data out of bounds! (7239 >= 6145) (8 8 12)
ERROR: getBlockBlockLight_LevelDB_v3 get data out of bounds! (9287 >= 6145) (8 8 12)
ERROR: getBlockSkyLight_LevelDB_v3 get data out of bounds! (7247 >= 6145) (8 9 12)
ERROR: getBlockBlockLight_LevelDB_v3 get data out of bounds! (9295 >= 6145) (8 9 12)
ERROR: getBlockSkyLight_LevelDB_v3 get data out of bounds! (7255 >= 6145) (8 10 12)
ERROR: getBlockBlockLight_LevelDB_v3 get data out of bounds! (9303 >= 6145) (8 10 12)
ERROR: getBlockSkyLight_LevelDB_v3 get data out of bounds! (7263 >= 6145) (8 11 12)
ERROR: getBlockBlockLight_LevelDB_v3 get data out of bounds! (9311 >= 6145) (8 11 12)
ERROR: getBlockSkyLight_LevelDB_v3 get data out of bounds! (7271 >= 6145) (8 12 12)
ERROR: getBlockBlockLight_LevelDB_v3 get data out of bounds! (9319 >= 6145) (8 12 12)
I am guessing there is a change in 1.2 data formatting that hasn't been accounted for yet?
With a map generated from an 0.16.x world I can't view mobs or even the player. Selecting them in the passive or hostile mobs menus shows nothing - even if I'm certain the mobs are there.
Other things such as nether portals and spawners seem to show as before
Got this warning when parsing my world:
WARNING: Did not find block variant for block(Large Flowers) with blockdata=15 (0xf) MSG1
Not sure if this is an actionable thing or not. The captured log file doesn't have anything else useful in relating to the warning.
This is a 1.0 generated world.
I have a Converted world from the Xbox one Edition of minecraft that I have been waiting to use with the bedrock version.
As of Bedrock Version 1.2.5 I was finally able to convert it with a much better result, but once I have extracted the level.dat and associated DB files upon running the mcpe_viz_helper.exe I get the following error about 80 times right around 39% of the processing records portion but then continues.
Extra info the converted world plays mostly fine since the last patch no more missing chunks. I was also able to upload it to my realm and then download it to my Iphone. and transfer it to my PC for mcpe_viz to use.
"WARNING: UNKNOWN -- Found new chunkDimId=0x32373639 -- we are not prepared for that -- skipping chunk"
I am able to view the overworld from within the webapp and the nether aswell, though the nether looks odd, as if a single nether quartz mineral node was duplicated all over the map. Both the overworld and the nether look stuck at a 2560x2560 map, and the End map is non-existent.
And running mcpe_viz.exe from the command line I get the below error and it seems the program gets stuck in a loop.
"overworld-chunk: 104 -8 (type=0x2f) (size=6145) (image 4224 2432)
WARNING: UNKNOWN Byte 0 of 0x2f chunk: b0=[5 0x05]"
I'm going to poke around the Level.dat file and see if there are any references to data of the errors. And try and download the world from my PC and see if there is a difference with the data.
Any other assistance would be awesome and greatly appreciated
Thanks again for this program,
Picotazo
When I try and compile the latest version I get:
/home/paul/mcpe_viz/mcpe_viz.cc:206:10: fatal error: leveldb/decompress_allocator.h: No such file or directory #include "leveldb/decompress_allocator.h" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. make[3]: *** [CMakeFiles/mcpe_viz.dir/build.make:63: CMakeFiles/mcpe_viz.dir/mcpe_viz.cc.o] Error 1 make[3]: Leaving directory '/home/paul/mcpe_viz/build' make[2]: *** [CMakeFiles/Makefile2:68: CMakeFiles/mcpe_viz.dir/all] Error 2 make[2]: Leaving directory '/home/paul/mcpe_viz/build' make[1]: *** [Makefile:84: all] Error 2 make[1]: Leaving directory '/home/paul/mcpe_viz/build' make: *** [Makefile:7: cmakebuild] Error 2
mcpe_viz v0.0.31 by Plethora777
Reading XML from C:\Users\Jessie\Desktop\mcpe_viz-master\mcpe_viz-master\mcpe_viz.win64/mcpe_viz.xml
Reading config from C:\Users\Jessie\Desktop\mcpe_viz-master\mcpe_viz-master\mcpe_viz.win64/mcpe_viz.cfg
parseLevelFile: name=C:/Users/Jessie/Desktop/minecraftWorlds/MMgAAJG-jwE=/level.dat version=5 len=828
Found World Spawn: x=912 y=32767 z=4
Level name is [Jessie1]
DB Open: dir=C:/Users/Jessie/Desktop/minecraftWorlds/MMgAAJG-jwE=
DB Open Status: Corruption: CURRENT file does not end with newline (block_size=4096 bloom_filter_bits=10)
ERROR: LevelDB operation returned status=Corruption: CURRENT file does not end with newline
I am getting this error when I press Go button with viz_helper.exe
Could you help please?
Hello!
When I try to run MCPE Viz on my world, in the progress window, it says parse all leveldb records and doesn't do anything.
Here's what the progress window says:
https://pastebin.com/tEbw8qNa
And here's what the output says:
https://pastebin.com/RMa6Mgfq
A few worlds modified by the MCPE Win 10 1.2.7.0 beta are causing mcpe_viz to crash after starting the leveldb parse.
Here is my smallest repro:
§3Skyblock §2Challenge.mcworld.zip
I built a fully encased 9 level slime farm from level 40 and below on the slime chunk designated by mcpe_viz, and I was able to collect 50 slimeballs over the course of 5 hours.
You can probably take off the following disclaimer on your README.md:
" -- well, maybe... slime chunk finding code not confirmed to work on MCPE yet :)"
Getting this error when using:
Read 530919 records
Status: OK
Do Output: overworld
Generate Image
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
libpng warning: Image width exceeds user limit in IHDR
libpng error: Invalid IHDR data
Both mcpe_viz.win32 and mcpe_viz.win64 are crashing
On one OS, I actually get the opportunity to grab some crash details.
I get a popup that says "mcpe_viz.exe has stopped working"
There is a button that says "view problem details".
For the 64 bit version, here are the details:
Problem signature:
Problem Event Name: APPCRASH
Application Name: mcpe_viz.exe
Application Version: 0.0.0.0
Application Timestamp: 5b059ed1
Fault Module Name: libstdc++-6.dll
Fault Module Version: 0.0.0.0
Fault Module Timestamp: 599c3590
Exception Code: c0000005
Exception Offset: 00000000000ca5b8
OS Version: 6.1.7601.2.1.0.272.7
Locale ID: 1033
Additional Information 1: 4f20
Additional Information 2: 4f209e0281c8c7105cc59553a2bc42f2
Additional Information 3: a9d2
Additional Information 4: a9d2c956681a7d912b9c9a778a1ecddd
Read our privacy statement online:
http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409
If the online privacy statement is not available, please read our privacy statement offline:
C:\Windows\system32\en-US\erofflps.txt
Here are the details for the 32 bit version:
Problem signature:
Problem Event Name: APPCRASH
Application Name: mcpe_viz.exe
Application Version: 0.0.0.0
Application Timestamp: 5b059e4f
Fault Module Name: libstdc++-6.dll
Fault Module Version: 0.0.0.0
Fault Module Timestamp: 599c33cd
Exception Code: c0000005
Exception Offset: 000d08ff
OS Version: 6.1.7601.2.1.0.272.7
Locale ID: 1033
Additional Information 1: 0a9e
Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
Additional Information 3: 0a9e
Additional Information 4: 0a9e372d3b4ad19135b953a78882e789
Read our privacy statement online:
http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409
If the online privacy statement
is not available, please read our privacy statement offline:
C:\Windows\system32\en-US\erofflps.txt
I've attached the log file from both runs.
64_bit.log
32_bit.log
The Bears all appear (as far as I can tell), but instead of being labelled "Polar Bear" they are labelled "*UNKNOWN: id=28 0x1c"
Hope that makes sense!
This is more of just a question of ignorance that an issue, I just didn't know better place to ask.
I looked on the site, and in the Readme, but I didn't see anything that explained how to You spottable blocks.
Hey Plethora,
Got this when running a map gen on a world created with the Festive Mash-Up 2106 pack:
C:\Programs\Minecraft\MCPEViz>mcpe_viz --flush --auto-tile --db tIQGAEuvsAE= --out Out/Christmas --html-all
mcpe_viz v0.0.29 by Plethora777
Reading XML from ./mcpe_viz.xml
Reading config from ./mcpe_viz.cfg
parseLevelFile: name=tIQGAEuvsAE=/level.dat version=4 len=835
Found World Spawn: x=33 y=64 z=-144
Level name is [Festive Mash-up 2016]
DB Open: dir=tIQGAEuvsAE=
DB Open Status: OK (block_size=4096 bloom_filter_bits=10)
Scan keys to get world boundaries
Bounds (chunk): DimId=0 X=(-46 56) Z=(-57 47)
Bounds (pixel): DimId=0 X=(-736 896) Z=(-912 752) Image=(1648 1680)
Bounds (chunk): DimId=1 X=(0 0) Z=(0 0)
Bounds (pixel): DimId=1 X=(0 0) Z=(0 0) Image=(16 16)
Bounds (chunk): DimId=2 X=(0 0) Z=(0 0)
Bounds (pixel): DimId=2 X=(0 0) Z=(0 0) Image=(16 16)
43872 records
Active 'hide-top', 'force-top', and 'geojson-block':
'geojson' block: overworld - End Portal Frame (dimId=0 blockId=120 (0x78))
'hide-top' block: nether - Bedrock (dimId=1 blockId=7 (0x07))
'hide-top' block: nether - Netherrack (dimId=1 blockId=87 (0x57))
'hide-top' block: nether - Lava (dimId=1 blockId=10 (0x0a))
'hide-top' block: nether - Stationary Lava (dimId=1 blockId=11 (0x0b))
Parse all leveldb records
WARNING: getItemName failed to find variant id=383 extradata=14
WARNING: getItemName failed to find id=383 extradata=14
WARNING: getItemName failed to find variant id=383 extradata=14
WARNING: getItemName failed to find id=383 extradata=14
Processing records: 10000 / 43872 (22.8%)
Processing records: 20000 / 43872 (45.6%)
Player Position: Dimension=0 Pos=(4.46755, 67.3688, -342.747 @ image 740, 569) Rotation=(-195.631653, 2.627911)
WARNING: getItemName failed to find variant id=383 extradata=14
WARNING: getItemName failed to find id=383 extradata=14
WARNING: getItemName failed to find variant id=383 extradata=14
WARNING: getItemName failed to find id=383 extradata=14
terminate called after throwing an instance of 'std::bad_cast'
what(): std::bad_cast
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
Is this an issue, in general, with odd blocks/formations in add-on packs?
Thanks,
Kyle
Hello,
I have run this program and it was success, but after this i opend my world ingame, and it was resetted.
The folder was still the same size (of my world) but it was resetted so all i made was gone.
When i look at the world map, that mcpe_vis created it looks like what i build.
Is there a way to get it back in to level.dat? or what should i change to fix this?
Hi, I have tested mcpe_viz yesterday and after the first run Windows 10 defender said that some .dll files included in win64 version are infected with a trojan horse malware. Can you review this? I will provide you more details this evening.
I have just updated to latest code on github and when I try and build I get the following error:
if test ! -s build/Makefile; then mkdir -p build ; cd build ; cmake .. ; fi
cd build && make
make[1]: Entering directory '/home/paul/mcpe_viz/build'
make[2]: Entering directory '/home/paul/mcpe_viz/build'
make[3]: Entering directory '/home/paul/mcpe_viz/build'
make[3]: Leaving directory '/home/paul/mcpe_viz/build'
make[3]: Entering directory '/home/paul/mcpe_viz/build'
[ 20%] Linking CXX executable mcpe_viz
CMakeFiles/mcpe_viz.dir/mcpe_viz.cc.o: In function `mcpe_viz::McpeWorld::dbOpen(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
mcpe_viz.cc:(.text._ZN8mcpe_viz9McpeWorld6dbOpenERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE[_ZN8mcpe_viz9McpeWorld6dbOpenERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE]+0x80): undefined reference to `leveldb::DB::Open(leveldb::Options const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, leveldb::DB**)'
mcpe_viz.cc:(.text._ZN8mcpe_viz9McpeWorld6dbOpenERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE[_ZN8mcpe_viz9McpeWorld6dbOpenERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE]+0xa1): undefined reference to `leveldb::Status::ToString[abi:cxx11]() const'
mcpe_viz.cc:(.text._ZN8mcpe_viz9McpeWorld6dbOpenERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE[_ZN8mcpe_viz9McpeWorld6dbOpenERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE]+0x10f): undefined reference to `leveldb::Status::ToString[abi:cxx11]() const'
CMakeFiles/mcpe_viz.dir/mcpe_viz.cc.o: In function `mcpe_viz::McpeWorld::calcChunkBounds()':
mcpe_viz.cc:(.text._ZN8mcpe_viz9McpeWorld15calcChunkBoundsEv[_ZN8mcpe_viz9McpeWorld15calcChunkBoundsEv]+0x28e): undefined reference to `leveldb::Status::ToString[abi:cxx11]() const'
CMakeFiles/mcpe_viz.dir/mcpe_viz.cc.o: In function `mcpe_viz::ChunkDataList::generateMovie(leveldb::DB*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool, bool)':
mcpe_viz.cc:(.text._ZN8mcpe_viz13ChunkDataList13generateMovieEPN7leveldb2DBERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESB_bb[_ZN8mcpe_viz13ChunkDataList13generateMovieEPN7leveldb2DBERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESB_bb]+0x355): undefined reference to `leveldb::Status::ToString[abi:cxx11]() const'
CMakeFiles/mcpe_viz.dir/mcpe_viz.cc.o: In function `mcpe_viz::McpeWorld::parseDb()':
mcpe_viz.cc:(.text._ZN8mcpe_viz9McpeWorld7parseDbEv[_ZN8mcpe_viz9McpeWorld7parseDbEv]+0x8e4): undefined reference to `leveldb::Status::ToString[abi:cxx11]() const'
CMakeFiles/mcpe_viz.dir/mcpe_viz.cc.o:mcpe_viz.cc:(.text._ZN8mcpe_viz9McpeWorld7parseDbEv[_ZN8mcpe_viz9McpeWorld7parseDbEv]+0x983): more undefined references to `leveldb::Status::ToString[abi:cxx11]() const' follow
CMakeFiles/mcpe_viz.dir/mcpe_viz.nbt.cc.o: In function `mcpe_viz::parseNbt(char const*, char const*, int, std::vector<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::unique_ptr<nbt::tag, std::default_delete<nbt::tag> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::unique_ptr<nbt::tag, std::default_delete<nbt::tag> > > > >&)':
mcpe_viz.nbt.cc:(.text+0x1176): undefined reference to `nbt::io::stream_reader::read_tag[abi:cxx11]()'
CMakeFiles/mcpe_viz.dir/mcpe_viz.nbt.cc.o: In function `mcpe_viz::parseNbt_portals(std::vector<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::unique_ptr<nbt::tag, std::default_delete<nbt::tag> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::unique_ptr<nbt::tag, std::default_delete<nbt::tag> > > > >&)':
mcpe_viz.nbt.cc:(.text+0x1529): undefined reference to `nbt::tag_compound::has_key(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, nbt::tag_type) const'
mcpe_viz.nbt.cc:(.text+0x15da): undefined reference to `nbt::tag_compound::has_key(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, nbt::tag_type) const'
CMakeFiles/mcpe_viz.dir/mcpe_viz.nbt.cc.o: In function `mcpe_viz::parseNbt_tileEntity(int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::vector<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::unique_ptr<nbt::tag, std::default_delete<nbt::tag> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::unique_ptr<nbt::tag, std::default_delete<nbt::tag> > > > >&)':
mcpe_viz.nbt.cc:(.text+0x358c): undefined reference to `nbt::tag_compound::has_key(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, nbt::tag_type) const'
mcpe_viz.nbt.cc:(.text+0x3704): undefined reference to `nbt::tag_compound::has_key(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, nbt::tag_type) const'
mcpe_viz.nbt.cc:(.text+0x380b): undefined reference to `nbt::tag_compound::has_key(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, nbt::tag_type) const'
CMakeFiles/mcpe_viz.dir/mcpe_viz.nbt.cc.o:mcpe_viz.nbt.cc:(.text+0x3ddd): more undefined references to `nbt::tag_compound::has_key(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, nbt::tag_type) const' follow
CMakeFiles/mcpe_viz.dir/mcpe_viz.nbt.cc.o: In function `mcpe_viz::parseNbt_entity(int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::vector<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::unique_ptr<nbt::tag, std::default_delete<nbt::tag> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::unique_ptr<nbt::tag, std::default_delete<nbt::tag> > > > >&, bool, bool, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
mcpe_viz.nbt.cc:(.text+0x6146): undefined reference to `nbt::tag_compound::has_key(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const'
mcpe_viz.nbt.cc:(.text+0x61a2): undefined reference to `nbt::tag_compound::has_key(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, nbt::tag_type) const'
mcpe_viz.nbt.cc:(.text+0x62c6): undefined reference to `nbt::tag_compound::has_key(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, nbt::tag_type) const'
mcpe_viz.nbt.cc:(.text+0x63ee): undefined reference to `nbt::tag_compound::has_key(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, nbt::tag_type) const'
mcpe_viz.nbt.cc:(.text+0x643e): undefined reference to `nbt::tag_compound::has_key(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, nbt::tag_type) const'
mcpe_viz.nbt.cc:(.text+0x6587): undefined reference to `nbt::tag_compound::has_key(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, nbt::tag_type) const'
CMakeFiles/mcpe_viz.dir/mcpe_viz.nbt.cc.o:mcpe_viz.nbt.cc:(.text+0x66a9): more undefined references to `nbt::tag_compound::has_key(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, nbt::tag_type) const' follow
CMakeFiles/mcpe_viz.dir/mcpe_viz.nbt.cc.o: In function `mcpe_viz::ParsedEntity::checkOtherProp(nbt::tag_compound&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
mcpe_viz.nbt.cc:(.text._ZN8mcpe_viz12ParsedEntity14checkOtherPropERN3nbt12tag_compoundERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE[_ZN8mcpe_viz12ParsedEntity14checkOtherPropERN3nbt12tag_compoundERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE]+0x1b): undefined reference to `nbt::tag_compound::has_key(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const'
CMakeFiles/mcpe_viz.dir/mcpe_viz.nbt.cc.o: In function `mcpe_viz::ParsedItem::parse(nbt::tag_compound&)':
mcpe_viz.nbt.cc:(.text._ZN8mcpe_viz10ParsedItem5parseERN3nbt12tag_compoundE[_ZN8mcpe_viz10ParsedItem5parseERN3nbt12tag_compoundE]+0x3a): undefined reference to `nbt::tag_compound::has_key(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, nbt::tag_type) const'
mcpe_viz.nbt.cc:(.text._ZN8mcpe_viz10ParsedItem5parseERN3nbt12tag_compoundE[_ZN8mcpe_viz10ParsedItem5parseERN3nbt12tag_compoundE]+0xd0): undefined reference to `nbt::tag_compound::has_key(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, nbt::tag_type) const'
mcpe_viz.nbt.cc:(.text._ZN8mcpe_viz10ParsedItem5parseERN3nbt12tag_compoundE[_ZN8mcpe_viz10ParsedItem5parseERN3nbt12tag_compoundE]+0x166): undefined reference to `nbt::tag_compound::has_key(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, nbt::tag_type) const'
mcpe_viz.nbt.cc:(.text._ZN8mcpe_viz10ParsedItem5parseERN3nbt12tag_compoundE[_ZN8mcpe_viz10ParsedItem5parseERN3nbt12tag_compoundE]+0x1fc): undefined reference to `nbt::tag_compound::has_key(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, nbt::tag_type) const'
mcpe_viz.nbt.cc:(.text._ZN8mcpe_viz10ParsedItem5parseERN3nbt12tag_compoundE[_ZN8mcpe_viz10ParsedItem5parseERN3nbt12tag_compoundE]+0x292): undefined reference to `nbt::tag_compound::has_key(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, nbt::tag_type) const'
CMakeFiles/mcpe_viz.dir/mcpe_viz.nbt.cc.o:mcpe_viz.nbt.cc:(.text._ZN8mcpe_viz10ParsedItem5parseERN3nbt12tag_compoundE[_ZN8mcpe_viz10ParsedItem5parseERN3nbt12tag_compoundE]+0x358): more undefined references to `nbt::tag_compound::has_key(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, nbt::tag_type) const' follow
collect2: error: ld returned 1 exit status
CMakeFiles/mcpe_viz.dir/build.make:178: recipe for target 'mcpe_viz' failed
make[3]: *** [mcpe_viz] Error 1
make[3]: Leaving directory '/home/paul/mcpe_viz/build'
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/mcpe_viz.dir/all' failed
make[2]: *** [CMakeFiles/mcpe_viz.dir/all] Error 2
make[2]: Leaving directory '/home/paul/mcpe_viz/build'
Makefile:83: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/home/paul/mcpe_viz/build'
Makefile:6: recipe for target 'cmakebuild' failed
make: *** [cmakebuild] Error 2
Any ideas why this is failing? I'm build on Arch Linux 64 bit
Pick one please!
so i came across this problem where layers wont be loaded if it is served through a XAMPP it will say "that image is not available...."
i dont know this is the server fault or mcpe viz itself but please investigate
detail:
XAMPP v3.2.1
localhost
thanks
Nice work getting MCPE VIZ working with the 1.0 update.
I did find though, that I encountered a crash when I ran MCPEVIZ on a world where I had entered the End.
Here is a world to repro the crash: MCPEVIZ Crash Repro.mcworld.zip
Hey Plethora,
In checking out the fixes for #15, I found that spawnable blocks were showing on top of a structure that was at the prior-to-v1.0 height limit.
Here is the structure at one layer underneath the lit layer:
Here is the structure at the lit layer, with several rings of jack-o-lanterns & torches:
Here is the structure at one layer above the lit layer:
It seems to suggest that the blocks one above jack-o-lanterns are spawnable and that a ring one block up and one over from a ring of torches is spawnable.
I'm also getting several of these messages in the map generation log:
WARNING: UNKNOWN CHUNK VERSION! overworld 0x76 chunk (world format version): v=3
Is this suggesting that it's using the v2 processing functions because it doesn't recognize the v=3
world format version token, and if so, is there an option to force it to use the v3 functions/world height?
Thanks,
Kyle
Starting failing to compile - I am assuming it is because of the recent 1.1.0 update, assuming I'm not the only one getting errors now. It gets to different parts of the progress before it fails though when I rerun it, which I find odd.
I actually run this automatically every day on my Linux server through WINE. It seems to work fine through WINE and I hope it continues to. Thanks for your work on this software - it's really useful.
For this report, though, I downloaded and ran on a Windows 10 machine as well. I ran x32 and x64 and all have failed. Sometimes it fails even before the first 'Processing records...' message. I tried verbose output but it didn't seem to give anything more specific on the failure.
Thanks.
mcpe_viz v0.0.31 by Plethora777
Reading XML from C:\Users\rawdr\Downloads\mcpe_viz-master\mcpe_viz.win64/mcpe_viz.xml
Reading config from C:\Users\rawdr\Downloads\mcpe_viz-master\mcpe_viz.win64/mcpe_viz.cfg
parseLevelFile: name=C:/Users/rawdr/Downloads/DRRv2/level.dat version=5 len=945
Found World Spawn: x=4 y=32767 z=4
Level name is [DRRv2]
DB Open: dir=C:/Users/rawdr/Downloads/DRRv2
DB Open Status: OK (block_size=4096 bloom_filter_bits=10)
Scan keys to get world boundaries
Bounds (chunk): DimId=0 X=(-140 141) Z=(-220 114)
Bounds (pixel): DimId=0 X=(-2240 2256) Z=(-3520 1824) Image=(4512 5360)
Bounds (chunk): DimId=1 X=(-54 42) Z=(-36 59)
Bounds (pixel): DimId=1 X=(-864 672) Z=(-576 944) Image=(1552 1536)
Bounds (chunk): DimId=2 X=(0 0) Z=(0 0)
Bounds (pixel): DimId=2 X=(0 0) Z=(0 0) Image=(16 16)
280265 records
Active 'hide-top', 'force-top', and 'geojson-block':
'geojson' block: overworld - End Portal Frame (dimId=0 blockId=120 (0x78))
'hide-top' block: nether - Bedrock (dimId=1 blockId=7 (0x07))
'hide-top' block: nether - Netherrack (dimId=1 blockId=87 (0x57))
'hide-top' block: nether - Lava (dimId=1 blockId=10 (0x0a))
'hide-top' block: nether - Stationary Lava (dimId=1 blockId=11 (0x0b))
Parse all leveldb records
WARNING: getBlockName failed to find id=223 blockdata=0
WARNING: getBlockName failed to find id=229 blockdata=0
WARNING: getBlockName failed to find id=231 blockdata=0
WARNING: getBlockName failed to find id=225 blockdata=0
WARNING: getBlockName failed to find id=234 blockdata=0
WARNING: getBlockName failed to find id=226 blockdata=0
WARNING: getBlockName failed to find id=223 blockdata=0
WARNING: getBlockName failed to find id=229 blockdata=0
WARNING: getBlockName failed to find id=231 blockdata=0
WARNING: getBlockName failed to find id=225 blockdata=0
WARNING: getBlockName failed to find id=234 blockdata=0
WARNING: getBlockName failed to find id=226 blockdata=0
Processing records: 10000 / 280265 (3.6%)
Processing records: 20000 / 280265 (7.1%)
Processing records: 30000 / 280265 (10.7%)
Processing records: 40000 / 280265 (14.3%)
Processing records: 50000 / 280265 (17.8%)
Processing records: 60000 / 280265 (21.4%)
Processing records: 70000 / 280265 (25.0%)
Processing records: 80000 / 280265 (28.5%)
Processing records: 90000 / 280265 (32.1%)
Processing records: 100000 / 280265 (35.7%)
Processing records: 110000 / 280265 (39.2%)
Processing records: 120000 / 280265 (42.8%)
Processing records: 130000 / 280265 (46.4%)
WARNING: getBlockName failed to find id=236 blockdata=2
WARNING: getBlockName failed to find id=236 blockdata=2
Processing records: 140000 / 280265 (50.0%)
Player Position: Dimension=0 Pos=(12.5, 82.62, 34.5 @ image 2252, 3554) Rotation=(336.640625, 0.000000)
Processing records: 150000 / 280265 (53.5%)
Processing records: 160000 / 280265 (57.1%)
Processing records: 170000 / 280265 (60.7%)
The current version seems to ignore lighting when determining spawnability, but I thought older versions took lighting into account. Attached is a simple creative world, where even spaces containing torches themselves are marked as spawnable. Is there something I'm doing wrong?
Here's the generation command I'm using:
mcpe_viz --grid --flush --auto-tile --db 3nUOACmgAAA= --out TestWorld/TestWorld --html-all --check-spawn=0,140,-45,180
Hi Plethora, qudos for the work you put in on this, excellent.
I've been testing the beta releases of MCPE 1.x and loaded up a world in MCPEV.
The following is totally understandable with the addition of "The End" dimension but thought the info might be of help to you.
While parsing I got the following in the helper log.
HEY! Found new chunkDimId=0x2 -- we are not prepared for that -- skipping chunk
When I opened the world there was a trail of missing chunks wherever I have been over the beta builds (1.0.0.0, 1.0.0.2, 1.0.0.7), see pre and post beta screens.
I'm pretty sure you'll be aware of this and probably working on it already :)
If there is any info I can provide including the world in question I'm more than happy to help where I can, just give me a shout.
Cheers,
Smeo.
I've just run the latest update - thanks for that - using the following command:
mcpe_viz --db /opt/shared/4lkBAJz-AAA=/ --out /opt/shared/mcpe/Ísland --html-most --no-force-geojson
and the blocks I've put in my mcpe_viz.cfg to be forced to top are not displaying at the top.
My .cfg looks like this: (Edit: I've no idea why this text is displaying so huge!)
hide-top: 1 0x07
hide-top: 1 0x57
hide-top: 1 0x0a
hide-top: 1 0x0b
force-top: 0 0x34
force-top: 1 0x34
force-top: 0 0x38
force-top: 0 0x42
force-top: 0 0x78
geojson-block: 0 0x78
In particular, I'm expecting to see diamonds and railtrack at the surface, but I do not.
Plethora,
I sent you a message via Reddit not sure if it went through but basically just me expressing my willingness to help. here are some of the Errors I am getting with this version.
I am using Powershell to run the program, this is the command line I am using to run it very simple nothing fancy.
./mcpe_viz --db C:/Users/jmcavoy/Desktop/minecraftWorlds/Realm/ --out C:/Users/jmcavoy/Desktop/minecraftWorlds/Output --html-all
Here is a list of the most prevalent errors I am seeing while the program runs.
WARNING: getItemName failed to find id=455 extradata=0 This one I know is the Trident
If I can stop these from showing up I will have better luck finding more I just need to know/figureout the correct syntax.
WARNING: getBlockByUname failed to find uname=minecraft:kelp
WARNING: getBlockByUname failed to find uname=minecraft:seagrass
WARNING: getBlockByUname failed to find uname=minecraft:grass
More Errors:
WARNING: getBlockByUname failed to find uname=minecraft:concretePowder
WARNING: getBlockByUname failed to find uname=minecraft:seaLantern
WARNING: getBlockByUname failed to find uname=minecraft:stripped_jungle_log
WARNING: getItemName failed to find variant id=383 extradata=120
WARNING: getItemName failed to find id=383 extradata=120
WARNING: getBlockName failed to find variant id=144 blockdata=0
WARNING: getBlockName failed to find id=144 blockdata=0
NBT exception: (Invalid tag type: 0) (eof=false) (is=false)
NBT exception: (Invalid tag type: 18) (eof=false) (is=false)
NBT exception: (Invalid tag type: 81) (eof=false) (is=false)
NBT exception: (Invalid tag type: 80) (eof=false) (is=false)
NBT exception: (Invalid tag type: 85) (eof=false) (is=false)
NBT exception: (Invalid tag type: 51) (eof=false) (is=false)
NBT exception: (Invalid tag type: 12) (eof=false) (is=false)
NBT exception: (Invalid tag type: 17) (eof=false) (is=false)
NBT exception: (Invalid tag type: 16) (eof=false) (is=false)
NBT exception: (Invalid tag type: 87) (eof=false) (is=false)
NBT exception: (Invalid tag type: 162) (eof=false) (is=false)
NBT exception: (Invalid tag type: 106) (eof=false) (is=false)
NBT exception: (Invalid tag type: 24) (eof=false) (is=false)
ERROR: Unknown biome 42 0x2d
ERROR: Unknown biome 43 0x2d
ERROR: Unknown biome 44 0x2d
ERROR: Unknown biome 45 0x2d
After all that the program crashes here and throws me back to the prompt
WARNING: getBlockByUname failed to find uname=minecraft:seagrass
WARNING: getBlockByUname failed to find uname=minecraft:seagrass
WARNING: getBlockByUname failed to find uname=minecraft:seagrass
WARNING: getBlockByUname failed to find uname=minecraft:seagrass
WARNING: getBlockByUname failed to find uname=minecraft:grass
Do Output: nether
Generate Image
Generate Biome Image
Generate Grass Image
Generate Height Column Image
Generate Height Column (grayscale) Image
Generate Height Column (alpha) Image
Generate Block Light Image
Generate Sky Light Image
Generate Slime Chunks Image
Generate Shaded Relief Image
Generate full-size slices
Writing all images in one pass
PS C:\Users\jmcavoy\Downloads\mcpe_viz-master\mcpe_viz>
Thanks again for the program, please let me know how I can help
map gen from mcpe android 1.2.9,
#34 comment 4,5
I've tired in both Chrome and Firefox however find signs is not working, blank or not.
Also wondering if we will be able to see the contents of shulkers?
Thanks for the great program, it has been very useful keeping our realm honest.
not a big deal as I know what they are on my map.. but wondering if this is a configuration error on my part or not.
Also upon hitting GO I am getting a lot of the below errors 6-10 different "id="
WARNING: getItemName failed to find id=445 extradata=0
BTW thank you so much for this program since Microsoft removed the coordinates from Survival this program has been invaluable.
Let me know if there is anything else I can help with.
Picotazo
Ok I'm not sure what I have done here but right now I have bubble columns showing up on my maps by adding:
and remarking out:
However now Packed Ice is being identified on my maps as Bubble columns and Kelp is being identified as Shulker boxes of varying colors.
The odd thing is other Shulker boxes still identify properly
mcpe_viz.txt
I attached my mcpe_viz.xml file changed the extension to .txt
any help in debugging what I screwed up would be awesome.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.