diff options
Diffstat (limited to 'attic/muse2-oom/muse2/oomfiles/rgd2muse.sh')
-rwxr-xr-x | attic/muse2-oom/muse2/oomfiles/rgd2muse.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/attic/muse2-oom/muse2/oomfiles/rgd2muse.sh b/attic/muse2-oom/muse2/oomfiles/rgd2muse.sh new file mode 100755 index 00000000..651cd529 --- /dev/null +++ b/attic/muse2-oom/muse2/oomfiles/rgd2muse.sh @@ -0,0 +1,9 @@ +#!/bin/sh + +#test $# != 1 && echo "Usage: $0 <rgd-file>" && exit 1 +mkdir -p MUSE_MAPS +for f in *.rgd +do + gunzip -c $f | xsltproc $(dirname $0)/rgd2muse.xsl - > "MUSE_MAPS/$(basename $f .rgd).idf" +done + |