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

Orbiter now searches for graphics client plugins within an optional module subfolder #183

Merged
merged 1 commit into from
May 10, 2022

Conversation

matthew-reid
Copy link
Contributor

@matthew-reid matthew-reid commented Apr 23, 2022

As discussed in this thread, with the help of @Face-1 I've changed plugin load behavior to:

  1. Search for plugins with the pattern `Modules/Plugins/XXX.dll (existing behavior)
  2. If not found, search for plugins with the pattern: Modules/Plugins/XXX/XXX.dll

This is useful for cases where plugin A.dll depends on B.dll. Currently orbiter searches for DLLs on the PATH. This means users must install all dependency plugin DLLs to Modules or Modules/Plugins, which adds clutter and potential conflicts between plugins. With this new behavior, a plugin and all its dependencies can be installed to its own subfolder, and will not interfere with the loading of other plugins.

I have only introduce this behavior for graphics clients. If this feature is successful, it would be good to extend the behavior to all module types (vessels etc) as well.

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

Successfully merging this pull request may close these issues.

None yet

3 participants