Repository navigation
Resolve relative game path in smoke runs - #2684
luckyteagirl wants to merge 1 commit into
Conversation
luckyteagirl
left a comment
There was a problem hiding this comment.
On a9d11d6c6f85367c10c77e3b5275987405b50904, the new relative-path resolution turns -Game . into a drive-root path when the caller is at that root (for example C:\). The unchanged native argument assembly then appends run "C:\"; under Windows command-line parsing, that trailing backslash escapes the closing quote, so XCL receives C:" rather than the root path. A small native argv probe using this exact resolution/assembly reproduced the difference: base-style . arrives as ., while the new resolved root arrives with an extra quote. Could this PR include the trailing-backslash escaping from #2721, or land after that fix, and add a native -Game . fixture from a drive root? The .cmd-only fixture does not exercise this native path. This is a CPU-only argument probe, not a title run.
AI use: OpenAI Codex (GPT-6.2 Sol) found and probed the interaction; OpenAI Codex (GPT-6.2 Astra) checked the current source and drafted this review.
smoke.ps1passes-Gameto a native launcher. When the caller has changed PowerShell's location, a relative game path can resolve differently in the child, and the same folder can get a different title hash.What is in it
-Gamepaths against the caller's PowerShell location before computing the title hash and launching XCL.-Game ..Tested
b49be183and passed at this patch on Windows PowerShell 5.1 and PowerShell 7. Absolute, relative, and.forms of the same folder produced the same title hash.-Xcl; both focused fixtures and a temporary case with both arguments relative passed on both shells.git diff --checkpassed.Regression run
Not tested
xcl.exe, or GPU tests.AI use