-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Ability to disable/remove mono from prefix. #2699
Comments
Hello @Charadon, this sounds like a non-starter feature request for the project. We should want wine-mono to grow the needed support for what's missing instead of relying on winetricks. Has feedback been given for the games that you are having trouble with wine-mono? My understanding is that winetricks and complications from interacting with it are outside the scope of this project, but I'll leave this request open in case a Proton dev has a different opinion. |
The main issue I have, is that with normal wine, you CAN remove wine-mono from a prefix. I don't see why you can't with proton. |
Because as explained I think they want to rely on one package, Proton, and no winetricks. |
You can remove it in the same way as in normal Wine, though the procedure is unintuitive:
For right now, you must use wine64 to see it in the uninstaller list. This is fixed in current Wine. If you want to install native .NET, remember to override mscoree.dll to native only (native,builtin doesn't work). Without that override, .NET won't install correctly, and any prefix update will reinstall wine-mono. |
@madewokherd Ah, I didn't know this. I guess the feature request should be closed now since this is what I was talking about. Didn't know I had to use wine64 to see it in the uninstaller. |
Could someone break down this process for a complete Linux/ProtonDB newbie? Do you have to run the wine64 uninstaller via command line in order to remove mono, then make configuration changes for the game prefix the same way? Any help is appreciated! |
It doesn't seem to work for me. |
Does this happen to you in a new prefix? winetricks should take care of all this when installing dotnet. I think you can even do |
Also, is there a bug report for these games failing with mono? I understand the need for immediate work-arounds, but I'd like to have details so I can eventually get it fixed. |
I initially tried doing things in the terminal but since nothing worked I tried the gui, still no luck. Since it's proton it would need to be Just to be sure I tried every attempt with a new prefix. |
Yeah, looks like it got delisted on steam. :( I don't think I ever tried uninstalling Wine Mono in Proton specifically, I'll have to check that that case works. |
Yeah, it's probably unlisted because
I have the game on CD as well and I actually was successful running it on Linux so the dotnet issue is probably one of the last (if not the last) puzzle to fix in Proton. I would really appreciate if you could take a look at this. |
Yeah, it looks like uninstalling works in Wine but is broken in Proton specifically. |
This comment was marked as outdated.
This comment was marked as outdated.
Ignore that last comment, I had specified the prefix incorrectly. Which means that a prefix created by Proton is behaving differently from one created by the Wine in Proton. |
I filed a bug internally for this at CodeWeavers. The easiest work-around for now is probably to remove the prefix and have winetricks create it manually:
|
Unfortunately the work-around didn't work for this game. Steam terminal output:
|
It seems my work-around didn't work and actually broke the prefix. I'm not convinced that the problem you're having with this particular game is related to .NET or Wine Mono at all. I committed a change to Wine Mono which will have it install MSI's as system instead of per-user, but that will only fix this when a release with that change is integrated into Proton, and it won't fix existing broken prefixes. It might be possible to work around this by editing registry files. Keys like this in system.reg:
would need to have
and choose the one with the most recent timestamp. |
Feature Request
I confirm:
contain this feature already.
Description
Add the ability to uninstall or disable wine-mono in a given prefix so you can use winetricks to install dotnet.
Justification [optional]
You can already do this in normal wine, but for some baffling reason you can't in proton. Mono is forced on, this leads to issues where games that require, say, dotnet40 to run, can't work because you CAN'T install dotnet40 due to mono being there.
Risks [optional]
None
References [optional]
The text was updated successfully, but these errors were encountered: