fix: prefer DLL hash for VILauncher Agility SDK detection #266

Closed
IgorAntunes66 wants to merge 1 commit from upstream-pr/266 into main
IgorAntunes66 commented 2026-11-27 20:22:57 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by IgorAntunes66 on 2026-11-27T20:22:57Z.


Problem

VILauncher incorrectly detects the NuGet package SHA-256 instead of the expected D3D12Core.dll SHA-256, causing Agility SDK installation and verification to fail.

Fix

Declare $core before $package in scripts/get-d3d12.ps1 so the current launcher parser selects the correct DLL hash.

All existing SHA-256 and Microsoft Authenticode signature checks remain unchanged.

Validation

Tested locally on Windows 11 Pro with an NVIDIA RTX 5070.

  • Reproduced incorrect hash selection using a PowerShell approximation of the parser.
  • Confirmed correct hash selection after the fix.
  • Successfully installed Agility SDK 1.614.1.
  • VILauncher Fix and Verify passed.
  • Tested on commits 0cef07e and e69e39c.

VILauncher output after applying the fix:

== Checking every known problem
No known problem was found.

Scope

No hash values, SDK versions, download sources, or security checks have been changed.

This is a minimal compatibility fix. A permanent parser fix should also be implemented in VILauncher.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:issue:5532639054 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/266). Originally posted by [IgorAntunes66](https://github.com/IgorAntunes66) on 2026-11-27T20:22:57Z. --- ## Problem VILauncher incorrectly detects the NuGet package SHA-256 instead of the expected `D3D12Core.dll` SHA-256, causing Agility SDK installation and verification to fail. ## Fix Declare `$core` before `$package` in `scripts/get-d3d12.ps1` so the current launcher parser selects the correct DLL hash. All existing SHA-256 and Microsoft Authenticode signature checks remain unchanged. ## Validation Tested locally on Windows 11 Pro with an NVIDIA RTX 5070. - [x] Reproduced incorrect hash selection using a PowerShell approximation of the parser. - [x] Confirmed correct hash selection after the fix. - [x] Successfully installed Agility SDK 1.614.1. - [x] VILauncher Fix and Verify passed. - [x] Tested on commits `0cef07e` and `e69e39c`. VILauncher output after applying the fix: ``` == Checking every known problem No known problem was found. ``` ## Scope No hash values, SDK versions, download sources, or security checks have been changed. This is a minimal compatibility fix. A permanent parser fix should also be implemented in VILauncher.
trustno1-coder commented 2026-11-28 19:24:00 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by trustno1-coder on 2026-11-28T19:24:00Z.


Thanks for this. I'm closing it because main already has it: scripts/get-d3d12.ps1 lists the DLL's hash first.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7244515010 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/266#issuecomment-7244515010). Originally posted by [trustno1-coder](https://github.com/trustno1-coder) on 2026-11-28T19:24:00Z. --- Thanks for this. I'm closing it because main already has it: scripts/get-d3d12.ps1 lists the DLL's hash first.

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
trustno1-coder/VIctory-NVIDIA!266
No description provided.