Page 1 of 1

Minetest recalculate the old levels with new release optins?

PostPosted: Wed Dec 28, 2016 10:11
by Codesound
Hi...

Minetest recalculates the old levels by adding the options introduced in the new release?
for example if they are introduced new trees in the new release, when I play in old levels, these trees are introduced?
or when I set different options in one old level "map_meta.txt" file, the differences are recalculated?

thanks for your support,

R

Re: Minetest recalculate the old levels with new release opt

PostPosted: Fri Dec 30, 2016 23:52
by Gael de Sailly
Hi Codesound,
Minetest doesn't recalculate existing zones.
If you change something about map generation (new trees or different settings in map_meta.txt), it does not change anything in already existing areas, which have already been generated. But if you go to an unexplored place (an area which doesn't exist yet in database), it will be immediately generated, and the new parameters will take effect. So if you change mapgen params, you may get some discontinuities between new and old terrain.

If you update to the latest version, you will see new biomes and plants appearing at new places. That's the only change that could create discontinuities, because biome data aren't stored in map_meta.txt.
Some default parameters have been modified, and will be effective for new worlds but map_meta of old worlds will not be changed at all.

Re: Minetest recalculate the old levels with new release opt

PostPosted: Sat Dec 31, 2016 17:14
by Codesound
Many thanks for this information....
I hope that in the future, the developers add the magic "recalculate" button for old mapgen.... ;-)

thanks again..... R

Re: Minetest recalculate the old levels with new release opt

PostPosted: Sat Dec 31, 2016 17:55
by Gael de Sailly
Codesound wrote:I hope that in the future, the developers add the magic "recalculate" button for old mapgen.... ;-)

The problem is: how to deal with changes that players made? Should them be preserved? And if the new terrain is lower, will they float in the sky? I think a really reliable "recalculate" feature is really unlikely to be implemented.

But you can update a map without preserving building and various changes made to the environment. Simply delete "map.sqlite" to reset the whole world (it doesn't change the parameters, that are in map_meta.txt), or run the command "/deleteblocks pos1 pos2" to delete (and regenerate) given parts of the world.

Re: Minetest recalculate the old levels with new release opt

PostPosted: Sun Jan 01, 2017 08:35
by Codesound
OK, thanks really

I'm a player not a Minetest programmer...
I will mention bugs and suggestions
thanks again

R

Re: Minetest recalculate the old levels with new release opt

PostPosted: Wed Jan 11, 2017 17:14
by MrUnderhill89
I think the WorldEdit mod has the option to regenerate a section of the map, if you absolutely don't care about wiping out player changes. Not sure if it takes new worldgen parameters into account, but it's worth a try. :)

Re: Minetest recalculate the old levels with new release opt

PostPosted: Wed Jan 11, 2017 21:11
by Gael de Sailly
MrUnderhill89 wrote:Not sure if it takes new worldgen parameters into account

probably it does, i suppose it's based on deleteblocks.