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

Add linux native nxm handler #2113

Open
CcMenta opened this issue Aug 27, 2024 · 0 comments
Open

Add linux native nxm handler #2113

CcMenta opened this issue Aug 27, 2024 · 0 comments
Labels
Feature Request User submitted feature request.

Comments

@CcMenta
Copy link

CcMenta commented Aug 27, 2024

It would be nice if we could have a nxm handler for linux mainly because it makes it much easier to use mod organizer 2
There is a work around to make the windows version work with nxm.
Here are the steps (for those who have this issue and want to use nxm with mod organizer):

  1. Create a shell script and make it executable:
    WINEESYNC=1 WINEPREFIX=<path to wine prefix> <path to wine version> <path to the nxm handler>/nxmhandler.exe "$1"

For me it looks like this:
WINEESYNC=1 WINEPREFIX=/home/<user>/Games/Heroic/Prefixes/default/MO2 /home/<user>/.config/heroic/tools/wine/Wine-GE-Proton8-26/bin/wine /home/<user>/.windowsprograms/ModOrganizer2/nxmhandler.exe "$1" I used to censor my username on linux

  1. Create a .desktop file in /usr/share/applications:
    [Desktop Entry] Exec=<path to shell script> %u MimeType=x-scheme-handler/nxm; Name=NXM Handler Terminal=false Type=Application

For me it looks like this:
[Desktop Entry] Exec=/home/<user>/.local/bin/tools/nxmhandler.sh %u MimeType=x-scheme-handler/nxm; Name=NXM Handler Terminal=false Type=Application

if you done these steps right nxm links should work but it's a hassle to make it work.

@CcMenta CcMenta added the Feature Request User submitted feature request. label Aug 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Request User submitted feature request.
Projects
None yet
Development

No branches or pull requests

1 participant