Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mutex killer doesn't work in linux (flatpak/steam/proton/wine) #249

Open
Daskan opened this issue Jan 14, 2023 · 2 comments
Open

mutex killer doesn't work in linux (flatpak/steam/proton/wine) #249

Daskan opened this issue Jan 14, 2023 · 2 comments

Comments

@Daskan
Copy link

Daskan commented Jan 14, 2023

Any idea how to make it work under Steam-Flatpak with Proton?

Saw some other issue saying to install .net4.5 .. but that didnt changed anything.

Any idea would be helpful! :)

Steam
com.valvesoftware.Steam
1.0.0.75
stable
flathub
user

Proton (community build)
com.valvesoftware.Steam.CompatibilityTool.Proton
7.0-5
stable
flathub
user

WINEPREFIX=~/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/compatdata/xxx/pfx

@Healix
Copy link
Owner

Healix commented Jan 15, 2023

If it doesn't work, chances are that version doesn't support it and it's simply not possible. Every other version of Wine seems to drop or change support for the Windows functions that are required to kill the mutex.

Alternatively, it's all running in different instances, so if you were trying to use Gw2Launcher to specifically kill the mutex (rather than launch GW2), those instances aren't aware of each other, so the mutex doesn't exist from Gw2Launcher's perspective. You don't actually need to kill the mutex, you can just launch GW2 in different instances of Wine. If you were trying to launch through Steam, note Steam itself won't launch a game that is already running.

Installing .net 4.5 is only for UI problems. Wine uses Mono by default, which doesn't render some things properly, most notably the right click menu would be blank.

@Iiridayn
Copy link

You don't actually need to kill the mutex, you can just launch GW2 in different instances of Wine.

@Daskan had the same problem, the above quote pointed me in a direction. Check out https://github.com/Iiridayn/gw2-linux-multibox-launcher/blob/main/gw2-alt.sh - let me know if it works for you. Requires you to have installed fuse-overlayfs (to save disk space), xdotool (to wait for launch and change the window title), and setsid (to wait for launch and change the window title).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants