launcher: treat a D3D12Core.dll of the wrong version as not installed (upstream 0ef4ac5) #34
No reviewers
Labels
No labels
accessibility
amd
bug
crash
device-removed
documentation
duplicate
enhancement
feature-request
good first issue
help wanted
input
invalid
launcher
memory
needs-logs
nvidia
off-topic
performance
question
shaders
stutter
visuals
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/VGLALALA--ReVictory-RDNA3!34
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-34"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@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 UTCThis 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