What`s mapshrink?

Post Reply
User avatar
Andrey01
Member
Posts: 2579
Joined: Wed Oct 19, 2016 15:18
GitHub: Andrey2470T
In-game: Andrey01
Location: Russia, Moscow

What`s mapshrink?

by Andrey01 » Post

For the first time i saw this term on just test topic from sorcerykid and i would like to know what it is.

User avatar
maikerumine
Member
Posts: 1420
Joined: Mon Aug 04, 2014 14:27
GitHub: maikerumine
In-game: maikerumine

Re: What`s mapshrink?

by maikerumine » Post

Andrey01 wrote:For the first time i saw this term on just test topic from sorcerykid and i would like to know what it is.
Read the first post in just test thread.
It is lags map unexplore script.

It deletes map blocks where there were no nodes added that are in the script like:
Torch bones cobble stone brick wood rail chest locked fence and glass I believe.

Then on server restart the map is smaller in file size and new areas explore will have new ores in stone and fresh map blocks.
Talamh Survival Minetest-->viewtopic.php?f=10&t=12959

BBmine
Member
Posts: 3476
Joined: Sun Jul 12, 2015 22:51
GitHub: BBmine
IRC: BBmine
In-game: Baggins
Location: USA

Re: What`s mapshrink?

by BBmine » Post

maikerumine wrote:
Andrey01 wrote:For the first time i saw this term on just test topic from sorcerykid and i would like to know what it is.
Read the first post in just test thread.
It is lags map unexplore script.

It deletes map blocks where there were no nodes added that are in the script like:
Torch bones cobble stone brick wood rail chest locked fence and glass I believe.

Then on server restart the map is smaller in file size and new areas explore will have new ores in stone and fresh map blocks.
Mapgen griefs are caused by this failing. (I used to think that mapgen (whoever he is! :P) got mad or something and ripped up the server, back when I was a complete and total n00b.)

User avatar
sorcerykid
Member
Posts: 1847
Joined: Fri Aug 26, 2016 15:36
GitHub: sorcerykid
In-game: Nemo
Location: Illinois, USA

Re: What`s mapshrink?

by sorcerykid » Post

For the gory, technical details, please look here:

viewtopic.php?f=14&t=10333

I believe that lag updates his GitHub repo fairly regularly too, so the mapshrink scripts should always be compatible with the latest stable branch of Minetest.

Post Reply

Who is online

Users browsing this forum: No registered users and 21 guests