|
From: Peque <ms...@us...> - 2010-01-07 03:47:53
|
Module: performous
Branch: master
Commit: c1c0be469583f902a21fb5802c7f55e04514cfc0
Author: Miguel Sánchez de León Peque <peq...@ho...>
Date: Thu Jan 7 04:46:38 2010 +0100
setvocals.sh script can be used to set the vocals file in Rock Band and Guitar Hero songs
---
tools/scripts/setvocals.sh | 20 ++++++++++++++++++++
1 files changed, 20 insertions(+), 0 deletions(-)
diff --git a/tools/scripts/setvocals.sh b/tools/scripts/setvocals.sh
new file mode 100644
index 0000000..60414d8
--- /dev/null
+++ b/tools/scripts/setvocals.sh
@@ -0,0 +1,20 @@
+#/bin/sh
+# this script guess which is the vocals track of a song and name it "vocals.ogg"
+# usage ./setvocals.sh [songdir]
+
+cd "$1"
+
+function setvocals_rockband {
+ if [ -f "song.ogg" -a -f "drums.ogg" -a -f "rhythm.ogg" -a -f "guitar.ogg" ];
+ then mv song.ogg vocals.ogg;
+ fi
+}
+
+function setvocals_guitarhero {
+ if [ -f "song.ogg" -a -f "drumsFoFiX.ogg" -a -f "songFoFiX.ogg" -a -f "rhythm.ogg" -a -f "guitar.ogg" ];
+ then mv songFoFiX.ogg vocals.ogg;
+ fi
+}
+
+setvocals_rockband
+setvocals_guitarhero
|