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

Whitelist "dinput8.dll" as "native, then built-in" by default in every new Proton prefix #123

Closed
Tiagoquix opened this issue Sep 5, 2024 · 1 comment

Comments

@Tiagoquix
Copy link
Contributor

This could be considered as a request for Proton-GE.
Sorry if this is not the right place to request it, but it seems to be the most appropriate one.

See ValveSoftware/Proton#7974 for rationale.

@Root-Core
Copy link
Contributor

Root-Core commented Sep 6, 2024

I'm not sure if this is in the scope of this project or even Proton-GE. If there is something that needs a fix, the fix will already set the override. If there is nothing to fix, we will not apply a fix. The protonfixes are meant to be a stopgap and will (should) be removed once upstream fixes the games / issues.

The Ultimate-ASI-Loader also isn't limited to dinput8.dll and it might add some yet unknown incompatibilities or problems, if the game includes a dinput8.dll already which does not work well with wine.


You could however make this work for your local machine.
Just create a file with following path:

~/.config/protonfixes/localfixes/default.py

"""Default file for all games, with all versions of protonfixes"""

from protonfixes import util

def main() -> None:
    """Global defaults"""
    util.winedll_override('dinput8', 'n,b')

This should work for your use case and be run by default for every game.
Keep in mind that it only works, if protontricks is actually executed. For example with GE-Proton and UMU-Proton.

You can also add or modify game specific fixes in this folder.. we will add some documentation about this in the future.
CC #122

@Tiagoquix Tiagoquix closed this as not planned Won't fix, can't repro, duplicate, stale Sep 6, 2024
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