Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- WIDTH=1920
- HEIGHT=1080
- # -vulkan or -gl
- API="-vulkan"
- COUNTER=0
- # this should be the default install folder, change it if yours is different (only needed to renaming the benchmark file)
- DOTA2="$HOME/.local/share/Steam/steamapps/common/dota 2 beta/game"
- # rename any existing benchmark scores
- cd "$DOTA2"
- mv -f "$DOTA2/dota/Source2Bench.csv" "$DOTA2/dota/Source2Bench.csv.1"
- while [ $COUNTER -lt 3 ]; do
- # launch steam and dota2 with benchmark mode and the "benchvulkan2" demo file
- steam -applaunch 570 $API +timedemo benchvulkan2 +demo_quitafterplayback 1 -h $HEIGHT -w $WIDTH -fullscreen
- let COUNTER=COUNTER+1
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement