| Both sides previous revisionPrevious revisionNext revision | Previous revision |
| games:windows:osu_lazer [2026/06/23 20:07] – Sean Rhone | games:windows:osu_lazer [2026/08/01 00:54] (current) – Sean Rhone |
|---|
| * https://github.com/ppy/osu/releases | * https://github.com/ppy/osu/releases |
| * https://github.com/ppy/osu/releases/latest/download/install.exe | * https://github.com/ppy/osu/releases/latest/download/install.exe |
| * https://github.com/ppy/osu/discussions/31832 | |
| |
| "%SystemRoot%\System32\curl.exe" --output "%UserProfile%\Downloads\osu-lazer.exe" --location "https://github.com/ppy/osu/releases/latest/download/install.exe" --progress-bar && "%UserProfile%\Downloads\osu-lazer.exe" | "%SystemRoot%\System32\curl.exe" --output "%UserProfile%\Downloads\osu-lazer.exe" --location "https://github.com/ppy/osu/releases/latest/download/install.exe" --progress-bar && "%UserProfile%\Downloads\osu-lazer.exe" |
| |
| %LocalAppData%\osulazer\current | ====== Compat Settings ====== |
| | |
| | "%SystemRoot%\System32\reg.exe" ADD "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers" /v "%LocalAppData%\osulazer\current\osu!.exe" /t "REG_SZ" /d "~ DISABLEDXMAXIMIZEDWINDOWEDMODE HIGHDPIAWARE DISABLEDWM DISABLETHEMES NoDTToDITMouseBatch" /f |
| | |
| | "%SystemRoot%\System32\reg.exe" ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\osu!.exe" /v "UseLargePages" /t "REG_DWORD" /d "1" /f |
| | |
| | ====== Scripts ====== |
| | |
| | MKDIR "%AppData%\osu\scripts" |
| | |
| | "%SystemRoot%\explorer.exe" %AppData%\osu\scripts" |
| | |
| | ===== OpenGL ===== |
| | |
| | "%SystemRoot%\System32\notepad.exe" "%AppData%\osu\scripts\client-opengl.bat" |
| | |
| | <code> |
| | @echo off |
| | |
| | CD "%Temp%" |
| | |
| | SET "OSU_DISABLE_ERROR_REPORTING=1" |
| | SET "OSU_SDL3=0" |
| | SET "OSU_GRAPHICS_RENDERER=gl" |
| | SET "OSU_GRAPHICS_SURFACE=opengl" |
| | |
| | START "" /D "%Temp%" "%LocalAppData%\osulazer\current\osu!.exe" |
| | |
| | SET "OSU_DISABLE_ERROR_REPORTING=" |
| | SET "OSU_SDL3=" |
| | SET "OSU_GRAPHICS_RENDERER=" |
| | SET "OSU_GRAPHICS_SURFACE=" |
| | |
| | :: End</code> |
| | |
| | "%AppData%\osu\scripts\client-opengl.bat" |
| | |
| | ===== Vulkan ===== |
| | |
| | "%SystemRoot%\System32\notepad.exe" "%AppData%\osu\scripts\client-vulkan.bat" |
| | |
| | <code> |
| | @echo off |
| | |
| | CD "%Temp%" |
| | |
| | SET "OSU_DISABLE_ERROR_REPORTING=1" |
| | SET "OSU_SDL3=1" |
| | SET "OSU_GRAPHICS_RENDERER=veldrid" |
| | SET "OSU_GRAPHICS_SURFACE=vulkan" |
| | |
| | START "" /D "%Temp%" "%LocalAppData%\osulazer\current\osu!.exe" |
| | |
| | SET "OSU_DISABLE_ERROR_REPORTING=" |
| | SET "OSU_SDL3=" |
| | SET "OSU_GRAPHICS_RENDERER=" |
| | SET "OSU_GRAPHICS_SURFACE=" |
| | |
| | :: End</code> |
| | |
| | "%AppData%\osu\scripts\client-vulkan.bat" |
| | |
| | ===== D3D11 ===== |
| | |
| | "%SystemRoot%\System32\notepad.exe" "%AppData%\osu\scripts\client-d3d11.bat" |
| | |
| | <code> |
| | @echo off |
| | |
| | CD "%Temp%" |
| | |
| | SET "OSU_DISABLE_ERROR_REPORTING=1" |
| | SET "OSU_SDL3=1" |
| | SET "OSU_GRAPHICS_RENDERER=veldrid" |
| | SET "OSU_GRAPHICS_SURFACE=direct3d11" |
| | |
| | START "" /D "%Temp%" "%LocalAppData%\osulazer\current\osu!.exe" |
| | |
| | SET "OSU_DISABLE_ERROR_REPORTING=" |
| | SET "OSU_SDL3=" |
| | SET "OSU_GRAPHICS_RENDERER=" |
| | SET "OSU_GRAPHICS_SURFACE=" |
| | |
| | :: End</code> |
| | |
| | "%AppData%\osu\scripts\client-d3d11.bat" |
| | |
| | ====== Envs ====== |
| | |
| | * https://github.com/ppy/osu-framework/wiki/Environment-variables |
| | * https://github.com/ppy/osu/discussions/31832 |
| | |
| | SET "OSU_SDL3=0" |
| | |
| | SET "OSU_SDL3=1" |
| | |
| | SET "USE_SATORI_GC=1" |
| | |
| | SET "OSU_GRAPHICS_NO_SSBO=1" |
| | |
| | SET "OSU_TEMP_TESTING_BASS_CONFIG_DEV_PERIOD=1" |
| | |
| | * OpenGL |
| | |
| | SET "OSU_GRAPHICS_RENDERER=gl" |
| | |
| | SET "OSU_GRAPHICS_SURFACE=opengl" |
| | |
| | * Veldrid |
| | * TODO: Deferred |
| | |
| | SET "OSU_GRAPHICS_RENDERER=veldrid" |
| | |
| | SET "OSU_GRAPHICS_SURFACE=direct3d11" |
| | |
| | SET "OSU_GRAPHICS_SURFACE=vulkan" |
| | |
| | * Launch |
| | |
| | "%LocalAppData%\osulazer\current\osu!.exe" |
| |
| OSU_DISABLE_ERROR_REPORTING=1 | ====== Auto-start ====== |
| |
| "%SystemRoot%\System32\setx.exe" "OSU_DISABLE_ERROR_REPORTING" "1" | "%SystemRoot%\System32\schtasks.exe" /Create /SC "ONLOGON" /TN "osu!" /TR "%LocalAppData%\osulazer\current\osu!.exe" /F |
| |