Skip to content
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 Links not associating with MO2 #673

Open
GodPhase777 opened this issue May 29, 2024 · 8 comments
Open

NXM Links not associating with MO2 #673

GodPhase777 opened this issue May 29, 2024 · 8 comments

Comments

@GodPhase777
Copy link

GodPhase777 commented May 29, 2024

NXM links when clicked do nothing. It seems to not be interacting with MO2 at all.
Update: It asks which app I want to use for it, but nothing related to my MO2 install pops up, and associating it with nxm links in the mod manager does nothing.

@GodPhase777 GodPhase777 changed the title NXM Links not Working NXM Links not associating with MO2 Jun 3, 2024
@jambombs24
Copy link

I also have this same issue. MO2 states that it is connected to Nexus, and it's associated with NXM links.

I'm using 5.0.3 of this installer and Pop!_OS 22.04.

@holdenretriever
Copy link

I also have the same issue; following from a reply in #92, is it possible that you could do the following and paste the output?:

Try to download a mod on Nexus. On the final page you'll see a message "if you are having trouble, click here to download manually", copy that link and run this command:

$ xdg-open 'paste link inside the quotes'

Doing this I get an output of

"$@"': -c: line 1: unexpected EOF while looking for matching `''

I am also using release 5.0.3, on Arch.

@hawari21
Copy link

hawari21 commented Jul 10, 2024

Same here but my message like this : io: nxm://fallout4/mods/47327/files/191018?key=RYXiruOXF6fJY14MTz0mpw: The specified location is not supported

I using STL version tho.

@tkd-drums-bass
Copy link

tkd-drums-bass commented Aug 15, 2024

My 2 cents worth from Ubuntu 24.04:
I added my API key to MO2 for Skyrim, attempted a mod download, then the following error dialogue was displayed.

Fair enough, but what app do I need? I'm not having any luck finding anything on the web.

image

I forgot to add this: ( I need more coffee )
image

@farelmapm
Copy link

farelmapm commented Sep 1, 2024

I have tried with 3 browsers so far, Zen (Firefox based), Brave (Chromium based), and Chromium. The protocol handler works fine with Zen but this issue happens with both Brave and Chromium. So possibly it's an issue with Chromium?

Edit: Tried it with Firefox, it worked perfectly. I think there's definitely something going on with how Chromium handles the protocol or how it maybe sends the url to the argument. For reference I'm using Arch Linux with this installer version 5.0.3.

In comparison, executing the bash script directly like:
bash -c '"$HOME/.local/share/modorganizer2/modorganizer2-nxm-broker.sh" "$@"' "$HOME/.local/share/modorganizer2/modorganizer2-nxm-broker.sh" "<link>"
Successfully triggers the handler and MO2 handles the download as expected.

@farelmapm
Copy link

farelmapm commented Sep 1, 2024

Personally I found a workaround on Arch. If xdg-open "<link>" outputs "$@"': -c: line 1: unexpected EOF while looking for matching '', you can change the Exec parameter in ~/.local/share/applications/modorganizer2-nxm-handler.desktop to

[Desktop Entry]
Type=Application
Categories=Game;
Exec=/home/YOUR_USER/.local/share/modorganizer2/modorganizer2-nxm-broker.sh
Name=Mod Organizer 2 NXM Handler
MimeType=x-scheme-handler/nxm;
NoDisplay=true

fixes the issue.

@Gronglegrowth
Copy link

I am also experiencing this. When I attempted to change the Exec parameter as the previous comment by farelmapm describes, the error dialog no longer displays but, nothing actually seems to get downloaded. I also use Arch, and also installed with the 5.0.3 version.

@farelmapm
Copy link

@Gronglegrowth Try appending %u at the end of exec

[Desktop Entry]
Type=Application
Categories=Game;
Exec=/home/YOUR_USER/.local/share/modorganizer2/modorganizer2-nxm-broker.sh %u
Name=Mod Organizer 2 NXM Handler
MimeType=x-scheme-handler/nxm;
NoDisplay=true

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants