Skip to content

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

@Tiagoquix

Description

@Tiagoquix

Feature Request

I confirm:

  • that I haven't found another request for this feature.
  • that I have checked whether there are updates for my system available that
    contain this feature already.

Description

There's a modification for basically every game out there called "Ultimate ASI Loader" (https://github.com/ThirteenAG/Ultimate-ASI-Loader). As the name implies, it is used to load ASI files in any game.

However, for it to work, WINEDLLOVERRIDES="dinput8=n,b" needs to be set in the game launch options (or via winecfg for the specific Proton prefix).

My suggestion is to add it to the default list of Libraries in winecfg as native, then built-in for every new Proton prefix by default.

Justification [optional]

Many old games (and some newer ones too) have ASI mods to fix game issues that are cross-platform.
On Windows, you just install the DLL next to the EXE and it works, but on Linux you need to specify the override with WINEDLLOVERRIDES. I believe making it already set by default would be a nice QoL change.

As far as I know, no or very few games ship with dinput8.dll in the main game folder, since they expect this DLL from the host system.

Risks [optional]

I don't see any possible risks if no ASI file is loaded. On Windows, if you install Ultimate ASI Loader and don't use any ASI plugins then there's no risk involved.

References [optional]

Not a specific issue, but many games need this env. variable to work properly with community mods.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions