WIP: feat(anr): offer an optional frame generation runtime download #50
No reviewers
Labels
No labels
area/build
area/install
area/saves
area/tooling
area/ui
area/updates
ci: approved
good first issue
gpu/amd
gpu/intel
gpu/nvidia
help wanted
kind
bug
kind
chore
kind
docs
kind
feature
kind
performance
kind
question
platform/linux
platform/steam-deck
platform/windows
priority
critical
priority
high
priority
low
status
blocked
status
confirmed
status
duplicate
status
invalid
status
needs-info
status
wontfix
ci: approved
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/LongshotLauncher!50
Loading…
Reference in a new issue
No description provided.
Delete branch "brunobaccari/LongshotLauncher:feat/optional-anr-download"
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?
Players who opt into experimental ANR frame generation need a way to obtain its runtime during a normal Launcher build, alongside the existing DLSS/FSR options. This adds a separate, default-off download choice without enabling frame generation.
Changes
scripts/anr_sdk.py. Older builders receive no unsupported flag; Linux/ARM64 stay unavailable.--fetch-anr-runtimeto the compatible builder. Its implementation is in the companion Longshot ANR draft, commitee004cfaf0eb01084855bb2d379a95e6a29f6118; merge/release that builder before enabling this path for users.@@anr-runtime readyfollowed by a successful build marks the runtime installed; the Home card does not claim that ANR is active or generating frames.The builder downloads the official pinned ANR FG-V.B15 addon directly, verifies its size/SHA-256, caches it and stages only its 19-file runtime subtree into
<game>/anr/. It preservesnr_fg.iniand modified packages, executes no upstream installer and changes no graphics setting. ANR needs the release's Microsoft Visual C++ 2015–2022 x64 runtime. No ANR binaries/models are mirrored or included in either PR.Validation
Base:
main @ 0e6e1d78210e4c79efecc04e8b27ba7a288ec3b7.This PR:
feat/optional-anr-download @ 6c4177b1bd82eefc162beffaf49a2f975bfef83a.git diff --check: passed. Static review and AXAML XML parsing passed; the binding targets and builder/protocol contract were inspected./apps/...absolute-path expectation fails Path.IsPathFullyQualified on a Windows host. Canonical LF Git content was used to preserve the signed fixtures; the 67 supplementary assertions are not a full-suite pass.Still required before readiness: a passing full core/release suite, locked release builds on Windows and Linux, native Settings/rebuild/update UI runs, and a complete compatible builder-to-game installation. Actual ANR provider/GPU execution and generated output remain unvalidated in the companion draft.
Screenshots
Actual
MainWindowandSettingsStepViewfrom commit6c4177b, rendered at 1200×850 with Avalonia/Skia in memory and isolated synthetic launcher/toolchain data. These UI previews do not demonstrate a completed install or provider execution. No OS input or desktop cursor was captured.Default: download off
The optional ANR runtime download is off by default, beside the existing DLSS/FSR build choices.
Opt-in: download requested
Checked means the player requested the optional runtime download; frame generation is enabled separately in the game.
Builder without ANR support
The checkbox is disabled and explains the missing builder capability, rather than sending an unsupported flag.
Risks and rollback
Installed runtime files are distinct from a functioning frame-generation provider; the UI reports only the former. The capability guard deliberately keeps current incompatible releases disabled until a builder carrying the helper is selected. Leave the optional checkbox off to retain the existing build behavior. Neither the locally installed Launcher nor the user's running compilation, game files, settings or saves was modified.
Checklist
mainat publication.WIP: feat(anr): offer an optional frame generation runtime downloadto feat(anr): offer an optional frame generation runtime downloadfeat(anr): offer an optional frame generation runtime downloadto WIP: feat(anr): offer an optional frame generation runtime downloadCurrently, ANR doesn't have a license, so we're unsure how to distribute it. We will have to look into this
View command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.