Jump to content

What's the best way to programmatically get the FO4 install location?


Recommended Posts

This is not really a modding question, but I'm hoping someone here knows the answer. I'm working on a modding tool, and I'm not sure how to best get the install location of FO4. I'm currently reading the uninstall key from the registry (HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Steam App 377160), but I'm not sure how reliable that is. Is there a better way of doing it?

Link to comment
Share on other sites

You could maybe look into F4SE (the script extender), it probably has a way to detect where a plugin you would have created is located on the current filesystem, or just prompt the user for it and retrieve that info later in your mod (again maybe F4SE), i'm no expert so i really dont know if this will work, but i do hope it'll help :)

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...