| 12345678910111213141516171819202122232425262728 |
- #!/usr/bin/env bash
- # Steam launch wrapper for Embarrassed Shina-chan on Linux/Proton.
- # Set this as the game's Steam Launch Options:
- # /full/path/to/launcher.sh %command%
- #
- # install.sh rewrites @HOOK_SO@ below to the built bakin_minimal.so path.
- # Runtime hook: VAO rebind, audio wait cap and the IBL BRDF LUT drop
- # (see patches/04-runtime-hook). For diagnostics, set BAKIN_HOOK_LOG=1 before
- # launching to have it write /tmp/bakin-hook.<pid>.log; off by default.
- HOOK_SO="@HOOK_SO@"
- [ -f "$HOOK_SO" ] && export LD_PRELOAD="${HOOK_SO}:${LD_PRELOAD}"
- # The bundled WebView2Loader deadlocks under Wine (no Edge WebView2 runtime);
- # disabling the DLL avoids a hang in CreateCoreWebView2Environment.
- export WINEDLLOVERRIDES="WebView2Loader="
- # mesa_glthread=false: avoids a NULL-vtable crash in Mesa's GL worker threads.
- export mesa_glthread=false
- # Disables Wine's fullscreen-hack gamma vertex shader, which fails to compile
- # here and crashes early.
- export WINE_DISABLE_FULLSCREEN_HACK=1
- export WINEDEBUG="-all"
- export PROTON_LOG=0
- exec "$@"
|