Add an automap.sh script to automatically convert *.tmx into asci-friendly *.py files
This commit is contained in:
parent
faa5ffa23e
commit
70e9a1a3a0
|
@ -0,0 +1,12 @@
|
|||
#!/bin/bash
|
||||
|
||||
mkdir map_python
|
||||
|
||||
for i in $(ls -X *.tmx)
|
||||
do
|
||||
echo "$i -> ${i%%.*}.py"
|
||||
python converter "$i" doors=^ entities=?*
|
||||
cp "${i%%.*}.py" map_python/
|
||||
rm "${i%%.*}.py"
|
||||
done
|
||||
|
Loading…
Reference in New Issue