diff options
Diffstat (limited to 'purity-zen')
-rwxr-xr-x | purity-zen | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/purity-zen b/purity-zen new file mode 100755 index 000000000000..8ec1a8ce1925 --- /dev/null +++ b/purity-zen @@ -0,0 +1,13 @@ +#!/bin/sh +map=`(echo -e "tut1\nrun1\nrun2" && ls ~/.purity/base/maps/ 2>/dev/null | grep "\.bsp" | egrep -o '.+[^\.bsp]') | zenity --list --text="Choose the map you wanna launch" --column="Map"` + +case $map in +"") + ;; +tut1) + purity_cmd -nointro +sv_pure 0 +g_gametype 5 +map $map + ;; +*) + purity_cmd -nointro +sv_pure 0 +g_gametype 3 +map $map + ;; +esac |