victory play fails when the game is on a network (UNC) path #1072
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by anastasesg on 2026-11-28T12:44:05Z.
victory playfails when the game is on a network (UNC) pathSummary
victory playcannot start a game whose executable is on an SMB share (e.g.\\192.168.1.104\dumps\...). It stops with a "not found" error that shows the path asUNC\192.168.1.104\dumps\..., which is not a valid path.victory runwith the same game works.Cause
apps/victory/src/play.rs, around lines 783-785 (same code in v2026.11.27.3 to .8):On Windows
canonicalizereturns the verbatim form. For a drive path that is\\?\C:\..., and stripping\\?\givesC:\...(correct). For a network path it is\\?\UNC\server\share\..., and stripping\\?\leavesUNC\server\share\...(invalid).Mapped drives,
substand symlinks do not help:canonicalizeresolves them back to the UNC target.Suggested fix
Map
\\?\UNC\back to\\and strip a plain\\?\only for drive paths:Alternatives:
std::path::absolute(&exe)(no verbatim prefix is added), or thedunce::canonicalizecrate.Note: the patch is untested, since I could not build the project. There may be other places in
playthat also assume a drive-letter path (for example thestreamline_dirlookup or the working directory passed to child processes).Environment
victory runand set the environment by hand, which loses the F1-menu settings persistence and the automatic first-run restart.Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by github-actions[bot] on 2026-11-28T12:44:13Z.
Please attach both logs from the run that went wrong. Without them we can only guess. Paste
%LOCALAPPDATA%into the address bar of File Explorer to get there.%LOCALAPPDATA%\victory\logs\: the newestvictory-nvidia-play-<date>-<time>-<number>.log(fromvictory.exe) orvictory-nvidia-<date>-<time>.log(from the script launcher). The window shows its path at the start, on the lineLog: ....%LOCALAPPDATA%\VIctory\data\7952987A\crashes.log, and, if there is one from that run, the newestvictory-<date>-<time>-<number>.crash.login%LOCALAPPDATA%\VIctory\data\7952987A\temp\.Also say which GPU, Windows version (10 or 11)
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by cloph-dsp on 2026-11-28T12:46:31Z.
I'll take this one: add a small helper in
apps/victory/src/play.rsthat maps\\?\UNC\srv\share\...back to\\srv\share\...(and a plain\\?\C:\...toC:\...), use it right aftercanonicalize, and cover both forms plus an already-plain path with a synthetic unit test. No game data or hardware involved.Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by trustno1-coder on 2026-11-29T19:47:15Z.
Closing this one because it was reported on a build from before v2026.11.28.03 (more than 4 releases ago) and has had no activity since v2026.11.29.01. A lot has changed since then.
If it still happens on the latest release, please open a new issue with the play log and crashes.log from that run. Thanks for reporting!