Asci/tiled/automap.sh

13 lines
169 B
Bash

#!/bin/bash
mkdir map_python
for i in *.tmx
do
echo "$i -> ${i%.*}.py"
python converter "$i" doors=^ entities=?*
cp "${i%.*}.py" map_python/
rm "${i%.*}.py"
done