Minetest recalculate the old levels with new release optins?

Codesound
Member
 
Posts: 79
Joined: Thu Jun 09, 2016 14:56

Minetest recalculate the old levels with new release optins?

by Codesound » Wed Dec 28, 2016 10:11

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
 

User avatar
Gael de Sailly
Member
 
Posts: 478
Joined: Sun Jan 26, 2014 17:01
Location: Moselle, France
GitHub: Gael-de-Sailly
IRC: Gael-de-Sailly
In-game: Gael-de-Sailly

Re: Minetest recalculate the old levels with new release opt

by Gael de Sailly » Fri Dec 30, 2016 23:52

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.
Very busy this year too, so do not expect me to be very active on the forum or in game. But I'm not about to drop Minetest forever :)
 

Codesound
Member
 
Posts: 79
Joined: Thu Jun 09, 2016 14:56
 

User avatar
Gael de Sailly
Member
 
Posts: 478
Joined: Sun Jan 26, 2014 17:01
Location: Moselle, France
GitHub: Gael-de-Sailly
IRC: Gael-de-Sailly
In-game: Gael-de-Sailly

Re: Minetest recalculate the old levels with new release opt

by Gael de Sailly » Sat Dec 31, 2016 17:55

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.
Very busy this year too, so do not expect me to be very active on the forum or in game. But I'm not about to drop Minetest forever :)
 

Codesound
Member
 
Posts: 79
Joined: Thu Jun 09, 2016 14:56
 

MrUnderhill89
Member
 
Posts: 10
Joined: Fri Jun 03, 2016 13:55
GitHub: mrunderhill89

Re: Minetest recalculate the old levels with new release opt

by MrUnderhill89 » Wed Jan 11, 2017 17:14

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. :)
 

User avatar
Gael de Sailly
Member
 
Posts: 478
Joined: Sun Jan 26, 2014 17:01
Location: Moselle, France
GitHub: Gael-de-Sailly
IRC: Gael-de-Sailly
In-game: Gael-de-Sailly

Re: Minetest recalculate the old levels with new release opt

by Gael de Sailly » Wed Jan 11, 2017 21:11

MrUnderhill89 wrote:Not sure if it takes new worldgen parameters into account

probably it does, i suppose it's based on deleteblocks.
Very busy this year too, so do not expect me to be very active on the forum or in game. But I'm not about to drop Minetest forever :)
 


Return to Feature Discussion



Who is online

Users browsing this forum: No registered users and 1 guest