


after installing d3dcompiler_43 and d3dx9_43 with protontricks, the game can be started.
bullets (except laser) cant hit anything

Error dialogue almmost immediately after window appears. Program exits gracefully. Configuration program unaffected.
The cause is a HLSL shader compiling error.
On Proton Experimental and Proton 9.0-3, the error message is:
RenderShaderLibrary: Shader compile failed. [_HLSL_INTERNAL_RENDER2D]
E_INVALIDARG
E5020: The 'fx_2_0' target profile is only compatible with the 'fx' target type.
On Proton 8.0-5 and Proton 7.0-6 (and likely earlier), the error message is:
RenderShaderLibrary: Shader compile failed. [_HLSL_INTERNAL_RENDER2D]
E_FAIL
<anonymous>:1:62: E5000: syntax error, unexpected ':', expecting ';' or ','
\
Both messages refer to the _HLSL_INTERNAL_RENDER2D
shader defined within the game engine, Touhou Danmakufu ph3sx. The exact version isn't known to me, but it's no later than v1.33a-pre2. The shader as of v1.33a-pre2 can be found here.
Crashes on start with a shader compile error
Tried three different Proton versions, same result.

crash on launch, shader related.
Window boots to black screen, instantly crashes with a popup stating "RenderShaderLibrary: Shader Compile failed. [_HLSL_INTERNAL_RENDER2D] E_FAIL :62:E5000: syntax error, unexpected ':', expecting ';' or ','"

Crashes on Launch - RenderShaderLibrary: Shader compile failed
Tested both Window and Fullscreen options. For the purposes of this report, I tested with Steam's default Proton version, but also tried GE. The full error is as follows:
RenderShaderLibrary: Shader compile failed [_HLSL_INTERNAL_RENDER2D] E_INVALIDARG E5020: The 'fx_2_0' target profile is only compatible with the 'fx' target type.