Skip to content

Symlink Deployment Mode and Custom Components#34

Merged
weter11 merged 3 commits intomainfrom
feature/symlink-deployment-mode-4874256893497921374
Mar 17, 2026
Merged

Symlink Deployment Mode and Custom Components#34
weter11 merged 3 commits intomainfrom
feature/symlink-deployment-mode-4874256893497921374

Conversation

@weter11
Copy link
Owner

@weter11 weter11 commented Mar 16, 2026

This PR adds a compatibility-focused backend deployment mode and support for custom graphics component locations.

Key features:

  1. Symlink Deployment Mode: A new per-game checkbox "Use symlinks instead of WINEDLLPATH" that deploys translation DLLs (DXVK/VKD3D) directly into the Wine prefix system directories. This is critical for titles that ignore environment-based injection.
  2. Custom Component Paths: Users can now specify custom directories for DXVK, VKD3D, and VKD3D-Proton. These paths are validated for standard architecture layouts (x86_64-windows / i386-windows).
  3. Safe Prefix Management: Implementation of deploy_dll_symlinks and cleanup_dll_symlinks ensures that original Wine built-in DLLs are backed up as .dll.bak and restored when the mode is disabled.
  4. Architecture Awareness: Both symlink deployment and custom path resolution remain fully architecture-aware, supporting dual-arch 64-bit prefixes.
  5. UI Improvements: The graphics options tab now includes deployment mode selection and custom path inputs, with enhanced tooltips showing the exact path of detected components.

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

- Implemented "Use symlinks instead of WINEDLLPATH" option for improved compatibility with games like Batman: Arkham Origins.
- Added support for custom DXVK, VKD3D, and VKD3D-Proton component paths.
- Enhanced DllProviderResolver with architecture-aware Custom provider support.
- Added prefix symlink management (deployment/cleanup) with safe backup/restore of original DLLs.
- Updated UI to expose new settings and display component path tooltips.
- Adjusted WineTkgRunner to honor symlink mode and skip environment path injection when active.

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 March 16, 2026 23:44
- Expanded DXVK evidence patterns in `wine_capture.rs` to include `info: Game:`, `D3D11InternalCreateDevice`, and swapchain/Vulkan startup logs.
- Implemented a retry mechanism with short delays in `pipeline.rs` to handle asynchronous Wine log flushing.
- Improved diagnostics for empty logs by distinguishing between early scans of active processes and exited processes.
- Refined WineD3D fallback detection to prevent false positives when DXVK/VKD3D are confirmed.
- Added regression tests for symlink deployment and new evidence patterns.

Co-authored-by: weter11 <14630689+weter11@users.noreply.github.com>
…support

- Separated game state prefix (saves/configs) from Steam runtime deployment strategy.
- Effective prefix now strictly follows the "Use shared steam compatibility data" toggle.
- Redefined "Steam Runtime Prefix Mode" to control only the exposure of Steam helper files.
- Added NVAPI component detection, versioning, and architecture-aware discovery.
- Implemented NVAPI exposure to the game environment via native overrides and path injection.
- Improved logging for prefix selection, runtime mode, and NVAPI status.
- Updated UI to display detected NVAPI components.

Co-authored-by: weter11 <14630689+weter11@users.noreply.github.com>
@weter11 weter11 merged commit 1c2f825 into main Mar 17, 2026
2 checks passed
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