Minetest recalculate the old levels with new release optins?

Post Reply
User avatar
Codesound
Member
Posts: 365
Joined: Thu Jun 09, 2016 14:56

Minetest recalculate the old levels with new release optins?

by Codesound » Post

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: 845
Joined: Sun Jan 26, 2014 17:01
GitHub: gaelysam
IRC: Gael-de-Sailly
In-game: Gael-de-Sailly gaelysam
Location: Voiron, France

Re: Minetest recalculate the old levels with new release opt

by Gael de Sailly » Post

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.
Just realize how bored we would be if the world was perfect.

User avatar
Codesound
Member
Posts: 365
Joined: Thu Jun 09, 2016 14:56

Re: Minetest recalculate the old levels with new release opt

by Codesound » Post

Many thanks for this information....
I hope that in the future, the developers add the magic "recalculate" button for old mapgen.... ;-)

thanks again..... R

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

Re: Minetest recalculate the old levels with new release opt

by Gael de Sailly » Post

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.
Just realize how bored we would be if the world was perfect.

User avatar
Codesound
Member
Posts: 365
Joined: Thu Jun 09, 2016 14:56

Re: Minetest recalculate the old levels with new release opt

by Codesound » Post

OK, thanks really

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

R

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

Re: Minetest recalculate the old levels with new release opt

by MrUnderhill89 » Post

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: 845
Joined: Sun Jan 26, 2014 17:01
GitHub: gaelysam
IRC: Gael-de-Sailly
In-game: Gael-de-Sailly gaelysam
Location: Voiron, France

Re: Minetest recalculate the old levels with new release opt

by Gael de Sailly » Post

MrUnderhill89 wrote:Not sure if it takes new worldgen parameters into account
probably it does, i suppose it's based on deleteblocks.
Just realize how bored we would be if the world was perfect.

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests