-
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
MO2 Failing to Run (Flatpak) #540
Comments
the little log snippet you pasted looks fine - so invalid. |
I've gone through both the Flatpak and MO2 pages of the wiki, but I don't see anything else I should be doing. All the other buttons on the main menu launch just fine, it's only MO2 that doesn't. The ModOrganizer.exe appears in the directory the log outputted, so I'm not sure what's preventing it from running. |
I don't think Flatpak supports MO2, it might be missing some dependencies for getting MO2 installed or allowing it to run. For example, Innoextract. Also, in Flatpak, it can't create the
I think as well that something is missing based on this line:
This might sadly be a limitation of using Flatpak, but I'll see if I can take a look at what that missing command is meant to be in the code. Maybe it's meant to be the path to the Proton version, which I'm pretty sure STL should be able to find. |
Looking at the code, it does indeed look like the Hopefully this won't be too hard to fix. Famous last words! |
Hmm, I'm not having a very easy time understanding the MO2 code, but I think the problem may lie somewhere in the Maybe it should correctly work in Flatpak but the function is falling over at this line:
Either way on Flatpak, we either need to put this in the correct folder, or we shouldn't try to set it at all if you can't set |
I can't tell why I closed the issue before. I assume I haven't read that the attempt was within Flatpak and I probably concluded incorrectly that another person broke everything while messing around manually with the settings/compatdata and then blamed steamtinkerlaunch (happened far too often already, I don't have patience and time for such requests) |
MO2WINE is still autogenerated fine here (not using flatpak). please provide a full log for further debugging |
Unfortunately, I saw your reply shortly after I've uninstalled and reinstalled both Steam and STL, and now I'm receiving a different output altogether. I'll attach it here, alongside a short clip of what occurs whenever I attempt to launch MO2 from the main menu. stl-demonstration.mp4 |
thanks for troubleshooting. |
Figured it out! I can use the command: It failed again, but hopefully this log can be more useful to you. |
Thanks! Also The attempt to autodetect some valid default proton version seems to fail as well, so I'd suggest you define a valid "Proton version" |
The I tried setting the Proton version in the "DEFAULT" menu to I'll look into asking in the other Flatpak issue in a bit. steamtinkerlaunch-protondefault.log Edit: I accidentally misclicked and closed this issue. But this might be fine since I'll be moving into the other thread soon. |
@cohesive-flight I wonder if this was related to the MO2 downloading issue... Looking at this part of the log:
Looks similar to what I saw in #591. This should be fixed in v11.11 and the Flatpak should be up-to-date. You should be able to update from the command like (not sure of the command - sorry!) or from your preferred Flatpak management frontend like GNOME Software or KDE Discover. Please try again from there and see how you get on 😃 |
I tried it again with the latest version, and sadly it still doesn't launch, but the log does look a bit different now, so I'll attach it here. |
Hmm, the logs look very similar to me. The core issue is still that the mo2 downloaded check is failing, though I was able to run Could you try going to If that path ( Out of curiosity, did you set the username in your logfile to
I highly doubt it but it's also possible Flatpak doesn't have wget, though I would be... surprised to say the least if this was the case. I think it would've caused problems before now and probably would've been caught during development. So in short I think STL is downloading MO2 but either wget isn't putting it in the expected folder or the expected path doesn't actually exist and is different on Flatpak. |
The path does exist! I removed both MO2 directories, but it still wouldn't launch. And yes, I did change the username in the logfile. It does seem like it's not downloading it properly since I can't locate the MO2 executable in either directory ( |
Removing The Flatpak includes wget2.0.1 (this is part of the environment, not something the Flatpak is installing itself):
I don't see I do however see it as an option in wget1 installed on my host system (which is Arch BTW):
|
good catch, @HanPrower 👍 |
Not sure if Flatpak has any kind of git release but it might be possible to manually edit that part of the STL script to test |
Currently there's no update available. How'd I implement this fix manually? |
There won't be an update to the Flatpak until it's confirmed working. No point in breaking Flatpak more with a bad commit. The correct way to test Flatpaks is to build them using
|
The I updated the I've attached the log Steam outputted when trying to use the latest commit (STL's log was empty). |
I set up a beta branch on the Flatpak which has the latest commit from this repo, which may help test it as I'm unsure if you got it to work correctly before. To install it run the following after closing Steam:
You'll know if it worked as in STL's main window the version number will change to one with a date in. Flatpak is usually pretty good at guessing to use a beta over stable if it's installed, from what I've seen without extra steps. To uninstall basically just run: |
Copypaste from the generic Flatpak issue: Just a heads up that some software center frontends like KDE Discover will list the Flathub Beta under the sources list, if Flathub Beta is enabled and if the app has a Beta available. Other software frontends might do this but I can vouch that KDE Discover does this (installed Firefox Flatpak Beta on my Steam Deck this way and other software this way on my desktop) I don't use the Flatpak build but thanks a ton for providing a beta build - Hopefully this info above helps users access it in a more friendly way. It also allows you to revert back more easily to the stable build, should anything go wrong (just switch the source and reinstall) |
I've installed the beta version, and it does launch as normal now. When attempting to install MO2, the installation box doesn't appear multiple times anymore, and after a few minutes, there was a notification of the installation being complete. I checked if the MO2 executable was in the directory: So we're back to square one when I first opened this issue, but this time I'll provide STL's log of when it fails instead of reinstalling and experiencing a download issue instead. Based on the log, it seems that the reason why it's failing to run is because it's not able to find to find Wine set for it: @sonic2kk did mention this earlier on when examining MO2's code. |
So which proton version did you configure for MO2 (global settings) and is it still available on your system? |
The proton version set for MO2 was "GE-Proton7-37". I don't recall doing this, but I might've tried testing if STL's download function was only failing with MO2 by trying other features that require a download, such as downloading a custom proton version. It seemed that it was successful, as there are files in the custom proton directory. I was curious if downloading it in the beta version instead would fix this issue of it not being found by MO2, but unfortunately it didn't work. However, there was a checksum error when downloading it, so it's probably corrupted, which might be why MO2 isn't able to find it. When choosing a proton version for MO2, there was another option available in the drop-down menu called "experimental-7.0-20221005b". Once I tried this, MO2 was able to successfully launch! So the issue might be that MO2's proton option was to set to a version that was corrupted. I'll attach a log of when I try downloading it. |
yay |
Version: 10.0.20220725
OS: Pop!_OS 22.04 LTS
When attempting to run MO2 on first launch of this tool, the terminal running Flatpak Steam outputs:
Then any subsequent launches until restarting outputs:
The text was updated successfully, but these errors were encountered: