summaryrefslogtreecommitdiff
path: root/tools/edit-map-tileset-names.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/edit-map-tileset-names.sh')
-rwxr-xr-xtools/edit-map-tileset-names.sh15
1 files changed, 0 insertions, 15 deletions
diff --git a/tools/edit-map-tileset-names.sh b/tools/edit-map-tileset-names.sh
deleted file mode 100755
index 6c359e29..00000000
--- a/tools/edit-map-tileset-names.sh
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/bin/bash
-for MAP in maps/*.tmx
-do
- grep '<tileset\|<image' "$MAP" |
- while read TILESET && read IMAGE
- do
- LINE=$TILESET
- TILESET=${TILESET#*name=\"}
- TILESET=${TILESET%%\"*}
- IMAGE=${IMAGE#*source=\"}
- IMAGE=${IMAGE%%.png\"*}
- IMAGE=${IMAGE##*/}
- sed "/$LINE/s/$TILESET/$IMAGE/" -i "$MAP"
- done
-done