暂无描述

bzt 3e1b15ec41 Fixed setting chunk length 8 月之前
data 04901d0e6b Improved schem import and more blocks 3 年之前
docs e4c48b443f Add support for Minecraft Worldedit 7.3.0 schematic format 8 月之前
etc 56422234cf Added node names support to GIMP Palette output 2 年之前
examples c36e2ea891 Read back blueprint images 5 年之前
mt-mod 2d331ad6b0 Failsafe in case minetest.get_modpath doesn't work 1 年之前
src 3e1b15ec41 Fixed setting chunk length 8 月之前
LICENSE cc618ba61c Initial commit 5 年之前
README.md c19ac61e8c Sponge Schematic import 4 年之前
mtsedit-i686-win.zip 3e1b15ec41 Fixed setting chunk length 8 月之前
mtsedit-intel-macosx.zip 19444bcf2a Fixed listing of supported schem formats 3 年之前
mtsedit-x86_64-linux.tgz 3e1b15ec41 Fixed setting chunk length 8 月之前

README.md

Minetest MTS Editor

This is a simple editor for Minetest Schematic files (MTS)

Batch Mode

You can convert MTS files and other formats, generate preview images or blueprints for them from a script with this tool. You can also generate the block images for the editor. Read more.

Interactive Mode

Actually the editor consist of two independent components. One is running outside of the game, and since it's a GUI application, I think a picture can tell more than thousand words. Read the editor's User Manual for more details.

The User Interface is translatable. Supported languages: English, Magyar, Español, Français, Deutch, Polski, Русский, Português and Italiano.

The other component is a Minetest mod, under the mt-mod directory. This small Lua script runs inside the game, and can import your edited MTS files into the game's world. It can also save MTS files and it's capable of generating the blocks data required by the editor (if the provided definitons are not enough for you).

Installation

To install from source, read compilation instructions.

Under Linux

  1. download mtsedit-x86_64-linux.tgz
  2. as root, extract it to "/" (if you don't trust it, check the tarball first): "sudo tar -C / -xzvf mtsedit-x86_64-linux.tgz"
  3. I guess you know your distro enough to assign a program to an extension. There are many ways, but if your desktop environment recognizes the MTSEdit application from the installed .desktop file, then file assosiation has already taken care for you.
  4. if the MTSEdit application appears in the application menu, but .mts files are still not recognized, then as root add the model/vnd.mts mts schematic line to "/etc/mime.types".

Under Windows

  1. download mtsedit-i686-win.zip
  2. unpack it into "C:\Program Files (x86)"
  3. copy "C:\Program Files (x86)\MTSEdit\MTSEdit.lnk" to your desktop or into your menu directory (whereever you like)
  4. open My Computer, then from the "Tools" menu, select "Folder Options"
  5. click on "File Types" tab
  6. scroll down to "MTS" (if you can't find it, click on "New" button and add it)
  7. click on "Change" button
  8. click on "Browse..." button
  9. choose "C:\Program Files (x86)\MTSEdit\mtsedit.exe"
  10. check "Always use the selected program to open this kind of file"
  11. click on "Ok" button

Under MacOSX

  1. download SDL2-X.dmg under Runtime Binaries
  2. open it with Finder, and drag'n'drop SDL2.framework to "/Library/Frameworks"
  3. download mtsedit-intel-macosx.zip
  4. unpack it into "/Applications"
  5. in the Finder, find an .mts file
  6. pull down the "File" menu and select "Get info" or press Command+I
  7. expand the "Open With" submenu
  8. choose "MTSEdit.app"
  9. click on "Change All..." button

Installing the Minetest mod (common to all OS)

To install the Minetest mod, run the following command in a Terminal using your Minetest mods directory as parameter, for example:

mtsedit -i ~/.minetest/mods

or

mtsedit.exe -i "C:\\Program Files (x86)\Minetest\mods"

Enjoy!

Known Bugs

Zooming can be slow, because it scales blocks in run-time. Using a cache would require double the memory footprint. I suggest to edit on 100% zoom, as that's using a different, fast blitting function.

Rotations are picked numerically, not necessarily in rotation CW / CCW order (but you can set all rotations, and they will be saved correctly, it's just you might have to click more to get the one you want).

bzt