https://bugs.winehq.org/show_bug.cgi?id=48337
--- Comment #2 from Alexandre Julliard julliard@winehq.org --- (In reply to Artem S. Tashkinov from comment #0)
It's really annoying, cumbersome and time consuming to make Wine use local DLLs, e.g. Direct3D libraries by first running winecfg and then finding and overriding the necessary DLLs.
Windows for as long as I remember has allowed to have a .local file ( https://docs.microsoft.com/en-us/windows/win32/dlls/dynamic-link-library- redirection ) which makes the windows DLLs loader first search for requested DLLs/libraries in the application directory then using system DLLs in case local DLLS are not found.
Can we please have this feature implemented in Wine as well?
That wouldn't help you, because it only affects the search order for the dll file. Once the file is found it would still be subject to the native/builtin configuration, since that's not based on the search path.