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

Disable Winetricks popup warning messages? #114

Closed
Faugus opened this issue Jun 14, 2024 · 6 comments
Closed

Disable Winetricks popup warning messages? #114

Faugus opened this issue Jun 14, 2024 · 6 comments

Comments

@Faugus
Copy link

Faugus commented Jun 14, 2024

WINEPREFIX=/home/faugus/.config/faugus-launcher/prefixes/wow GAMEID=winetricks-gui  STORE="none" "/usr/bin/umu-run" ""

Is there a way to disable these popup warning messages?

https://drive.google.com/file/d/1EG84FcYO2hS6L7k3e1Z603VH7J3DxPOZ/view?usp=sharing

Video_2024-06-14_16-21-23.mp4
@R1kaB3rN
Copy link
Member

R1kaB3rN commented Jun 14, 2024

This is a problem upstream and umu has no control over this when using the winetricks GUI.

Here are links to the relevant issues:

Also, since f4fb158 umu is able to run winetricks verbs without setting GAMEID=winetricks-gui , allowing clients apps to be the front end instead of zenity.

@Faugus
Copy link
Author

Faugus commented Jun 14, 2024

@R1kaB3rN How do I run the Winetricks GUI with this new method?

[faugus@archlinux ~]$ WINEPREFIX=/home/faugus/.config/faugus-launcher/prefixes/world-of-warcraft GAMEID=WoW "/usr/bin/umu-run" "winetricks"
ERROR:  No winetricks verb specified
[faugus@archlinux ~]$ WINEPREFIX=/home/faugus/.config/faugus-launcher/prefixes/world-of-warcraft GAMEID=WoW "/usr/bin/umu-run" "winetricks --gui"
steamrt3 is up to date
UMU-Proton is up to date
WARNING:  Executable not found: winetricks --gui
ProtonFixes[17971] INFO: Running protonfixes
ProtonFixes[17971] INFO: Running checks
ProtonFixes[17971] INFO: All checks successful
ProtonFixes[17971] INFO: Using global defaults for UNKNOWN (WoW)
ProtonFixes[17971] INFO: No global protonfix found for UNKNOWN (WoW)
Proton: winetricks --gui
Proton: Executable is inside wine prefix, launching normally.
fsync: up and running.
Application could not be started, or no application associated with the specifie
d file.
ShellExecuteEx failed: File not found.

@R1kaB3rN
Copy link
Member

R1kaB3rN commented Jun 14, 2024

The second command is incorrect usage and will result in that error because the launcher is interpreting "winetricks --gui" as an executable. Everything after the winetricks positional argument should be a valid winetricks verb, so --gui in this case would be invalid too.

Here's an example of the correct usage taken from umu(1):
$ GAMEID=0 PROTONPATH=GE-Proton umu-run winetricks quartz wmp11 qasf

@Faugus
Copy link
Author

Faugus commented Jun 14, 2024

Are you planning on implementing the GUI option with this new method or should I stick with the previous GAMEID=winetricks-gui?

@R1kaB3rN
Copy link
Member

No, because --gui isn't an official winetricks verb but a CLI option. If you want a GUI and don't want to write one, I suggest sticking with GAMEID=winetricks-gui.

@R1kaB3rN
Copy link
Member

Closing as this isn't a bug in the launcher and supporting winetricks CLI options like --gui isn't planned.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants