Skip to content

Restart Ghost Steam Implementation for Stability#15

Open
weter11 wants to merge 3 commits intomainfrom
ghost-steam-restart-43270996360713764
Open

Restart Ghost Steam Implementation for Stability#15
weter11 wants to merge 3 commits intomainfrom
ghost-steam-restart-43270996360713764

Conversation

@weter11
Copy link
Owner

@weter11 weter11 commented Feb 18, 2026

This change implements a more stable approach to "Ghost Steam" by installing the official Windows Steam Client into game Proton prefixes using raw Wine, bypassing Proton's built-in Steam stubs. It also ensures games are launched using these real binaries by setting appropriate DLL overrides.


PR created automatically by Jules for task 43270996360713764 started by @weter11

- Task 1: Add `find_wine_binary` to dynamically locate the wine executable in various Proton versions.
- Task 2: Implement `install_ghost_steam_in_prefix` for a clean install into Proton prefixes using raw wine and removing stubs.
- Task 3: Update `spawn_game_process` to trigger Ghost Steam install before launch and force real Steam binaries via WINEDLLOVERRIDES.
- Add `steam_setup_path` configuration and UI field.

Co-authored-by: weter11 <14630689+weter11@users.noreply.github.com>
@google-labs-jules
Copy link
Contributor

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

google-labs-jules bot and others added 2 commits February 18, 2026 17:41
- Revert to using the Proton script (`proton run`) for installation to ensure TLS/SSL network libraries are available.
- Implement "Brain Surgery" environment variables: set `WINEDLLOVERRIDES` and unset Proton's internal Steam hooks.
- Use the correct `pfx` subdirectory for the Wine prefix.
- Add sanitization to remove existing Proton stubs before install.
- Optimize by skipping installation if `steam.exe` already exists.
- Force use of real Steam files during game runtime via `WINEDLLOVERRIDES`.

Co-authored-by: weter11 <14630689+weter11@users.noreply.github.com>
- Implement `get_installed_steam_path` in `src/launch.rs` to scan for `steam.exe` in multiple common paths with fuzzy case matching.
- Update `install_ghost_steam_in_prefix` to return the discovered path and log directory contents on failure.
- Update `spawn_game_process` in `src/steam_client.rs` to use the found filename for `WINEDLLOVERRIDES`, handling case-sensitivity quirks.

Co-authored-by: weter11 <14630689+weter11@users.noreply.github.com>
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