play: offer AMD's FSR files when F1 picks FSR #675

Open
NotGomenesai wants to merge 1 commit from NotGomenesai/Darner:fix/fsr-f1-offer into post-merge
First-time contributor

offer_fsr() only ran for a non-NVIDIA card, or when DARNER_UPSCALER / DARNER_FRAME_GENERATOR said fsr. If you picked FSR as the upscaler or frame generator in F1 (the title's settings.ini), the AMD files were never offered. So on NVIDIA cards FSR frame gen stayed OFF, and the log said AMD's FidelityFX runtime is not there.

darner play now also reads <data>\<title id>\settings.ini (the title id comes from MicrosoftGame.config next to the exe) and offers the files when upscaler or frame_generator is fsr.

Tested on an RTX 3070 with frame_generator=fsr in F1 and no AMD files: the start now goes into the FSR offer (with no one there to answer, it prints No AMD FSR files: ... darner get-fsr fetches them). Before, it skipped it.

🤖 Generated with Claude Code

`offer_fsr()` only ran for a non-NVIDIA card, or when `DARNER_UPSCALER` / `DARNER_FRAME_GENERATOR` said `fsr`. If you picked FSR as the upscaler or frame generator in F1 (the title's `settings.ini`), the AMD files were never offered. So on NVIDIA cards FSR frame gen stayed OFF, and the log said `AMD's FidelityFX runtime is not there`. `darner play` now also reads `<data>\<title id>\settings.ini` (the title id comes from `MicrosoftGame.config` next to the exe) and offers the files when `upscaler` or `frame_generator` is `fsr`. Tested on an RTX 3070 with `frame_generator=fsr` in F1 and no AMD files: the start now goes into the FSR offer (with no one there to answer, it prints `No AMD FSR files: ... darner get-fsr fetches them`). Before, it skipped it. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
offer_fsr ran only for a card that is not NVIDIA's or when DARNER_UPSCALER /
DARNER_FRAME_GENERATOR said fsr. Choosing FSR as upscaler or frame generator
in F1 (the title's settings.ini) never fetched the files, so on NVIDIA cards
FSR frame generation stayed off ("AMD's FidelityFX runtime is not there").
The start now reads that file too.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This pull request can be merged automatically.
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 'fix/fsr-f1-offer:NotGomenesai-fix/fsr-f1-offer'
git switch 'NotGomenesai-fix/fsr-f1-offer'

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 'post-merge'
git merge --no-ff 'NotGomenesai-fix/fsr-f1-offer'
git switch 'NotGomenesai-fix/fsr-f1-offer'
git rebase 'post-merge'
git switch 'post-merge'
git merge --ff-only 'NotGomenesai-fix/fsr-f1-offer'
git switch 'NotGomenesai-fix/fsr-f1-offer'
git rebase 'post-merge'
git switch 'post-merge'
git merge --no-ff 'NotGomenesai-fix/fsr-f1-offer'
git switch 'post-merge'
git merge --squash 'NotGomenesai-fix/fsr-f1-offer'
git switch 'post-merge'
git merge --ff-only 'NotGomenesai-fix/fsr-f1-offer'
git switch 'post-merge'
git merge 'NotGomenesai-fix/fsr-f1-offer'
git push origin 'post-merge'
Sign in to join this conversation.
No reviewers
No milestone
No project
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
TrustNo1/Darner!675
No description provided.