Convert (parts of) Minecraft maps to WorldEdit schematics

sfan5
Moderator
Posts: 4094
Joined: Wed Aug 24, 2011 09:44
GitHub: sfan5
IRC: sfan5
Location: Germany

Convert (parts of) Minecraft maps to WorldEdit schematics

by sfan5 » Post

Convert parts of Minecraft maps to Minetest WorldEdit schematics

What you need
Download: Recommend (mts) / Legacy (we)
Put this in MCEdit folder/filters

Step by Step Tutorial:

1.: Find something you want to convert
Image
2.: Open the world in MCEdit and find it again
Image
3.: Select the area you want to convert
Image
4.: Click the filters tab, select Export to Minetest MTS schematic, enter a name, set options which mods you want to use and click Filter
Image
5.: You should find a file like this, copy it to Minetest folder/worlds/World name/schems
Image
6.: Open Minetest, find an empty area, set pos1, and use //mtschemplace Schematic name. If you have used the legacy filter use //load instead
Image
Last edited by sfan5 on Mon Mar 20, 2017 20:39, edited 3 times in total.
Mods: Mesecons | WorldEdit | Nuke & Minetest builds for Windows (32-bit & 64-bit)

User avatar
Evergreen
Member
Posts: 2135
Joined: Sun Jan 06, 2013 01:22
GitHub: 4Evergreen4
IRC: EvergreenTree
In-game: Evergreen
Location: A forest in the midwest
Contact:

by Evergreen » Post

Hybrid Dog wrote:great, but mlnecraft doesn't work for me
You don't need minecraft. You only need a world file, MCedit, his filter, and minetest.
Back from the dead!

issa
Member
Posts: 121
Joined: Wed Apr 03, 2013 19:01

by issa » Post

very very cooo l !

sfan5
Moderator
Posts: 4094
Joined: Wed Aug 24, 2011 09:44
GitHub: sfan5
IRC: sfan5
Location: Germany

by sfan5 » Post

Do NOT run any program that doesn't need to be run as root, as root
Also, you need to install pygame and numpy
Mods: Mesecons | WorldEdit | Nuke & Minetest builds for Windows (32-bit & 64-bit)

User avatar
VanessaE
Moderator
Posts: 4655
Joined: Sun Apr 01, 2012 12:38
GitHub: VanessaE
IRC: VanessaE
In-game: VanessaE
Location: Western NC
Contact:

by VanessaE » Post

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.
You might like some of my stuff: Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (64-512px)

User avatar
Mossmanikin
Member
Posts: 599
Joined: Sun May 19, 2013 16:26
Location: where we don't speak english.

by Mossmanikin » Post

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.

Noob 4 life!
My stuff

User avatar
philipbenr
Member
Posts: 1897
Joined: Fri Jun 14, 2013 01:56
GitHub: philipbenr
IRC: philipbenr
In-game: robinspi
Location: United States

by philipbenr » Post

Could you be able to copy MC Servers with this in any way and run them as a Minetest one? Or would that be illegal or something?

sfan5
Moderator
Posts: 4094
Joined: Wed Aug 24, 2011 09:44
GitHub: sfan5
IRC: sfan5
Location: Germany

by sfan5 » Post

philipbenr wrote:Could you be able to copy MC Servers with this in any way and run them as a Minetest one?
Yes that would work
philipbenr wrote:Or would that be illegal or something?
No
Mods: Mesecons | WorldEdit | Nuke & Minetest builds for Windows (32-bit & 64-bit)

User avatar
Evergreen
Member
Posts: 2135
Joined: Sun Jan 06, 2013 01:22
GitHub: 4Evergreen4
IRC: EvergreenTree
In-game: Evergreen
Location: A forest in the midwest
Contact:

by Evergreen » Post

philipbenr wrote:Would that be illegal or something?
No. Unless they have their map under license or something. :P
Back from the dead!

User avatar
philipbenr
Member
Posts: 1897
Joined: Fri Jun 14, 2013 01:56
GitHub: philipbenr
IRC: philipbenr
In-game: robinspi
Location: United States

by philipbenr » Post

cool. I think I'll go look up some stuff.

rcthomas93
Member
Posts: 22
Joined: Mon Apr 22, 2013 03:09

by rcthomas93 » Post

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

User avatar
THEGGABOOK77
Member
Posts: 140
Joined: Wed Jul 10, 2013 22:17
Location: This Post →

by THEGGABOOK77 » Post

Excellent, but the sense is that we do the constructions ...
190.31.223.213 : 30000 Is my Modern House server (Creative) And Totally Free
Join Now!
My Stuff
MY MODS: City Elements-Funny Signs

twoelk
Member
Posts: 1482
Joined: Fri Apr 19, 2013 16:19
GitHub: twoelk
IRC: twoelk
In-game: twoelk
Location: northern Germany

by twoelk » Post

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.

Sokomine
Member
Posts: 4276
Joined: Sun Sep 09, 2012 17:31
GitHub: Sokomine
IRC: Sokomine
In-game: Sokomine

by Sokomine » Post

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 list of my mods can be found here.

twoelk
Member
Posts: 1482
Joined: Fri Apr 19, 2013 16:19
GitHub: twoelk
IRC: twoelk
In-game: twoelk
Location: northern Germany

by twoelk » Post

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.

For example if I get the light stuff wrong and insert some terrain underground, would the result be similar to this? A generated terrain forced underground by raising the waterlevel for mapgen7

User avatar
LuxAtheris
Member
Posts: 169
Joined: Fri Oct 25, 2013 00:54
Location: Aether

by LuxAtheris » Post

When i try to open it,it always crashes
Believe you can and you’re halfway there.

sfan5
Moderator
Posts: 4094
Joined: Wed Aug 24, 2011 09:44
GitHub: sfan5
IRC: sfan5
Location: Germany

by sfan5 » Post

LuxAtheris wrote:When i try to open it,it always crashes
Open what?
If you mean MCEdit.. thatis not in my control
Mods: Mesecons | WorldEdit | Nuke & Minetest builds for Windows (32-bit & 64-bit)

Evolykane
Member
Posts: 23
Joined: Thu Dec 26, 2013 16:22

by Evolykane » Post

What is with Schematics from Minecraft Worldedit? I have made a Schematics in a FeedTheBeast World, can I drop this Schematics directly into the Schematics folder?

sfan5
Moderator
Posts: 4094
Joined: Wed Aug 24, 2011 09:44
GitHub: sfan5
IRC: sfan5
Location: Germany

by sfan5 » Post

Evolykane wrote:What is with Schematics from Minecraft Worldedit? I have made a Schematics in a FeedTheBeast World, can I drop this Schematics directly into the Schematics folder?
No, MC schematics are entirely incompatible with MT schematics
Also: you should be asking this question in the WorldEdit topic
Mods: Mesecons | WorldEdit | Nuke & Minetest builds for Windows (32-bit & 64-bit)

bentleysb
Member
Posts: 18
Joined: Sat Feb 09, 2013 02:18

by bentleysb » Post

Is there a way to port things without them being mirrored?

User avatar
AMMOnym
Member
Posts: 682
Joined: Tue Sep 10, 2013 14:18
IRC: AMMOnym
In-game: AMMOnym
Location: Slovakia

by AMMOnym » Post

Hello. I have one question. Can be this map converted to minetest (we) or it is too large? http://www.minecraftforum.net/topic/997 ... g-azeroth/
Last edited by AMMOnym on Thu Jan 30, 2014 16:14, edited 1 time in total.

twoelk
Member
Posts: 1482
Joined: Fri Apr 19, 2013 16:19
GitHub: twoelk
IRC: twoelk
In-game: twoelk
Location: northern Germany

by twoelk » Post

too large, lua will run out of memory.

do it in sections

User avatar
AMMOnym
Member
Posts: 682
Joined: Tue Sep 10, 2013 14:18
IRC: AMMOnym
In-game: AMMOnym
Location: Slovakia

by AMMOnym » Post

twoelk wrote:too large, lua will run out of memory.

do it in sections
thanks for answer. I could not test it becouse i have too slow pc

gsmanners
Member
Posts: 159
Joined: Fri Jan 10, 2014 21:37

by gsmanners » Post

6.8 GB maps... Jeez. Definitely want to divide that sucker up.

Sokomine
Member
Posts: 4276
Joined: Sun Sep 09, 2012 17:31
GitHub: Sokomine
IRC: Sokomine
In-game: Sokomine

by Sokomine » Post

gsmanners wrote: 6.8 GB maps... Jeez. Definitely want to divide that sucker up.
For that amount of data, writing a program to import it directly (or getting that one of kwolekr running), might be less work in the end.
A list of my mods can be found here.

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests