Repository navigation
Conversation
Adapt the SDK exports from Marvisak/VIctory#175 and document how to stage the Microsoft runtime next to the executable.
|
Thanks for this. I'm not merging it yet because it stops the game from starting on Windows 11 when there's no What I tested: a release build with this PR on Windows 11 (RTX 5070), using the standard play folder, which has no What happened: D3D12 read the exported The game then stopped with an unhandled C++ exception (0x887e0003) before reaching the world, with no frames rendered. The same build without this PR reaches the world at the usual frame rate. Because the exports are baked in at link time, there's no way to turn this off at launch. Every build would need the Agility What would make it mergeable: make the exports opt-in. For example, put |
Changes
D3D12SDKVersionandD3D12SDKPathfrom the MSVC launcher so Windows 10 can load the Microsoft runtime that supports shader model 6.6.The export code is adapted from Marvisak/VIctory#175.
Validation
Built
70fdf99e2fc68c925335fcd4d5730f41ea4c7b86on Windows 10 22H2 (19045), i7-7700K, RTX 5070 driver 610.88, and Rust 1.100.0 MSVC. The lockeddiagbuild withdiagnosticspassed anddumpbin /exportsshowed both symbols. The run used Agility SDK 1.620.2.Compared the previous local Windows 10 build based on
85a529band this change on top of6a31e43. Both used Series S at 960×540, the same SDK DLL, independent copies of the same warmed cache and save data, and frame capture enabled. Each reached the 3D prologue and ran until the 150-second test limit.85a529bwith local Agility SDK fix70fdf99The FPS values describe ten reporting intervals per run, between 5 and 60 seconds after the first 3D frame with at least 500 draws. This is one captured run per build. It does not establish a performance regression. Both logs contained six compute pipeline refusals, zero root-signature refusals and zero unhandled exceptions. Both runs reproduced the rainbow skin artifact in the same cutscene. The fix covers the runtime setup and exports.
Windows 11, an unpatched control on
6a31e43, the full test suite, and mouse behavior were outside this run.AI-assisted change.