summaryrefslogtreecommitdiff
path: root/dyecmd/fal.py
diff options
context:
space:
mode:
Diffstat (limited to 'dyecmd/fal.py')
-rw-r--r--dyecmd/fal.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/dyecmd/fal.py b/dyecmd/fal.py
new file mode 100644
index 0000000..a064646
--- /dev/null
+++ b/dyecmd/fal.py
@@ -0,0 +1,12 @@
+# dyecmd ../../../client-data/graphics/items/generic/*.png
+import os
+a=open('script.sh', 'w')
+
+for file in os.listdir('.'):
+ try:
+ if '.png' in file:
+ a.write('./dyecmd '+file+' 1'+file)
+ a.write('\n')
+ except:
+ continue
+a.close()