1.: Find something you want to convert2.: Open the world in MCEdit and find it again3.: Select the area you want to convert4.: Click the filters tab, select Export to Minetest MTS schematic, enter a name, set options which mods you want to use and click Filter5.: You should find a file like this, copy it to Minetest folder/worlds/World name/schems6.: Open Minetest, find an empty area, set pos1, and use //mtschemplace Schematic name. If you have used the legacy filter use //load instead

Last edited by sfan5 on Mon Mar 20, 2017 20:39, edited 3 times in total.

I can't stress enough how right sfan5 is here, never under any circumstances whatsoever should you run a program as root or admin (as your system may call it) unless there is no way on this green earth to avoid doing so, even if it's a program you trust and/or is by a trustworthy author.

I love this!
Over the last couple of years I made a lot of stuff in Minecraft that I'd like to see in Minetest.
I put a lot of time, energy and love in some buildings and by using this filter they're neither lost, nor do I have to build them again from scratch.

rcthomas93 wrote:Everytime I try to save my region the program freezes and I'm forced to close.

I have used the script to convert large areas such as 640*640*640. The converting process can take some time, my record lies somewhere around 4 hours. The program screen did seem to freeze during this process but I could see the resulting schematic file grow. I was only sure the converting was finished after the schematic file did not change size for several minutes. Maybe a feedback on converting progress and a final "done" message in a prominent way might be usefull.

The only problem with large schematic files though is that the WorldEditor cannot process them as the Lua environment seems to run out of memory at some point although enough RAM memory seems to be provided by the system.

I think converting large maps ought to be better done by working on the map database while the game does not run. That way, it will be way faster and more reliable. There's some promising code at github done by kwolekr, but I didn't get it to run yet.

A standalone tool to manipulate the map database file would indeed be great. Sadly the format used to store the map is a little more difficult than I had hoped.

The positions address mapblocks wich are stored as blobs, which are like compressed folders containing not only information about the positions of the (16x16x16) nodes within the mapblock but also other stuff such as information about the exposition to light. This pretty much makes any off the shelf tools for manipulating sqlite files useless.