https://bugs.winehq.org/show_bug.cgi?id=45836
--- Comment #9 from tbl0605@gmail.com ---
I guess with patched wine you mean wine with reverted commit "Use d3dcompiler_47 for importlib"?
Yes, exactly.
So it`s using now builtin d3dcompiler_47, instead of d3dcompiler_43, for which you have a native version lying around in system32 I guess
Yes, you're right.
Putting a native d3dcompiler_47 in system32 should solve your problem I guess (could you try that?),
Yes, again you're right, by installing component d3dx9_43 and copying a native d3dcompiler_47.dll into my system32, the game works again! Works with wine 3.14 and 3.16.
and I don`t think it`s really a regression, because you would get the same error in wine-3.13 using builtin d3dcompiler_43 (could you try that?)
Yes, I removed the native d3dcompiler_43.dll from my system32, used wine 3.13, and got an ":1:222: error: syntax error, unexpected NEW_IDENTIFIER" error. So again, you're right.
Not sure what to do with bugreport for now, it`s really a bug in d3dcompiler and not a regression I`d guess
Thank you Louis, you solved my problem. Without a wine expert, I would not have understood the real problem here ;) It would have been great to have some warning about inconsistent dll installation since the switch from d3dcompiler_43.dll to d3dcompiler_47.dll, but maybe I'm asking too much since it's not really a wine bug ;)