forked from Fundynamic/RealBot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmakeAndCopyAndRun.sh
executable file
·25 lines (18 loc) · 1.32 KB
/
makeAndCopyAndRun.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
make clean
make
#propagate error from script
rc=$?; if [[ $rc != 0 ]]; then exit $rc; fi
echo "Copying dylib"
cp Release/realbot_mm_i386.dylib "/Users/shendriks/Library/Application Support/Steam/SteamApps/common/Half-Life/realbot/dll/"
echo "Removing reallog.txt"
# remove log file
rm "/Users/shendriks/Library/Application Support/Steam/SteamApps/common/Half-Life/reallog.txt"
# and create new one
touch "/Users/shendriks/Library/Application Support/Steam/SteamApps/common/Half-Life/reallog.txt"
# run
#"/Users/shendriks/Library/Application Support/Steam/SteamApps/common/Half-Life/hl.sh" -game cstrike --listen +map cs_italy +maxplayers 32
#"/Users/shendriks/Library/Application Support/Steam/SteamApps/common/Half-Life/hl.sh" -game cstrike --listen +map de_prodigy +maxplayers 32
#"/Users/shendriks/Library/Application Support/Steam/SteamApps/common/Half-Life/hl.sh" -game cstrike --listen +map de_dust +maxplayers 32
"/Users/shendriks/Library/Application Support/Steam/SteamApps/common/Half-Life/hl.sh" -game cstrike --listen +map as_oilrig +maxplayers 32
#"/Users/shendriks/Library/Application Support/Steam/SteamApps/common/Half-Life/hl.sh" -game cstrike --listen +map fy_iceworld +maxplayers 32
#"/Users/shendriks/Library/Application Support/Steam/SteamApps/common/Half-Life/hl.sh" -game cstrike --listen +map cs_assault +maxplayers 32