2014-05-17 10:54:43 -04:00
|
|
|
#!/bin/bash
|
|
|
|
|
2014-07-01 08:32:24 -04:00
|
|
|
mkdir -p ../../batch
|
2014-07-01 07:33:35 -04:00
|
|
|
#tracks='snowmountain city lighthouse olivermath hacienda startrack farm zengarden'
|
|
|
|
#karts='gnu tux sara elephpant'
|
|
|
|
laps=4
|
2014-05-17 10:54:43 -04:00
|
|
|
|
2014-07-01 07:33:35 -04:00
|
|
|
#for track in $tracks; do
|
|
|
|
#for kart in $karts; do
|
|
|
|
for run in {901..1500}; do
|
2014-06-19 08:34:34 -04:00
|
|
|
for lap in $laps; do
|
2014-07-01 08:32:24 -04:00
|
|
|
./../cmake_build/bin/supertuxkart.app/Contents/MacOS/supertuxkart -R --mode=3 --numkarts=4 --track=snowmountain --with-profile --profile-laps=4 --kart=gnu --ai=sara,tux,elephpant --no-graphics > /dev/null
|
2014-07-01 07:33:35 -04:00
|
|
|
#./cmake_build/bin/supertuxkart.app/Contents/MacOS/supertuxkart -R --mode=3 --numkarts=4 --track=$track --with-profile --profile-laps=$lap --kart=$kart --ai=beastie,beastie,beastie --no-graphics > /dev/null
|
|
|
|
#grep "profile" ~/Library/Application\ Support/SuperTuxKart/stdout.log > ../batch/$kart.$track.$run.txt
|
2014-07-01 08:32:24 -04:00
|
|
|
grep "profile" ~/Library/Application\ Support/SuperTuxKart/stdout.log > ../../batch/faceoff.$run.txt
|
2014-06-19 08:34:34 -04:00
|
|
|
done
|
|
|
|
done
|
2014-07-01 07:33:35 -04:00
|
|
|
# done
|
|
|
|
#done
|