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

Protontricks fails with warning: Unknown file arch of /home/$USER/.cache/protontricks/proton/GE-Proton9-1/bin/wineserver. #286

Open
roxithegremlin opened this issue Mar 13, 2024 · 5 comments

Comments

@roxithegremlin
Copy link

Describe the bug
Protontricks fails with warning: Unknown file arch of /home/$USER/.cache/protontricks/proton/GE-Proton9-1/bin/wineserver.

To Reproduce
Steps to reproduce the behavior:

  1. Run command protontricks 268500 dotnet472
  2. Command fails and error is displayed

Expected behavior
Protontricks should install dotnet472. however this issue occurs with any game and command

System (please complete the following information):

  • Distro: Debian trixie/sid
  • Protontricks installation method: pipx
  • Protontricks version: 1.11.1
  • Steam version: beta

Output using -vv:

x86_64-linux-gnu-capsule-capture-libs: warning: we are assuming "_el_fn_sh_complete" to be private, but it's just a guess
i386-linux-gnu-capsule-capture-libs: warning: we are assuming "_el_fn_sh_complete" to be private, but it's just a guess
Executing cd /usr/bin
------------------------------------------------------
warning: Unknown file arch of /home/raphael/.cache/protontricks/proton/GE-Proton9-1/bin/wineserver.
------------------------------------------------------
@roxithegremlin
Copy link
Author

also occurs when running protontricks --gui or similar on any game

@Matoking
Copy link
Owner

The "unknown file arch" warning is an upstream issue with Winetricks: see the issue report at Winetricks/winetricks#2183. There are some proposed fixes in development, but none have been merged yet.

That said, you should be able to close the warnings and continue. Is there any output afterwards once you do so? What if you run protontricks <APPID> -v? This prints a lot of output, so you'll want to use gist.github.com to post the output.

@roxithegremlin
Copy link
Author

@Matoking
Copy link
Owner

Figured out what's the problem: the Debian version of Winetricks includes an additional patch that's based on an old version of the pull request Winetricks/winetricks#2189. It's the 13_winetricks_get_file_arch__try_workaround_for_scripts_if_arch_is_unknown.patch file included in the Debian source files here.

This patch also changes the "Unknown file arch" message from a dismissable warning to an error that halts execution.

One option to workaround this might be to uninstall the distro version of Winetricks and install the upstream version using the instructions here:

https://github.com/Winetricks/winetricks?tab=readme-ov-file#manual-install

@roxithegremlin
Copy link
Author

thx, sadly i wont be able to check any results this week, since im not at home.

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

No branches or pull requests

2 participants