Skip to content

Every new run exits at once, because a leftover game process holds its mutex ​

Symptoms ​

The game starts and quits at once, with no message. A trace shows the DLLs detach right after they attach.

Cause ​

The game makes a named mutex to allow one copy. An earlier run that hung or crashed still holds it. Each new copy sees the mutex and quits. wineserver -k did not stop the old process (observed).

What to do ​

Before each run, list the game's processes by name and kill them (pkill -f GAME.EXE, then check with pgrep -fl GAME.EXE). Make the run script do it.

Code: Apache 2.0. Content: CC0 1.0. No game material: bring your own copy.