inital commit. Not all games work 100, or even 50 percent lol.

This commit is contained in:
Storm Dragon
2014-05-04 13:43:52 -04:00
parent cedd7a8ef5
commit d53c2eb074
71 changed files with 1753 additions and 0 deletions

19
soundboard/soundboard Executable file
View File

@ -0,0 +1,19 @@
#!/bin/bash
if [ $# -ne 1 ] ; then
echo "Usage: soundboard name, where name is the name of a soundboard you want to load."
exit 1
fi
if ! [ -d sounds/$1 ] ; then
echo "soundboard $1 not found."
exit 1
fi
while [ 1 -gt 0 ] ; do
read -sn1 key
if [ -f sounds/$1/$key.ogg ] ; then
play -qV0 sounds/$1/$key.ogg&
fi
done
exit 0