Help understandnig the world format
I'm trying to parse the minetest map.sqlite format, mostly relying on the world.txt documentation. I'm a bit stuck on this bit:
What do "u16[4096]" and "u8[4096]" mean in this context?
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
zlib-compressed node data:
if content_width == 1:
- content:
u8[4096]: param0 fields
u8[4096]: param1 fields
u8[4096]: param2 fields
if content_width == 2:
- content:
u16[4096]: param0 fields
u8[4096]: param1 fields
u8[4096]: param2 fields
- The location of a node in each of those arrays is (z*16*16 + y*16 + x).
What do "u16[4096]" and "u8[4096]" mean in this context?