[pr-fix][startup] Use literal build and SDK paths in the NVIDIA launchers #240
No reviewers
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
hle
input
INTEL
lighting
linux-proton
memory
MULDER
needs-info
needs-logs
needs-rebase
NVIDIA
performance
post-merge
pr-diagnostics
pr-docs
pre-merge
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
relevance
high
relevance
low
relevance
medium
relevance
very-high
rendering
report
roadmap-proposal
saves
series-s
shaders
startup
status
blocked-by-rework
status
needs-test-report
status
needs-triage
status
ready-for-review
status
stale
status
superseded
status
wip
tools
ui
upstream
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
TrustNo1/Darner!240
Loading…
Reference in a new issue
No description provided.
Delete branch "andrewpozdnakov7-jpg/Darner:port/7639-literal-repo-path"
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?
Contributor role (optional)
What it changes
Windows PowerShell treats square brackets in the Darner executable and repository paths as wildcards. Use literal paths at the build checks and when entering the checkout.
Restores locally saved VIctory-NVIDIA work from December 1, 2026. Recovered revision: 7639c8c. Adapted by andrewpozdnakov7-jpg (GitHub profile).
How it was tested
d6f7ba0onf3840d7.9d34494applies literal-path checks to Streamline and FidelityFX discovery in both launchers, and to the separate frame-generation launcher build and working-directory paths. The bracketed-directory fixture found the three SDK filename stubs and darner.exe with literal checks. Both PowerShell scripts parsed, and xtask policy and git diff --check passed. Thanks to Jesper-A for the review.Checklist
Checked for overlap
Code-read review of
d6f7ba0. I did not build or run it.The four sites changed (
play-nvidia.ps1:378,382,388,465) are real bugs and-LiteralPathis the right fix. The title says "Accept repository paths with square brackets", though, and other places in the same script still pass a repo-derived path through wildcard matching. With the repo at, say,D:\Games\Darner [main]::205and:208:Test-Path (Join-Path $_ 'sl.interposer.dll')andTest-Path (Join-Path $sl 'sl.interposer.dll').$sldefaults to<repo>\nvidia-sdk\Streamline\bin\x64(:203-207), whereGet-NVIDIA-DLSS.cmdputs it. With[main]in the path both checks are false, so the launcher printslauncher.sdk.nvidia_missingand starts without DLSS or frame generation. TheResolve-Pathon:210is already literal.:230,:241,:254: the same pattern for the FidelityFX DLLs under<repo>\amd-sdk\FidelityFX\bin: wrong candidate directory, or a false "FSR missing" warning (:233is already literal).:445:(Get-FileHash $darner).Hashon the NVIDIA_ADA_MFG path takes$darneras a wildcard-Path, so with brackets it fails.scripts/play-nvidia-framegen.ps1has the same patterns:Test-Path $darner(:122,:136,:188),Push-Location $repo(:132) andTest-Path (Join-Path $fx ...)/(Join-Path $sl ...)(:95,:119,:165,:181).Suggested: make these literal as well (
Test-Path -LiteralPath,Get-FileHash -LiteralPath), or narrow the title and body to "the darner.exe build check and working directory". As I read the body, its stub-exe test covers only theTest-PathandPush-Locationlines, so please say so.Overlap with #205.
git merge-treeof the two heads reports a content conflict inscripts/build-darner.ps1. #205 renamesplay-nvidia.ps1tobuild-darner.ps1and rewrites the build block; its head (9e9e76496) still has non-literalPush-Location $repo(:430,:465,:601) andTest-Path $darner(:507,:509). Whichever merges second needs a rebase, and #240 would then have to be redone against the new file. Please list #205 under related PRs.This comment was written with AI assistance (Claude Code).
[pr-fix][startup] Accept repository paths with square bracketsto [pr-fix][startup] Use literal build and SDK paths in the NVIDIA launchersThanks for finding the remaining path calls. The current head,
9d34494, applies literal paths to build and SDK checks in both NVIDIA launchers. The executable hash lookup is also literal. The bracketed-directory fixture found all three SDK stubs, and both scripts parsed successfully. The launcher overlap with #205 remains for merge ordering.