-
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
Fresh Install of EOS - NXM Link Handling Not Working #594
Comments
Currently STL isn't able to add NXM link handling to Firefox Flatpak. If this is possible and you know how to fix this a PR would be appreciated. Also, Vortex is broken on Linux at the moment. This isn't a SteamTinkerLaunch issue as far as I'm aware. The vortex folder might be empty because there was a fix just yesterday for downloading MO2 and Vortex. Maybe the Chaotic AUR package is outdated. I'd love this problem to be fixed but I'm not sure how - This would also fix link handling on Steam Deck! |
I might try and make some time to look into this again over the weekend. I'm not totally convinced Firefox Flatpak can do this but I'll find out more soon hopefully :) |
Currently investigating and I noticed that STL has a command line option: |
I'm testing so far on my laptop with Arch Linux + KDE Plasma + Stable Firefox Flatpak. I was successfully able to link my Nexus mods account (the Flatpak browser opened no problem), now I just have to test for the NXM links. In the process of installing a game that should support NXM and that will run on my laptop. |
@sonic2kk ❤ |
On my laptop: With Non-Flatpak Firefox and Flatpak Firefox I was able to link my Nexus account but I was not able to download any mods using the Mod Manager button on Nexus Mods. In the Firefox application associations list in preferences, both Flatpak and Non-Flatpak were set correctly for On my desktop: I didn't try Flatpak but Non-Flatpak Firefox has link associations set correctly. I think the file associations for both kinds are set correctly there, though. An obseration: @TheKarion please make sure Firefox Flatpak is your default browser and if it is not, set it (in KDE's "Default Applications" menu), then in MO2's settings Disconnect and Reconnect to Nexus, then try to set the link association again. After this, restart Firefox and go to From looking at STL's code, it looks like MO2 and Vortex links are set using |
When passing a Nexus URL to STL from the command line with
Removing
Removing
Maybe something similar is going wrong when trying to download files from Nexus with the button, since the Maybe I'm just using the command wrong, |
As already said above we need a log here. |
Here is my log, I started STL with Stardew Valley, pressed the MO2 button on the Main Menu, and tried to download a mod with STL and MO2. The URL passed is different from what I was passing, so no errors that I can see but MO2 doesn't download anything. Running
I couldn't find
|
I appreciate your help, but an initial log from OP would have been better. While you're at it please also post
|
Oh, sorry! Didn't mean to pollute the thread or anything. Got a bit caught up in trying to figure out the problem. Uploaded the desktop file as a txt because GitHub wasn't happy with the ModOrganizer-steamtinkerlaunch-dl.txt I'm not sure where to find Just to clarify, MO2 mods work correctly, it's just the automatic downloading of them with the Nexus website's "Mod Manager" button that doesn't work. It seems like on my laptop it doesn't matter if I try with Firefox Flatpak or Firefox from my package manager. Afaik this will also be a problem with Vortex but I haven't tested Vortex and don't use it. I don't know if the problem and hopefully eventual solution will be different for MO2 and Vortex though, since they way the desktop files and mime associations are setup seem to be fairly similar. It works on my desktop, but I set that up months ago with Fallout New Vegas and Skyrim SE. If there are any logs and other files specifically you would like to see compared between my laptop and PC please let me know 😄 |
Thanks for the log! 👍 (you didn't pollute anything, but I expect the users to at least try to provide useful issues and sometimes it can be annoying to spend time on asking for logs again and again. I doubt that it is a secret that I don't have patience for stuff like this 🤨) Your desktop file looks perfectly fine and the code generating it hasn't changed for a long time, so if the mime handler is broken generally I'd suspect something has changed somewhere outside steamtinkerlaunch. |
There is a possibility for that yes, I'm not sure how Flatpak handles calls out to other applications even if that's how the file association is set up. I remember reading a long time ago, for example, that the It's possible the link handling has changed, but the association worked fine on my desktop as of about 2 months ago or so when I was modding New Vegas with MO2 on my PC, and I don't use Firefox Flatpak there (I use developer edition on my laptop and PC from the Arch repos). Users have reported issues with this on Steam Deck with this same issue as Steam Deck uses Firefox Flatpak. The NXM handler does show up in Firefox Flatpak on my laptop, identically to Firefox Developer edition. But no mods are downloaded when I press the "Mod Manager" button (with MO2 running) on my desktop no matter if my default browser is Firefox Flatpak or Firefox from the Arch repos. |
Oh! I might be onto something, just replying now because I think there might be discrepancy between downloading mods in MO2 GUI mode and from the Main Menu button... |
Okay! So I was able to successfully download several mods with Firefox Flatpak when running MO2 in MO2 Game Mode. It seems like the issue here is with Standalone Mode, when running in Standalone Mode (with the main menu button) I can't seem to download mods using the "Mod Manager" button. I tested this with "The Binding of Isaac: Rebirth" and "Stardew Valley" (yes, these are native Linux games, but for the purposes of testing this issue I wanted light games and MO2 only supports modding Windows versions of games as far as I can see). @TheKarion Can you try running MO2 by enabling MO2 in the Game Menu (under "ModOrganizer 2" options, I believe it's set to Disabled by default). and then pressing STL's "Play" button and starting the MO2 GUI that way? See if that resolves your issue. If it does, I'll see about testing on Steam Deck and seeing how I go. Maybe something needs to be changed with how MO2 runs in standalone mode? I'm not sure honestly... Maybe the problem is to do with the |
Thanks for testing! Interesting, I'm sure this worked once, but I haven't touched MO2 for a long time. |
The problem with installing in the game prefix is that MO2 would have to be installed separately for every game. Keeping MO2 installed in a separate prefix is probably better. Also, I vaguely remember this issue but MO2 has worked for me without dotnet for quite a while, so it should be fine :) Maybe however STL does the URL command needs to be updated. Not sure what it does that doesn't work in game mode, maybe in standalone mode wherever MO2 is looking for mods is wrong? Honestly no idea, I'll have to compare the MO2 prefix and game prefix I think. I don't know if it'll work or have any other unintended side effects but I wonder if we can do any of these:
Maybe none of this is required and some kind of fix can be implemented for the URL download function. I think investigating that function and how MO2 downloads and looks for mods is a good place to start (in my opinion, not an expert 😅) |
iirc the mo2 gui started to work without mo2, but it was never resolved if modding itself works as well without it. edit: fyi: I'll focus on fixing |
I tried to open one of my downloaded files with MO2's "Open File" option, this of course failed but it did come up with the path to the file: I'm not sure where this path is, I can't find a EDIT: So the MO2 Paths config was my friend here. It downloads in the MO2 installation compatdata (the one in |
So the logs look very different when you try to download a mod with MO2 in Standalone Mode (main menu button) and Game Mode. In Standalone Mode, where downloading a mod does not work, here are the last few lines:
With MO2 in Game Mode, it ends with this:
Not sure of the relevancy in the difference in these longs but it's strange to me that we only get this line of logging when using Standalone Mode: Full logs below, marked as "working" for the log where the mod does successfully download, and "broken" for the log where it doesn't. mo2 game mode (working).log |
|
So my firefox (the one from pacman) has been working with nxm links for a long time, and I did have an issue in the past where it was using an old install so I deleted all the cache files and configs from my computer, but this time there isn't even an associated link to it in the settings, nothing pops up if I click download with vortex. Sorry for not being much help, mimetypes are something I don't really know anything about. I went back to my old bug report and tried to fix it on my own but to no avail. Just let me know what you need and I'll share |
Yea I can do that, trying to mod Bannerlord if that helps. |
Oh wait I fixed it, so stl never downloaded the vortex-steamtinkerlaunch-dl.desktop, luckily I had a backup in a timeshift from my old install so I moved it over and now it works. |
I see that thumbs down frost I'm trying my best |
|
Ah ok |
That's kind of strange, STL is meant to generate this file I believe. |
it does... |
Don't know what to tell you but it didn't. I had to create a applications folder so maybe that was it? Idk but I'll close this since its fixed |
If you were missing |
Trying to download a collection from Nexus and the nxm protocol doesn't show up, it brings up the kde system thing to ask you to pick an app to use. I used a fresh (flatpak) install of firefox to test. I believe the chaoitc aur version is borked as trying to install vortex from that made an empty vortex folder, so I'm using the aur steamtinkerlaunch-git package.
The text was updated successfully, but these errors were encountered: