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 will not work #274

Open
xDieymirx opened this issue Jan 13, 2024 · 5 comments
Open

Protontricks will not work #274

xDieymirx opened this issue Jan 13, 2024 · 5 comments

Comments

@xDieymirx
Copy link

Bug

Cannot use Protontricks, because when I select a game, it crashes with this log.

Steps to reproduce the behavior

  1. Open protontricks
  2. select a game.

Expectation

Expected to be able to download dll's for Skyrim SE to use for nemesis and mo2

System

  • Distro: [EndeavourOS]
  • Protontricks installation method: [Community Package, AUR]
  • Protontricks version: run 1.11.0
  • Steam version: non-beta

Log

protontricks (INFO): Found Steam directory at /home/sean/.local/share/Steam
protontricks (INFO): Using default Steam Runtime at /home/sean/.local/share/Steam/ubuntu12_32/steam-runtime
protontricks (INFO): WINETRICKS environment variable is not available. Searching from $PATH.
protontricks (INFO): Found 2 Steam library folders
protontricks (INFO): Currently logged-in Steam user: sikeday
protontricks (INFO): Found 0 Steam shortcuts running using Steam compatibility tools
protontricks (INFO): Using 'yad' as GUI provider
protontricks (INFO): User has configured app Proton version (CompatToolMapping): proton_8
protontricks (INFO): User has configured default Proton version (CompatToolMapping): proton_experimental
protontricks (INFO): Found active compatibility tool: Proton 8.0
protontricks (INFO): Active compatibility tool is a Proton installation
Traceback (most recent call last):
File "/usr/bin/protontricks", line 8, in
sys.exit(cli())
^^^^^
File "/usr/lib/python3.11/site-packages/protontricks/cli/main.py", line 32, in cli
main(args)
File "/usr/lib/python3.11/site-packages/protontricks/cli/util.py", line 159, in wrapper
return cli_func(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/protontricks/cli/main.py", line 283, in main
run_command(
File "/usr/lib/python3.11/site-packages/protontricks/util.py", line 375, in run_command
str(proton_app.proton_dist_path / "lib64" / "wine"),
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
TypeError: unsupported operand type(s) for /: 'NoneType' and 'str'

@Matoking
Copy link
Owner

The Proton installation seems to be incomplete. Have you started Skyrim SE through Steam at least once?

If not, could you check the Proton installation contents for Proton 8.0? Find Proton 8.0 in your Steam library (ensure tools are shown), right-click the entry in the library -> Properties -> Installed Files -> Browse...

The directory should contain a proton file as well as a dist directory.

@xDieymirx
Copy link
Author

well

it has those files, i opened up skyrim SE now, using proton experimental. I get a different error now, being:

image

and the console log is

Log

protontricks --gui
x86_64-linux-gnu-capsule-capture-libs: warning: Dependencies of libnvidia-pkcs11.so.545.29.06 not found, ignoring: Missing dependencies: Could not find "libcrypto.so.1.1" in LD_LIBRARY_PATH (unset), ld.so.cache, DT_RUNPATH or fallback /lib:/usr/lib
winetricks GUI enabled, using kdialog 23.08.4

Matoking added a commit that referenced this issue Jan 16, 2024
Fix Protontricks GUI crashing if the Proton installation used by the
game is incomplete. We already show a human-readable error message in
the CLI use case, so do the same for the GUI.

Refs #274
@Matoking
Copy link
Owner

I pushed a small fix to master. Protontricks has an error message prompting the user to launch the game first on Steam if the Proton installation is incomplete; this wasn't shown properly for Protontricks GUI, however.


The "Unknown file arch: 65" error is caused by a different issue related to Winetricks and can be ignored if Protontricks otherwise works. In short, Winetricks tries to examine the wine and wineserver executables to see if they're 64-bit or 32-bit binaries; this fails because Protontricks creates shell scripts instead which call the underlying binaries. This will likely have to be fixed in the Winetricks side of things, though I haven't found a solution yet.

If you ignore the error messages (you might have to click OK a few times), does Proton Experimental work OK? How about Proton 8.0?

@xDieymirx
Copy link
Author

I pushed a small fix to master. Protontricks has an error message prompting the user to launch the game first on Steam if the Proton installation is incomplete; this wasn't shown properly for Protontricks GUI, however.

The "Unknown file arch: 65" error is caused by a different issue related to Winetricks and can be ignored if Protontricks otherwise works. In short, Winetricks tries to examine the wine and wineserver executables to see if they're 64-bit or 32-bit binaries; this fails because Protontricks creates shell scripts instead which call the underlying binaries. This will likely have to be fixed in the Winetricks side of things, though I haven't found a solution yet.

If you ignore the error messages (you might have to click OK a few times), does Proton Experimental work OK? How about Proton 8.0?

I can use proton experimental and Proton 8, however I cannot get protontricks to run, and will only use winetricks.

@erkinalp
Copy link

erkinalp commented Mar 2, 2024

Same issue.

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

3 participants