xcl run: keep the UNC path of a game folder on a network share #579
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
goal:world-load
good first issue
help wanted
invalid
keep-open
off-goal
question
stale
test-only
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/xcl-dev--xcl!579
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-579"
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?
@0klavair on GitHub · 2026-11-24 02:02 UTC · original
0klavair:xcl-run/unc-game-folder→main· +25 −3 · 2 files · 1 commits · openxcl runcannot start a game whose folder is on a network share. The folder (a mapped drive such asW:\…, or\\server\share\…) canonicalizes to\\?\UNC\server\share\…, andresolve_location/config_rootcut only the leading\\?\. That leaves the relative pathUNC\server\share\…:is_dir()is false on it, the folder is taken for an exe, and the start fails:Both places now use
vfs::strip_verbatim, which already turns\\?\UNC\server\shareback into\\server\sharefor the VFS roots.What is in it
crates/xcl/src/launcher.rs:resolve_locationandconfig_rootgo throughvfs::strip_verbatim; new testgame_folder_on_a_network_share_keeps_its_unc_path, which resolves a temp folder through the machine's administrative share (\\localhost\C$\…) as a folder and as an exe. It printsSKIPPEDand returns when that share is not reachable.crates/xcl/src/vfs.rs:strip_verbatimispub(crate).Tested
cargo test --workspace -- --test-threads=4(debug): 681 passed, 0 failed, 41 ignored. SKIPPED:gpu_geometry_wave32_prefix_count_over_a_maskandgpu_wave32_program_in_wave64_hardware(no wave64).UNC\localhost\C$\…) and passes with it.W::mainstops withCreateProcessW: error 267as above; with this PR it starts, shows its menus at 30 fps and reaches world loading.Regression run
This PR's head, on the title from the network share:
main(508a0c7) on the same title and folder produces no block: the title does not start, which is the bug, andsmoke.ps1stops withXCL printed no log pathafter the output above. The game is 208 GB and does not fit on this machine's local disks, so I could not runmainon a local copy.Not tested
mainsmoke block on the same title (see above).C:\…path:strip_verbatimleaves it as the old trim did).SKIPPEDand does not cover the change.AI use
@MesshM on GitHub · 2026-11-24 03:33 UTC · original
Test run of
84b691af0a4e0e7da8224afaf91d92b24335008don AMD RDNA4. I merged it onto currentmain91f9a5elocally (clean merge) and tested that tree.Tested
stable-x86_64-pc-windows-msvc, debugcargo build --workspace+cargo test --workspace -- --test-threads=4on the merge: 693 passed, 0 failed, 41 ignored, exit code 0;xcllib tests 653 passed, 0 failed, 21 ignoredSKIPPED;game_folder_on_a_network_share_keeps_its_unc_pathpasses (the\\localhost\C$administrative share exists here, so it ran rather than skipped).Review:
strip_verbatimkeeps\\?\UNC\server\share\…as\\server\share\…instead of cutting only the verbatim prefix and leaving a relativeUNC…path. I found nothing to change.Not tested: no retail title or regression run (I have no unpacked game), no
XCL_SAMPLE_*tests, release build; the PR's head on its old base was not run, only its merge ontomain.Run and review by Claude Code (Claude Opus 5.5) on this machine; the review points were checked against the code.
@JJAutoCompare on GitHub · 2026-11-25 06:43 UTC · original
Empirical test report (
84b691af)Hardware / environment
84b691af0a4e0e7da8224afaf91d92b24335008don Windows 11 Enterprise Evaluation, build 26200 (10.0.26200), with an AMD Ryzen 7 3800X 8-Core Processor.1.100.0 (0ef1bc386 2026-11-09), hostx86_64-pc-windows-msvc. DXC1.9.2609.5 (01b62ad47).XCL_ADAPTER=NONE_CPU_ONLYandRUST_TEST_NOCAPTURE=1. Cargo ran directly without the Arc test wrapper. The test profile was unoptimized.Commands and results
cargo test --workspace --no-runexited 0 and built the workspace test binaries without executing them.cargo test -p xcl --lib launcher::tests::exited 0 with 13 passed, 0 failed, 0 ignored, and 0 skipped.cargo test -p xcl --lib vfs::tests::a_console_drive_mount_leaves_xcls_shader_cache_on_that_drive -- --exactexited 0 with 1 passed, 0 failed, 0 ignored, and 0 skipped.cargo test -p xcl --test e2e launcher_uses_configured_exe_in_an_ambiguous_folder -- --exactexited 0 with 1 passed, 0 failed, 0 ignored, and 0 skipped.^SKIPPEDlines in the combined output.Observed behavior
Not tested
AI use
Verified with T3 Code / Codex (gpt-6.2-sol, reasoningEffort: high). Coordinator #2 (T3 Code / Antigravity, gemini-4-neon) verified counts against pr579-focused.log and published.
@DavidM1911 on GitHub · 2026-11-25 13:18 UTC · original
Verification on RTX 3060 Ti (Windows 11), branch merged with current
main:cargo test -p xcl --lib: all passed, 0 failed, ~26 ignored. (Intermittent single-test flake / 0xc0000005 abort under parallel scheduling — tracked in #1978; clean on single-threaded rerun.)Thanks!
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.