Page 1 of 1

Converter between world generators?

PostPosted: Sat Oct 17, 2015 22:18
by tomlukeywood
can you switch between v6 and v7 world types on a world originally made for v6?

Re: Converter between world generators?

PostPosted: Sat Oct 17, 2015 22:25
by kaadmy
Not really, unless you don't mind having straight edges/cliffs in areas that have not been generated before.
Also, if, for example, v7 had a terrain about 80+ nodes higher than v6, you might get terrain floating in the air.

Re: Converter between world generators?

PostPosted: Sat Oct 17, 2015 22:52
by Don
It would be interesting to try it. Make a backup of your world and then switch to a different gen.

Re: Converter between world generators?

PostPosted: Sat Oct 24, 2015 23:28
by tomlukeywood
Don wrote:It would be interesting to try it. Make a backup of your world and then switch to a different gen.

i have made a backup of my world how do i switch the gen?

Re: Converter between world generators?

PostPosted: Sat Oct 24, 2015 23:42
by Don
I could be wrong but I think you go into your world folder and open the file map_meta.txt. Find the line that says mg_name = v6 and change it to the gen you want. I have not tried this so I am not positive.

Re: Converter between world generators?

PostPosted: Sun Oct 25, 2015 10:44
by tomlukeywood
It seems to have worked well

i edited the map_meta.txt file and just used gedit to replace all v6 strings with v7
and it definitely seems to of worked

here is a video showing it running:
http://92.19.232.58:82/files/Minetest_c ... to_v7.webm

Re: Converter between world generators?

PostPosted: Sun Oct 25, 2015 11:48
by Don
Glad it worked for you. If you do fine a spot where the old map and new map looks bad you could try deleting the area.
Just make sure it is an area that you have no buildings. It deletes everything from the map in that area.
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
/deleteblocks here [radius] - Removes the MapBlock the player is in, from the database. As this triggers mapgen, this might start mechanisms like mud reflow or cavegen which very likely affect mapblocks outside the specified range. 113 blocks are a safe-distance for a server with no interfering mods. Radius is an optional argument to specify the range in which MapBlocks are deleted


This was taken from this page. http://wiki.minetest.net/Server_commands