general mindustry schematic tools
Diffstat (limited to 'schem_creation/run.sh')
| -rwxr-xr-x | schem_creation/run.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/schem_creation/run.sh b/schem_creation/run.sh new file mode 100755 index 0000000..bf52e83 --- /dev/null +++ b/schem_creation/run.sh @@ -0,0 +1,10 @@ +#!/bin/bash +if [[ -n "$2" ]]; then + python img2json/main.py -i "$1" -o "$2" "${@:3}" + python MSchemGen/blueprint/main.py "$2" >/dev/null +else + python MSchemGen/blueprint/main.py "$1" >/dev/null +fi + +../main -msch a.msch +viu /tmp/mindustry_schematics/image.png |