From c08ba68220a16392c707d9303e655cf669d32145 Mon Sep 17 00:00:00 2001 From: bzt Date: Sat, 14 Dec 2019 21:26:55 +0100 Subject: [PATCH] Blueprint export --- docs/batch.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/docs/batch.md b/docs/batch.md index 70297a9..0aaf6ef 100644 --- a/docs/batch.md +++ b/docs/batch.md @@ -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 ./mtsedit -t [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.