summaryrefslogtreecommitdiff
path: root/attic/muse2-oom/muse2/oomfiles/rgd2muse.sh
blob: 651cd5290638adc11724dd95621016ae1a33cf8f (plain)
1
2
3
4
5
6
7
8
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