summaryrefslogtreecommitdiff
path: root/app/xlockmore/etc/cellxlock.sh
diff options
context:
space:
mode:
Diffstat (limited to 'app/xlockmore/etc/cellxlock.sh')
-rw-r--r--app/xlockmore/etc/cellxlock.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/app/xlockmore/etc/cellxlock.sh b/app/xlockmore/etc/cellxlock.sh
new file mode 100644
index 000000000..46b31c5f4
--- /dev/null
+++ b/app/xlockmore/etc/cellxlock.sh
@@ -0,0 +1,15 @@
+# converts a file from xl4d format to xlock life3d format
+sed '
+s/10/-6,/g
+s/11/-5,/g
+s/12/-4,/g
+s/13/-3,/g
+s/14/-2,/g
+s/15/-1,/g
+s/16/0,/g
+s/17/1,/g
+s/18/2,/g
+s/19/3,/g
+s/^/ /' $1 > $1$$
+#rm -f $1$$
+mv $1$$ $1