-
Notifications
You must be signed in to change notification settings - Fork 73
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
NXM Handler Issues #734
Comments
Hi! Flatpak STL is only for Flatpak Steam, as noted on the wiki. NXM link handling issues are already being tracked at #637, though no progress has been made. I'm not sure why it isn't working, and it isn't a feature I use very often. Though on my machine running Arch Linux Plasma Wayland and Firefox, it works without issue. Closing as this is a duplicate of an already known issue even if it has no known resolution :-) |
Oh, I think I misunderstood your issue description. It's that the .desktop file for Flatpak needs to point to a different location, right? You don't mention that you're using Flatpak Steam so I assume you aren't and you'll want to use regular STL, however the desktop file pointing to the wrong place is something I'll take a look at when I have time. No guarantees that link handling will work, especially with Flatpak ,and I highly encourage you to install your mods manually even on Windows (not a fan of these "one-click" buttons...), but I'll see about updating the .desktop file generation. Should hopefully be easy :-) |
Thanks for the quick reply! I am using Flatpak Steam. It used to work previously, but I honestly can't say why it's stopped. The lacking directories being the cause is just my best guess. |
Had a quick look at the code, the path issue when creating the Probably the solution to this issue is twofold:
For now the change I was planning to make in the code with my original comment, seems to already have been done. See if you can create the |
Hi! Thanks for looking further into this! Busy day today, so I haven't been able to update on here until now.
I did check in what I assumed would be the Flatpak equivalent given both Flatpak applications' and non-Flatpak STL's user data directories reside in the home directory (
I'd originally presumed it installed alongside Steam inside The (current) directory for STL's script is:
That giant string gives me pause though. At 64 characters maybe it's a SHA256 checksum? I'll check it again when Steam updates to see if it changes. After completely deleting the configuration folder in If it helps, Here's a tree of the Tree
|
Good find! I was on the complete wrong track, shows how much I use Flatpaks 😅 This is probably where you'll want to point the script to, however...
I was wondering the same. At the very least I am not sure that it is a "reliable" path. I've pinged the STL Flatpak maintainer at the bottom of this issue, though this is not exactly an issue specific to STL Flatpak as it just seems to occasionally happen, perhaps they have some better insight :-) In the meantime, feel free to try using that as the
That's the Skyrim profile it looks like, that doesn't show the MO2 installation structure, which in your case should be somewhere like As a little tidbit, in the directory structure you showed, the @HanPrower Do you know where the "real" path to the Flatpak |
AFAIK, there's only one other child in the same directory as that one, named "Active", so if anything were to be done that required targeting that folder you could just do whatever the Bash equivalent is of "the one that isn't active". To run a command in a Flatpak container, I suppose you could use this command?
So, something like this in the desktop file:
As I don't actually know how an NXM link is structured (monke bash download button) I tried running the command in |
As an aside in relation to the desktop file I've personally created - it doesn't seem to do anything when triggered by my browser? I currently have If I run it with |
Ah, so this is a bit of a quirk with these one-click buttons. When I was first playing around with these probably almost a year ago now, I discovered something really strange. These one-click buttons don't just pass the URL to the mod. For example I thought it would be something like This structure is a little buried. Just hovering over the mod manager button isn't very helpful, as this takes you to the page that has the Slow or Fast download. But if you click on it, and then right click and inspect element on the Slow or Fast download button, you'll see a link like this (in this case, this is for the Clarity mod): After this you should also be able to use If all works as expected here, then we can move onto the next part you mentioned:
This is the crux of the NXM link handling issue in #637, and also an issue many users are experiencing with Hedge Mod Manager's link handling. And unfortunately the bottom line is that I don't really know why it's working for some users but not working for others. What's worse, several users have reported that sometimes it just starts and stops working for no real reason. On Steam Deck usually nothing happens, or sometimes it prompts to ask for an application to use, but I can't figure out what's going on with this link handling or lack thereof. I have spent a lot of time looking into it in the past with Frostworx as part of #598 and other issues before that, but honestly a solution here will probably have to come from someone with more understanding of how these links work. Unfortunately it is rare for anyone to step up and contribute anything to STL so I am not holding my breath too much on that one :-) If it gets to the point where the |
Awesome! Thank you so much for explaining the link to me. I'm used to tracing network requests for stuff, but I didn't realise the Slow/Fast Download screen atuomatically redirects you if you have Premium lol. I had to copy the link and then visit it manually. But it works! Sadly. Which means it's that infamous issue you've talked about. For the sake of documentation, here's the Desktop file I'm using for Flatpak:
I'll close this issue as my problem's fixed, but I'll read through #637 and see if I can't help at all. I guess I'd mistakenly thought it was fixed when I commented there. |
Thanks for attaching that .desktop file structure! I will get that added to the wiki :-) |
Just want to add that har-nick's .desktop file works great for flatpak Vortex too, obviously with swapping mo2 to vortex. |
System Information
Issue Description
Tried downloading a file through Nexus' Mod Manager button, and was asked to specify a handler through Firefox.
The desktop file was not created in
.local/desktop
, so I created it myself using the wiki page here, and set the association in Firefox's Applications menu.While the handler prompt isn't shown anymore, nothing happens. I then noticed the MO2 file specified in the desktop file (under
Path
) does not exist. In fact, no directory exists past~/.var/app/com.valvesoftware.Steam/config/steamtinkerlaunch/mo2/compatdata
.I've tried reinstalling STL through Flatpak, but no difference was made.
Given this, and Flatpak STL not having an executable in
/usr/bin
, I'm assuming a different desktop file spec may need to be made for the Flatpak version.The text was updated successfully, but these errors were encountered: