Verify AMD FSR downloads without Get-FileHash #2895

Open
saakedev wants to merge 1 commit from upstream-pr/2895 into main
saakedev commented 2026-11-29 18:36:06 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by saakedev on 2026-11-29T18:36:06Z.


What it changes

The AMD FSR downloader failed in a Windows PowerShell session where Get-FileHash was unavailable. It discarded the downloaded loader after reporting a blank SHA-256 value.

Compute SHA-256 with .NET for both existing and newly downloaded DLLs. The expected hashes and mismatch rejection stay the same.

How it was tested

  • Reproduced the original failure with Get-FileHash made unavailable.
  • In Windows PowerShell, downloaded both DLLs from AMD with Get-FileHash disabled and verified that a second run reused them.
  • Simulated a corrupt download and verified that it was rejected and removed.
  • Installer-only test. In-game FSR frame generation was not tested.

Checked for overlap

  • Searched open issues and pull requests for the installer and the Get-FileHash error.

Codex assisted with this change.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:issue:5553818103 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/2895). Originally posted by [saakedev](https://github.com/saakedev) on 2026-11-29T18:36:06Z. --- ## What it changes The AMD FSR downloader failed in a Windows PowerShell session where Get-FileHash was unavailable. It discarded the downloaded loader after reporting a blank SHA-256 value. Compute SHA-256 with .NET for both existing and newly downloaded DLLs. The expected hashes and mismatch rejection stay the same. ## How it was tested - Reproduced the original failure with Get-FileHash made unavailable. - In Windows PowerShell, downloaded both DLLs from AMD with Get-FileHash disabled and verified that a second run reused them. - Simulated a corrupt download and verified that it was rejected and removed. - Installer-only test. In-game FSR frame generation was not tested. ## Checked for overlap - [x] Searched open issues and pull requests for the installer and the Get-FileHash error. Codex assisted with this change.
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/2895:upstream-pr/2895'
git switch 'upstream-pr/2895'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'main'
git merge --no-ff 'upstream-pr/2895'
git switch 'upstream-pr/2895'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/2895'
git switch 'upstream-pr/2895'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/2895'
git switch 'main'
git merge --squash 'upstream-pr/2895'
git switch 'main'
git merge --ff-only 'upstream-pr/2895'
git switch 'main'
git merge 'upstream-pr/2895'
git push origin 'main'
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!2895
No description provided.