Update automap.sh

This commit is contained in:
Shadow15510 2022-01-29 10:54:42 +01:00
parent 7eb6a4e6df
commit 2241356192
1 changed files with 6 additions and 1 deletions

View File

@ -1,7 +1,12 @@
#!/bin/bash
mkdir map_python
for i in $(ls -X *.tmx)
do
echo "$i"
echo "$i -> ${i%%.*}.py"
python converter "$i" doors=^ entities=?*
cp "${i%%.*}.py" map_python/
rm "${i%%.*}.py"
done