6 echo The Big Benchmark
\r
7 echo =================
\r
9 if not exist all goto nogit
\r
10 echo For Git builds, please use the-big-benchmark.sh instead!
\r
13 if "%1" == "" goto noarg
\r
17 if "%ProgramFiles(x86)%" == "" goto bit32
\r
19 set xonotic=xonotic-x64.exe
\r
22 set xonotic=xonotic.exe
\r
26 if exist data\the-big-benchmark.log del data\the-big-benchmark.log
\r
27 if exist data\benchmark.log del data\benchmark.log
\r
28 if exist data\engine.log del data\engine.log
\r
29 set p=+cl_curl_enabled 0 +r_texture_dds_load 1 +cl_playerdetailreduction 0 +developer 1 -nohome -benchmarkruns 4 -benchmarkruns_skipfirst -benchmark demos/the-big-keybench.dem
\r
34 echo Benchmarking on %e%
\r
35 if exist data\benchmark.log del data\benchmark.log
\r
36 echo + %xonotic% %2 %3 %4 %5 %6 %7 %8 %9 +exec effects-%e%.cfg %p% > data\engine.log
\r
37 %xonotic% %2 %3 %4 %5 %6 %7 %8 %9 +exec effects-%e%.cfg %p% >> data\engine.log 2>&1
\r
38 find "MED: " data\engine.log
\r
39 find "]quit" data\engine.log >nul
\r
40 if not errorlevel 1 goto done
\r
41 type data\engine.log >> data\the-big-benchmark.log
\r
42 type data\benchmark.log >> data\the-big-benchmark.log
\r
43 if not "%e%" == "med" goto nomed
\r
44 find "checking for OpenGL 2.0 core features... not detected" data\engine.log >nul
\r
45 if errorlevel 1 goto nomed
\r
46 echo OpenGL 2.0 or later required for Normal quality and higher, exiting.
\r
49 if not "%e%" == "high" goto nohigh
\r
50 find "vid_soft 1" data\engine.log >nul
\r
51 if errorlevel 1 goto nohigh
\r
52 echo Software rendering does not support Ultra and Ultimate quality settings, exiting.
\r
89 if exist data\benchmark.log del data\benchmark.log
\r
90 if exist data\engine.log del data\engine.log
\r
92 if exist data\the-big-benchmark.log goto logisgood
\r
94 echo The benchmark has been aborted. No log file has been written.
\r
99 echo Please provide the the following info to the Xonotic developers:
\r
102 echo - graphics card (which vendor, which model)
\r
103 echo - operating system (including whether it is 32bit or 64bit)
\r
104 echo - graphics driver version
\r
105 echo - the file the-big-benchmark.log in the data directory
\r