Blueprint export

master
bzt 2019-12-14 21:26:55 +01:00
parent 3be5cf1752
commit c08ba68220
1 changed files with 12 additions and 1 deletions

View File

@ -8,7 +8,7 @@ See also the [GUI usage](https://gitlab.com/bztsrc/mtsedit/blob/master/docs/usag
```
MineTest Schematics Editor by bzt Copyright (C) 2019 MIT license
./mtsedit [-h] [-v] [-l lang] [-d|-p|-P] [-m map] <.mts|.schematic> [out.mts]
./mtsedit [-h] [-v] [-l lang] [-d|-p|-P|-b] [-m map] <.mts|.schematic> [out.mts]
./mtsedit -g <block.png>
./mtsedit -t <blockimgs.csv> [blockid]
./mtsedit -i [Minetest mods dir]
@ -18,6 +18,7 @@ MineTest Schematics Editor by bzt Copyright (C) 2019 MIT license
-d: dump layers to output
-p: save preview
-P: save preview, cut structure in half
-b: save blueprint
-m map: replace block type mapping
-g: generate slab and stairs from block image
-t: generate block images from texture data
@ -32,10 +33,20 @@ You can use this tool to bulk process schematic files from scripts.
### Dump Schematic to Standard Output
This will print out mapping and each block as hex values layer by layer.
```
./mtsedit -d structure.mts
```
### Generate blueprint
Pretty much the same as dump, but instead of dumping the MTS to the console, it saves "structure_bp.png".
```
./mtsedit -b structure.mts
```
Each layer will be padded by 1 x 1 pixels of transparency. On the left, there's a black pixel after each layer so
that programs can detect the dimensions from the image. On the right, there's a red line for the ground layer.
### Conversion (or Remap)
You can convert Minecraft NBT Schematics with this tool.