Advertisement
Guest User

Untitled

a guest
Jun 16th, 2016
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. #!/bin/sh
  2.  
  3. WIDTH=1920
  4. HEIGHT=1080
  5.  
  6. # -vulkan or -gl
  7. API="-vulkan"
  8.  
  9. COUNTER=0
  10.  
  11. # this should be the default install folder, change it if yours is different (only needed to renaming the benchmark file)
  12. DOTA2="$HOME/.local/share/Steam/steamapps/common/dota 2 beta/game"
  13.  
  14. # rename any existing benchmark scores
  15. cd "$DOTA2"
  16. mv -f "$DOTA2/dota/Source2Bench.csv" "$DOTA2/dota/Source2Bench.csv.1"
  17.  
  18.  
  19. while [ $COUNTER -lt 3 ]; do
  20. # launch steam and dota2 with benchmark mode and the "benchvulkan2" demo file
  21. steam -applaunch 570 $API +timedemo benchvulkan2 +demo_quitafterplayback 1 -h $HEIGHT -w $WIDTH -fullscreen
  22. let COUNTER=COUNTER+1
  23. done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement