Repository navigation
Fail on startup with the names of the missing native dependencies - #39
Merged
Merged
Conversation
DependencyCheck runs first in Preloader.Initialize and throws one DllNotFoundException listing every missing library with the Debian, Fedora and Arch package names, so users learn what to install instead of hitting a bare DllNotFoundException deep in a P/Invoke. Bundled libraries are checked in the plugin directory, system ones by dlopen. One complete SDL3 video driver set (X11 or Wayland) is enough, and a missing audio backend only warns. The server needs only the three PE-loader wrappers. The README lists the packages.
OwendB1
added a commit
that referenced
this pull request
Sep 6, 2026
Bump LinuxCompat’s client assembly and file versions from 1.0.17.0 to 1.0.18.0 in both the source-compiled plugin attributes and MSBuild metadata. This identifies the release containing the merged Wayland Steam overlay input bridge (#40) and missing-native-dependency diagnostics (#39). PluginHub must update `Plugins/LinuxCompat.xml` to a commit containing this bump before Pulsar users receive it. A plugin update does not require a new Pulsar release or native dependency archives. Validation: Release builds passed for ClientPlugin and ServerPlugin. Both emitted only the expected warning that local deployment was skipped. CSharpier and `git diff --check` passed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
When a native library the plugin needs is missing, the game used to die much later with a bare
DllNotFoundExceptionfrom some P/Invoke, or DXVK failed to find Vulkan, and users had no way to tell what to install.A new
DependencyCheckruns first inPreloader.Initialize, the earliest hook Pulsar and Magnetar call, and throws oneDllNotFoundExceptionlisting every missing library with its purpose and the Debian/Ubuntu, Fedora and Arch package names. Pulsar's preloader wrapper logs the exception and shows it in a message box.libopus.so.0, and when rendering is on,libvulkan.so.1plus one complete SDL3 video driver set, either X11 or Wayland.SDL_VIDEODRIVERnarrows the check to that driver and skips it foroffscreen;PULSAR_NO_RENDERskips the rendering group.Testing
SDL_VIDEODRIVER=offscreen/waylandandPULSAR_NO_RENDER=1pass.-sources -noprompt --headless): console logs[LinuxCompat] all native dependencies found, main menu reached, no exceptions.Follow-up outside this repo: Pulsar keeps starting the game after a preloader hook throws (
SafeInvokereturnsfalseand the caller ignores it).