Skip to content

Let plugins start Windows programs alongside the game - #341

Open
NikNakk wants to merge 1 commit into
NotProtonNot:plugin-pt3from
NikNakk:codex/companion-processes
Open

NikNakk wants to merge 1 commit into
NotProtonNot:plugin-pt3from
NikNakk:codex/companion-processes

Conversation

@NikNakk

@NikNakk NikNakk commented Nov 30, 2026 •

Copy link
Copy Markdown

Closes #318

Plugins can declare companion programs such as the UEVR injector. NotProton starts them in the game’s Wine prefix after launch, writes their output to notproton-companions.log, and stops any companion processes still running when the game exits.

Both descriptor readers validate companion entries. The runner resolves the executable path and preserves its arguments. Launches through Windows Steam skip companions because they bypass NotProton’s Steam shim.

I've used this to get UEVR working on supported games.

A plugin row can now name up to four "companion" programs, each a path
and its arguments with the path quoted if it has spaces. The run script
resolves them like "requires" and hands them to steam.exe, which starts
them in the game's prefix once the game is running, with the game's
environment, and stops any still running when the game exits. Their
output goes to notproton-companions.log beside the launch log.

Both descriptor readers validate the field the same way, and the panel
marks such rows as needing NotProton's own runner.
@NikNakk
NikNakk force-pushed the codex/companion-processes branch from cd86d31 to 4f4d612 Compare November 30, 2026 23:33
@NikNakk
NikNakk marked this pull request as ready for review November 30, 2026 23:35
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.

1 participant