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

Option to use the proton entrypoint for protontricks-launch #373

Open
Skirmisher opened this issue Dec 15, 2024 · 0 comments
Open

Option to use the proton entrypoint for protontricks-launch #373

Skirmisher opened this issue Dec 15, 2024 · 0 comments

Comments

@Skirmisher
Copy link

At the moment, running a Windows executable through protontricks-launch does not invoke the proton Python script, instead taking a route through a custom wine wrapper script that sets up some of the environment itself. This means configuration that Proton normally sets up is not done, and the convenient PROTON_* environment variables can't be used to make any changes.

Most notably, I was recently trying to narrow down an issue that cropped up in a modified game (launched through Protontricks) but didn't appear in the original game (launched through Steam). It turned out the modified game was using wined3d instead of DXVK, due to the proton script not being run!

It's of course possible to invoke proton manually, but Protontricks also doesn't set a couple of environment variables it needs, so a fully-functional command line ends up looking like this:

protontricks -c 'STEAM_COMPAT_CLIENT_INSTALL_PATH="~/.local/share/Steam/legacycompat" STEAM_COMPAT_DATA_PATH="$(realpath "$WINEPREFIX/..")" "$PROTON_PATH/proton" waitforexitandrun COMMAND...' APPID

It would be ideal if protontricks-launch supported an argument to do this itself, or at least set the necessary STEAM_COMPAT_* variables to reduce boilerplate in the invocation.

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

1 participant