summarylogtreecommitdiffstats
path: root/purity-zen
blob: 8ec1a8ce1925169d36df41d2f5359c629d4e42c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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