launcher: treat a D3D12Core.dll of the wrong version as not installed (upstream 0ef4ac5) #34

Manually merged
github merged 1 commit from github-bot/gh-34 into main 2026-12-05 18:19:54 +00:00 AGit
Owner

@⁠Kal0s-design on GitHub · 2026-12-05 15:51 UTC · original
Kal0s-design:fix/agility-version-check → main · +143 −18 · 2 files · 1 commits · merged 2026-12-05 18:17 UTC

This brings over upstream 0ef4ac5 by Lappro unchanged, with the original authorship kept. It is one of the upstream commits this fork doesn't have yet.

Right now the launcher only checks that D3D12\D3D12Core.dll exists and is a valid DLL. If it's an older Agility build, which in the issues here is usually 1.620, victory.exe still raises D3D12SDKVersion to 621. D3D12 then refuses to create any device and the game fails with 0x887E0003, which is #16. Because the file is there, the launcher never offers to replace it. With this commit the DLL's file version is read, a wrong version counts as not installed, the prompts say which version was found and that it will be replaced, and a freshly downloaded DLL is checked as well.

The cherry-pick applied cleanly on main. The agility tests in the launcher pass (3), and clippy reports nothing in the two files it touches. I couldn't test the prompt itself, since that needs a Windows 10 machine or a wrong DLL in place.

One thing this doesn't cover, and a possible follow-up. needs_install() still only asks when the built-in runtime refuses shader model 6.6 heaps, which is the Windows 10 case. On Windows 11 23H2 the built-in runtime passes that check but lacks ID3D12Device13, and #5 and #8 show that setup failing until 1.621 is installed by hand. So on 23H2 a wrong DLL would now fall back to the built-in runtime and fail that way instead. Prompting on any Windows version when the 1.621 DLL is missing would close that, but it changes behaviour for every Windows 11 user, so I left it out here.

AI-assisted: yes

🤖 Generated with Claude Code

**@⁠Kal0s-design** on GitHub · 2026-12-05 15:51 UTC · [original](https://github.com/VGLALALA/ReVictory-RDNA3/pull/34) `Kal0s-design:fix/agility-version-check` → `main` · +143 −18 · 2 files · 1 commits · merged 2026-12-05 18:17 UTC This brings over upstream 0ef4ac5 by Lappro unchanged, with the original authorship kept. It is one of the upstream commits this fork doesn't have yet. Right now the launcher only checks that D3D12\D3D12Core.dll exists and is a valid DLL. If it's an older Agility build, which in the issues here is usually 1.620, victory.exe still raises D3D12SDKVersion to 621. D3D12 then refuses to create any device and the game fails with 0x887E0003, which is #16. Because the file is there, the launcher never offers to replace it. With this commit the DLL's file version is read, a wrong version counts as not installed, the prompts say which version was found and that it will be replaced, and a freshly downloaded DLL is checked as well. The cherry-pick applied cleanly on main. The agility tests in the launcher pass (3), and clippy reports nothing in the two files it touches. I couldn't test the prompt itself, since that needs a Windows 10 machine or a wrong DLL in place. One thing this doesn't cover, and a possible follow-up. needs_install() still only asks when the built-in runtime refuses shader model 6.6 heaps, which is the Windows 10 case. On Windows 11 23H2 the built-in runtime passes that check but lacks ID3D12Device13, and #5 and #8 show that setup failing until 1.621 is installed by hand. So on 23H2 a wrong DLL would now fall back to the built-in runtime and fail that way instead. Prompting on any Windows version when the 1.621 DLL is missing would close that, but it changes behaviour for every Windows 11 user, so I left it out here. AI-assisted: yes 🤖 Generated with [Claude Code](https://claude.com/claude-code)
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-05 15:54:14 +00:00
github manually merged commit 1bdfefbb02 into main 2026-12-05 18:19:54 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.