protonscr

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

protonclosed Feature Request
ValveSoftware/Proton#7974 · opened 2024-08-09 by Tiagoquix · updated 2024-12-17 · 1 comments · github
1 matching comments, n / p to jump
TTiagoquix 2024-08-09 github

Feature Request

I confirm:

  • [x] that I haven't found another request for this feature.
  • [x] 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.

Launch options

DLLs