Page 1 of 1

How are maps stored in the database?

PostPosted: Tue Jan 03, 2017 10:20
by burli
I'm curious and I looked into a sqlite file with a DB Browser. There is just one table with a pos column and a blob. In the pos column there are coordinates as a hash value, I guess. But I'm a little bit surprised that I can find something like this in the blob

default:snowair default:stone default:dirt_with_snow  default:dirt default:stone_with_coal


What is stored in these blobs? Is each blob one map block?

Re: How are maps stored in the database?

PostPosted: Tue Jan 03, 2017 13:23
by hajo
burli wrote:I'm curious and I looked into a sqlite file with a DB Browser.
There is just one table with a pos column and a blob. ..
What is stored in these blobs?

Searching the forum for chunk/mapchunk/sql/database/mapgen ...

How about "HELP: minetest .sqlite format" ?

Re: How are maps stored in the database?

PostPosted: Tue Jan 03, 2017 14:39
by sfan5