-
Notifications
You must be signed in to change notification settings - Fork 72
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
Windows version setting is overwritten #682
Comments
Interesting catch! This isn't something I would've expected, but I'll have a look and see if something is potentially overwriting it. I wonder if maybe there is a winetrick messing with it... Interesting! Getting set to Windows XP is very much less than ideal and can cause issues, but just out of curiosity, has it broken anything for you yet? :-) |
As far as I can tell it hasn't broken anything. The only alert I get is when trying to launch Synthesis without setting it to Windows 7. Also for winetricks, I have vcrun2015-2019 and dotnet-sdk saved and installed. |
I wonder if there are any overrides with the Winetrick for the Windows version here. I know to install dotnet, Winetricks reverts the Windows version, but it usually resets it afterwards. If you installed these winetricks with STL, you can uncheck them from the Winetricks menu. Just in case Winetricks tries to reinstall them each time, and when it catches that they're already installed, it's already changed the Windows version and fails to set it back (though I doubt very much this is the case and if it is, it would be a Winetricks bug probably). The alert is surely not ideal so I'll see if I can figure out a way to fix it. I'll also look to see if it happens on my end with my much more vanilla setup. I had a quick skim of the code last night and I didn't see anything that stood out as changing the Wine version. I'll take a look more carefully at the code for MO2 and the MO2 overhaul commit itself and if I still can't find anything, I'll see if this is a Winetricks issue that has a workaround :-) |
Do you know if this behaviour happens with other 64bit Wineprefixes using those Winetricks? I'm wondering if maybe these Winetricks force a Windows version change. I haven't found anything in the code yet that would cause this which is why I'm asking, in case this is a Winetricks thing. But I kind of doubt that is the case, just covering as much as I can :-) |
I haven't any prefixes set up at the moment, but this is likely along the lines of what happened. I don't know if the mismatch may cause it, but the saving feature is likely the culprit in some way. I downloaded the Visual C++ packages at one time, and then dotnet after when I was setting up Synthesis. I believe the vcrun packages were saved, but dotnet was not, despite me opting to do so.
I can't say it has, but I've only ever used STL for Mod Organizer 2 with New Vegas and Skyrim, so I haven't tested it across that many prefixes. |
That's quite insightful! If you aren't already, you'll want to install any The Thanks! |
Actually, I cannot see |
That's probably it then. If I remember rightly, I was experiencing issues I didn't understand at the time with synthesis not finding the runtime when installing it through the winetricks menu, so ran it through the one-time-launch option, which did install.
That's my fault for not specifying the right packages, sorry! I installed I have a new prefix set up now, so I'll start testing again. |
Just launched MO2, and it seems to be using GE-Proton by default. If that is indeed the default, then that's what I used to install |
Thanks for the clarification!
Am I correct in understanding here that the SDK is a separate executable that was installed? Just making sure, so that I can go through and try to replicate the problem as best I can :-)
Ah! I had a look and I think you're right. I think this might be because previously MO2 needed I think the only other suggestion I have is, to ensure that Apart from this, I'll keep on digging to see if we can get to the bottom of this :-) |
That's correct. I installed it x64 binary for Windows from this page. Here's a direct link to it.
Know that feeling all too well lol!
I believe it did install correctly, since Synthesis adequately enough after that.
Installed via Git after the MO2 overhaul branch was merged.
I was using |
Looking back at the wintricks menu, I was completely wrong. I think it stemmed from when I was having issues with Steam pulling Proton versions, so I downloaded the latest Proton version manually. I definitely installed the packages using Proton Experimental 7.0, and not GE-Proton. |
Okay, I've managed to replicate it using Give me some time and I'll make a full video of the process. |
The notification in the second screenshot is from the Wine installation if I understand correctly, which should be respecting the Proton version. It shows that it is using A little bit of background that I think I didn't mention: When installing If you select regular Proton, what does the notification say about the log out of curiosity? The interesting thing here too is that MO2 should be running in its own prefix at My plan of attack here is to test this with installing This was pretty useful, thank you! |
I checked the path you gave and couldn't find a file under that name, sorry. I did see a
I'm not sure what you mean by that. Notification about what log? |
That's interesting but probably fine 🙂
Hmmm, this would indicate to me that the Wine version it tried to install those winetricks with wasn't found. Winetricks gives this error when it can't find a Wine executable to use. I'm not sure what could be causing it.
Sorry, I phrased that horribly and it made no sense 😓 Let me try again. When you select a Winetrick for installation (say I haven't gotten around to testing just yet on my end, but I will try to get around to it as soon as I can :-) |
Quick update: I just tested with Winecfg in the Hedge Mod Manager prefix (which installs |
Something I recently came across is that apparently you can pass Winetricks a command line I'm not sure how many users this problem is affecting and I don't think I can reproduce it, but I guess there could be an option for "force MO2 Windows version" and if this is enabled and set, we could run Winetricks before each run. This would have the side effect of requiring Winetricks which probably isn't a big deal. |
I'm pretty sure Winetricks has an option to do this by passing the registry key verb, but it seems like it's also possible to set the Windows version in the prefix's registry: https://wiki.winehq.org/Useful_Registry_Keys There's a note about a |
I'll need to do some more testing but maybe an option to force a Windows version for MO2 could work. Not sure how it would impact games the different ways of launching MO2 though. |
I have a feeling the issue with the Windows version may be related to Winetricks, as I have seen a couple of other users complain about similar errors to do with some programs saying that they need Windows 7 or higher. Not sure of the best way to resolve this, my idea of having a custom Windows version option is... flimsy, to be honest. |
I am not sure how much progress will be made on this or what the path forward for this is. It does not seem to be an issue caused by SteamTInkerLaunch, but it would be nice to have this fixed. It is not a "critical" bug or anything from what I can tell but it would be nice to have it fixed, though I don't know what would cause the Windows version to keep changing. I would guess perhaps Winetricks or may even the Proton version used. Maybe there is an issue with how Wine is saving the version to the registry in the prefix, but I'm really just thinking out loud here 😅 As far as I can see with MO2 (which I freshly reinstalled when testing a few MO2 issues recently) I don't experience it. I will leave this issue open until there is a fix in place :-) Maybe someone will step up and tackle this at the "root", instead of implementing my idea of having a fixed Windows version that we can set (which Winecfg is supposed to be able to do). |
I can't reproduce the issue anymore, and I don't think it's a SteamTinkerLaunch issue, plus this issue is stale by now, so closing this :-) |
System Information
Issue Description
When setting a version through winecfg manually, or through STL's GAME menu to launch winecfg before launching the game, it's seemingly overwritten back to XP. I believe it happens when STL's game-specific landing menu opens.
I've worked around it with the aforementioned GAME menu setting to open winecfg and setting it before launch.
Logs
No logs atm as I'm not at my PC, sorry!
The text was updated successfully, but these errors were encountered: