aboutsummaryrefslogtreecommitdiff
path: root/libs/plugin_python
diff options
context:
space:
mode:
authorSulfurNitride <SulfurNitride@users.noreply.github.com>2026-02-27 14:58:24 -0600
committerSulfurNitride <SulfurNitride@users.noreply.github.com>2026-02-27 14:58:24 -0600
commit7d633783c3f5bde724c14e93b6bb1aa261c80737 (patch)
tree762854fabd4a05169a9fcefafaa4209a48438ed3 /libs/plugin_python
parent11404dc2bbfb9033344ff360e72b66372edd0d9b (diff)
Fix process tracking for Wine/Proton game processes
Process tracking failed with Proton-GE because launcher executables (nvse_loader.exe, skse_loader.exe) exit after spawning the actual game (FalloutNV.exe, SkyrimSE.exe). The tracker saw the launcher exit and declared the game done, unmounting VFS while the game was still running. Fix: when the tracked process exits, fall back to waiting for wineserver which stays alive as long as ANY wine process in the prefix is running. This is the most robust way to detect when a game has truly exited, regardless of how many launcher layers are involved. Also: - Use "waitforexitandrun" proton verb instead of "run" (matches umu) - Reduce process tracking log spam (log once on first find, not every 50ms poll cycle) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Diffstat (limited to 'libs/plugin_python')
0 files changed, 0 insertions, 0 deletions