protonscr

User supplied `WINEDLLPATH` discarded by proton

protonclosed
ValveSoftware/Proton#7141 · opened 2023-09-30 by namaenonaimumei · updated 2026-07-05 · 3 comments · github
Nnamaenonaimumei 2023-09-30 github

Version in question: 8.0 (but all versions seem the same)

Changing the culprit line to below results in behaviour consistent with that of wine.

self.env["WINEDLLPATH"] = g_proton.lib64_dir + "/wine:" + g_proton.lib_dir + "/wine"
if len(os.getenv("WINEDLLPATH") or ""):
    self.env["WINEDLLPATH"] += ":" + os.getenv("WINEDLLPATH").strip(":")

Couldn't find any mentions of current behaviour being intentional, so considering this as a regression on proton's side.

Nnamaenonaimumei 2023-10-25 github

Any official statement whether this behaviour is intended?
Overriding this variable on proton's side disallows user from providing additional winelibs and forces usage of regsvr32, which is less flexible

Nnamaenonaimumei 2026-07-05 github

Right, sorry for the delay, I was actually applying the similar patch up until somewhere around proton-ge 10, where it was addressed (not sure about the exact version). I can confirm that vanilla proton 11 now matches Wine behaviour for WINEDLLPATH.
Thanks for upstreaming this.

Nothing extracted yet.