:noarg\r
if "%ProgramFiles(x86)%" == "" goto bit32\r
:bit64\r
-set xonotic=xonotic-x64.exe\r
+set xonotic=xonotic.exe\r
goto postarg\r
:bit32\r
-set xonotic=xonotic.exe\r
+set xonotic=xonotic-x86.exe\r
goto postarg\r
:postarg\r
\r
:nomed\r
if not "%e%" == "med" goto nomed2\r
find "Using GL1.3 rendering path" data\engine.log >nul\r
-if errorlevel 1 goto nomed\r
+if errorlevel 1 goto nomed2\r
echo OpenGL 2.0 rendering disabled, exiting.\r
goto done\r
:nomed2\r