Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix issues in Wine #69

Merged
merged 2 commits into from
Aug 11, 2020
Merged

Fix issues in Wine #69

merged 2 commits into from
Aug 11, 2020

Conversation

shiftinv
Copy link
Contributor

@shiftinv shiftinv commented Aug 9, 2020

This fixes the most common issues when running USB Helper in Wine by patching a few things and setting some default values.
Wine is detected by checking if ntdll exports wine_get_version; Wine compatibility mode can also be enabled manually by passing --wine to the launcher.

Changes:

  • Set ForceHttp = true and IPCType = IPCType.TCP by default
  • Disable the download manager hint overlay and the "Play Game" feature
  • Set the WPF render mode to SoftwareOnly, which fixes a crash related to the speed graph
  • Accept all HTTPS certificates in FiddlerCore regardless of trust, which is required as invalid certificates seem to cause high CPU usage

wine-staging is recommended, as it's currently significantly faster than wine-stable.

I've also created a docker image based on Ubuntu 18.04 + wine-staging + .NET 4.8 here, which can run USB Helper using this + #68 and display it over a local VNC connection.

(These changes depend on TCP IPC bindings, included in #68)

@FailedShack
Copy link
Owner

Looks good! 😄

@FailedShack
Copy link
Owner

Please rebase.

@shiftinv
Copy link
Contributor Author

Please rebase.

Done.

@shiftinv shiftinv changed the title Fix issues when running in Wine Fix issues in Wine Aug 11, 2020
@FailedShack FailedShack merged commit 0264c3b into FailedShack:master Aug 11, 2020
@shiftinv shiftinv deleted the fix-wine branch August 11, 2020 19:27
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.

None yet

2 participants