Skip to content

Latest commit

 

History

History
19 lines (15 loc) · 1.11 KB

nxm handling.md

File metadata and controls

19 lines (15 loc) · 1.11 KB

Handling nxm:// links

Registering Fo76ini.exe as a URL handler

See the related code:

How it's handled

  • When the app get's opened with an nxm:// link as an argument, it writes that url to a nxm.txt file in the configuration path ($env:LocalAppData\Fallout 76 Quick Configuration).
  • If an instance of the app is already running, the app just quits.
  • If not, the app will check periodically for the nxm.txt file.
    • If the app find it:
      • Open FormMods, if it isn't already opened.
      • Load the text file and then delete it.
      • Parse the nxm link and request a download link from the Nexus API.
      • Download the file.
      • Import it and populate the mod's fields with meta info