Skip to content

Instantly share code, notes, and snippets.

@clairem-sl
Created September 7, 2023 15:04
Show Gist options
  • Select an option

  • Save clairem-sl/3bef4df7e68408aad7ee685bfbfb10ad to your computer and use it in GitHub Desktop.

Select an option

Save clairem-sl/3bef4df7e68408aad7ee685bfbfb10ad to your computer and use it in GitHub Desktop.
Kokua Launcher With Mesa3D
@echo off
:: Put this in the same directory as KokuaViewer.exe
:: Also, make a shortcut so the Start Location is Kokua's directory
:: 4.6 is still kinda buggy at the moment
set MESA_GL_VERSION_OVERRIDE=4.5COMPAT
set MESA_GLSL_VERSION_OVERRIDE=450
set GALLIUM_DRIVER=zink
:: R: is a RAM Disk
if exist R:\ goto chekdir
echo "R:\ is not ready!"
pause
exit
:: Of course this needs Kokua to be set to use R:\KokuaCache as its cache
:chekdir
if exist R:\KokuaCache\ goto finish
md R:\KokuaCache\
:finish
start /MAX KokuaViewer.exe --set InstallLanguage en
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment