Go to file
Pantyhose-X 1601172c6b Update README.md 2022-01-30 23:42:11 -08:00
.gitignore gitignore. 2015-11-21 21:56:59 -08:00
README.md Update README.md 2022-01-30 23:42:11 -08:00
TODO New readme text, todo list. 2015-11-19 20:13:34 -08:00
block.py Cleanfile (tabs/spaces etc). 2018-03-07 22:42:54 -08:00
content.py Fix up ifdefery 2016-01-01 12:39:34 -08:00
depends.txt Add the loading code too 2014-02-08 08:05:53 +01:00
entities.py block.py: use logging to report issues 2016-08-18 21:29:10 +02:00
itemstack.py Add metadata 2014-03-04 14:04:53 +01:00
map_content.txt Remove nyan blocks (sponge) 2018-03-07 22:44:37 -08:00
mcimport.py fix shebang line 2019-12-09 20:10:11 -08:00
mcimport.sh One minor message. 2016-03-26 22:46:32 -07:00
nbt.py Add support for NBT TAG_Long_Array 2019-08-29 11:33:16 +02:00
serialize.py Add metadata 2014-03-04 14:04:53 +01:00
tile_entities.py New tile entity name for noteblock. 2017-02-22 22:47:39 -08:00

README.md

mcimport

Convert Minecraft maps to Minetest worlds

The process is offline. Minecraft should not be running on the world that is to be converted. The output should be an empty folder, and no map.sqlite should be present in the empty folder.

The output is a world folder that is playable, permitted that the required minetest mods are installed. If mods are missing, you will encounter "Unknown" blocks in the minetest world.

This mcimport fork was created to improve on the existing mcimport project, with one significant change: This form aims to create playable minetest worlds where stuff works:

  • chests can be used to put stuff in
  • doors open and close
  • simple mesecons circuits may work
  • furnaces work

Also, the assumption is that converted maps are for multiplayer use, and that the most important motivation for using this converter is to preserve previously custom built objects and buildings, but not meant to preserve the gameplay style and feel of minecraft. As such, there are numerous blocks that are not converted 1:1 from MC to MT. A good example is Lapis Lazuli. LL ore will be converted to plain stone, and LL blocks into blue wool, simply because there is no reasonable equivalent in MT that is an actually useful block and not something created purely to copy MC. This project also aims to never convert blocks to "Unknown" nodes and strives to leave a playable are that is friendly for users performing a one-time conversion.

  • some flowers are approximations
  • double plants may end up being single node blocks
  • wood types are similarly not an exact copy
  • until fixed, beds, doors, fences, walls are likely broken
  • signs convert, but MT can't rotate them in 30 degree angles

There are a large number of things that are just never going to be convertable, and so the following will likely never work and are therefore converted to air blocks. Entities are readily spawned by several mob mods in minetest, so conversion is likely not critical to users, and left out.

  • crafting table
  • hoppers, dispensers, droppers
  • entities

Usage:

You'll need to use a Linux system and have python installed. The easiest way to invoke the converter is to run the mcimport.sh script without any parameters. This takes you through a bunch of screens that you can use to select a world and configure a few settings.

win10

  • python Installation, Add Python to PATH
  • Copy the map to the mcimport-master folder
  • Command Prompttomcimport-master location, Key in python mcimport.py Enter out Enter Replace with your map nameout is your name after Convert.
  • you need Download Map Or go to the map after you Convert . Open the get-mods.sh with Notepad to download the mods link. Copy mod to minetest\mods,Copy map to minetest\worlds
  • Currently; you need to find the minecraft coordinates, and convert them before teleporting to the minetest ones.
Coordinate Conversion from Minecraft to Minetest:

X = Approximately +16 nodes
Y = Approximately -64 nodes
Z = The number is approximately inverted. -16 nodes

A general Example of converted coordinates:

 Minecraft: 100, 1, -100 
 Minetest: 116, -63, 84

I took a quick look at that map's coordinates in minecraft. You'll need to teleport/fly to the following coordinates in your converted world.

/grantme all
/teleport 116,-63,-100

License:

Copyright (C) 2016 - Nore, dgm555, sofar and others

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Except as contained in this notice, the name of the authors shall not be used in advertising or otherwise to promote the sale, use or other dealings in this Software without prior written authorization from the authors.