https://bugs.winehq.org/show_bug.cgi?id=56950
Bug ID: 56950 Summary: SRB2 Zone Builder throws exception when creating a new map (shader fails to compile with "E5000: syntax error, unexpected '<', expecting ';' or ','") Product: vkd3d Version: 1.12 Hardware: x86 OS: Linux Status: NEW Severity: normal Priority: P2 Component: hlsl Assignee: wine-bugs@winehq.org Reporter: alexhenrie24@gmail.com Distribution: ---
Created attachment 76766 --> https://bugs.winehq.org/attachment.cgi?id=76766 WINEDEBUG=+d3dcompiler
Steps to reproduce:
1. Install and run Zone Builder from Zone_Builder_v3.0-rc3_Setup.exe
2. Click the Close button on the first error dialog
3. Click the New Map button, then OK and Yes
A .NET exception dialog appears that says "CompilationException while loading effect display2d.fx: <anonymous>:35:1: E5000: syntax error, unexpected '<', expecting ';' or ','".
The shader that fails to compile is https://git.do.srb2.org/STJr/ZoneBuilder/-/blob/e74f44adcf58669813059db161f1...
`winetricks d3dx9_43 d3dcompiler_43 micross` resolves the problem.
First reported at https://mb.srb2.org/threads/another-zone-builder-error-on-wine.42640/
$ sha256sum Zone_Builder_v3.0-rc3_Setup.exe 4776d485ab32b3ae57dd01154d28ce5bccbe898b35002802c6451b4ba7c39cf0