Repository navigation
Conversation
Owner
|
Merged the bulk of this. 958b4cc needs some work. |
Contributor
Author
|
lmk what you bumped into and I missed when we're next overlapping awake :) |
A game with a mac build runs without a runner, so it never saw a plugin. Steam intersects a tool's from_oslist against the app's platform mask, so this one declares macos and runs a shim with no Wine in it. The shim joins the plugin dylibs the panel already writes as NOTPROTON_PLUGIN_LIBS to Steam's overlay and hands the pair to the game: under both DYLD_INSERT_LIBRARIES and STEAM_DYLD_INSERT_LIBRARIES, since a command that is a script restores the insert itself once bash has scrubbed DYLD_*, and through open --env when the command is an app bundle rather than an executable.
A tool's folder name as before, or now the flavor of the layer it runs the guest through -- rosetta, fex, native -- with a bare * for a plugin that runs anywhere. Saying nothing means rosetta, inherited down a depends chain so a feature declares once for the rows beneath it. The launch already read its own flavor; the panel learns every tool's from np_compat_tool_flavors, the native tool included.
natbro
force-pushed
the
alt-compat-tools
branch
from
December 1, 2026 22:53
958b4cc to
293e808
Compare
Contributor
Author
|
per our offline convo, the existing |
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.
NotProton does the main hook and adjustment to enable alternate compatibility tools on macOS Steam, while also configuring a compatibility tool for doing
"from_oslist":"windows" -> "to_oslist":"macos"compatibility using CrossOver.This PR has a few commits that make non-intrusive-to-default-crossover changes supporting additional compatibility tools with other
"from_oslist" -> "to_oslist"configurations and it allows them to share installed NotProton plug-ins when appropriate.It does this by:
/usr/bin/env FOO=barin the advanced launch options rather thanenv FOO=barwhich can lose environment variables for some types of ways Steam launches alternate toolsNOTPROTON_PLUGIN_LIBS=...to other compatibility tools via the environment which they can turn intoDYLD_INSERT_LIBRARYor other injection techniques appropriate for their launches. NotProton already does this within it's game launching stage.It also now installs and registers a
"from_oslist":"macos" -> "to_oslist":"macos"compatibility tool called Native (with plugins) which allows you to use useful plugins in your native macOS steam game launches. There are many types of plugins that can be useful for native games as well.