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
- download mtsedit-x86_64-linux.tgz
- as root, extract it to "/" (if you don't trust it, check the tarball first): "sudo tar -C / -xzvf mtsedit-x86_64-linux.tgz"
- 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.
- 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
- download mtsedit-i686-win.zip
- unpack it into "C:\Program Files (x86)"
- copy "C:\Program Files (x86)\MTSEdit\MTSEdit.lnk" to your desktop or into your menu directory (whereever you like)
- open My Computer, then from the "Tools" menu, select "Folder Options"
- click on "File Types" tab
- scroll down to "MTS" (if you can't find it, click on "New" button and add it)
- click on "Change" button
- click on "Browse..." button
- choose "C:\Program Files (x86)\MTSEdit\mtsedit.exe"
- check "Always use the selected program to open this kind of file"
- click on "Ok" button
Under MacOSX
- download SDL2-X.dmg under Runtime Binaries
- open it with Finder, and drag'n'drop SDL2.framework to "/Library/Frameworks"
- download mtsedit-intel-macosx.zip
- unpack it into "/Applications"
- in the Finder, find an .mts file
- pull down the "File" menu and select "Get info" or press Command+I
- expand the "Open With" submenu
- choose "MTSEdit.app"
- 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