Verify AMD FSR downloads without Get-FileHash #2895

Open
github-bot wants to merge 1 commit from github-bot/gh-2895 into main AGit
Owner

@⁠saakedev on GitHub · 2026-11-29 18:36 UTC · original
saakedev:fix/fsr-installer-sha256 → main · +16 −2 · 1 files · 1 commits · open

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.

**@⁠saakedev** on GitHub · 2026-11-29 18:36 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/2895) `saakedev:fix/fsr-installer-sha256` → `main` · +16 −2 · 1 files · 1 commits · open ## 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.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-29 18:40:24 +00:00
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/2895/head:github-bot/gh-2895'
git switch 'github-bot/gh-2895'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-2895'
git switch 'github-bot/gh-2895'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-2895'
git switch 'github-bot/gh-2895'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-2895'
git switch 'main'
git merge --squash 'github-bot/gh-2895'
git switch 'main'
git merge --ff-only 'github-bot/gh-2895'
git switch 'main'
git merge 'github-bot/gh-2895'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No reviewers
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.

Dependencies

No dependencies set

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