Fix for the 12th Generation Intel® Core™ CPUs

S.T.A.L.K.E.R.: Clear Sky

S.T.A.L.K.E.R.: Clear Sky – standalone prequel for the acclaimed S.T.A.L.K.E.R.: Shadow of Chernobyl, which tells you story about the Clear Sky group, that want to research the Zone and understand it better.

Minor update in the renderers initialization sequence to address issue with freezing the game on computers powered by 12th Gen Intel® Core™ processors running on Windows 11. Patch affects only R2 render (Full Dynamic Lighting @ DirectX® 9). The reason behind this issue is the fact Intel dropped hardware support for DX9 in their integrated graphics cards found in 12th Gen (and upper) CPUs and discrete Arc GPUs. To support older games, emulation layer called [url=https://github.com/microsoft/D3D9On12]D3D9On12[/url] is used to translate DX9 API calls to DX12 at runtime. The game has somewhat complicated initialization which locked the emulator. To address the issue, initialization was simplified a bit to be more emulator friendly. [b]Update, June 15[/b] Thanks to the valuable patch feedback collected in this thread, we’re releasing a really tiny fix:
[list][*] R2 render (Dynamic Lighting) should now work properly on the systems with outdated DirectX End-User Runtime [*] Multiplayer servers with previous version should not reject clients with the new version [*] On numerous requests, we created public “beta” branch called “pre-win11-patch” which points to the game version without this patch [*] Information for modders: the only file changed in the patch is “xrRender_R2.dll” [/list]