[Audit] Verify complete Xbox Series virtual path translation to Windows & save/data path edge cases #2621
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
good first issue
help wanted
input
INTEL
invalid
lighting
linux-proton
memory
needs-info
needs-logs
needs-rebase
NVIDIA
performance
pr-diagnostics
pr-docs
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
rendering
report
series-s
shaders
spam
startup
upstream
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA#2621
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?
@hyperland956-lgtm on GitHub · 2026-11-29 15:03 UTC · original
Summary
Core saves (
%LOCALAPPDATA%\victory\data), logs (%LOCALAPPDATA%\victory\logs), mods (%LOCALAPPDATA%\victory\mods), and F1 Save Export/Import are working. However, we need a full codebase sweep across the Rust compatibility layer to verify that all Xbox Series (Scarlett) virtual drive mounts, scratch/temp directories, and file I/O APIs cleanly resolve to Windows host paths without silent failures or hardcoded console assumptions.Audit Tasks for Agents
Sweep All Xbox Virtual Drive Mounts & Prefixes
CreateFileW,CreateFile2,GetFileAttributesExW,FindFirstFileExW, DirectStorage/archive openers, etc.) for unhandled Xbox Series mount prefixes (e.g.,G:\,T:\,S:\,D:\,U:\,\\?\Volume,game:\,update:\, ortemp:\).%LOCALAPPDATA%\victory\tempor%TEMP%) rather than failing or polluting the game root next togame_scarlett_master.exe.Path Normalization & Windows Filesystem Edge Cases
/vs\), trailing slashes, relative..segments, and WindowsMAX_PATH(260-character) limits whenVICTORY_GAME_DIRor%LOCALAPPDATA%resides in a deep directory tree or contains non-ASCII/Unicode characters.%LOCALAPPDATA%\victoryvsVIctory) across all modules, scripts, and CLI subcommands (shaders,warm).Save Container & Cross-Runner Portability
%LOCALAPPDATA%\victory\data\<title_id>\saves\<user_id>so existing saves are reliably detected regardless of launch method (directvictory.exe,Play-VIctory.cmd,VICTORY_GAME_DIR, or external launchers).Export Save/Import Savehandles missing directories, read-only file attributes, and locked handles gracefully without corrupting the backup zip.VICTORY_SAVE_DIR/VICTORY_DATA_DIRoverride invictory-settings.txtand environment variables for portable installations.Diagnostic Logging for Unmapped Paths
WARNlog entry in%LOCALAPPDATA%\victory\logswhenever the compatibility layer intercepts an unrecognized drive letter, device path, or unmapped Xbox storage container API call so remaining edge cases surface immediately in play logs.Acceptance Criteria
@github-actions[bot] on GitHub · 2026-11-29 15:03 UTC · original
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)
@python1boris9 on GitHub · 2026-11-29 15:05 UTC · original
xboxpathaudit.zip
I'd audit the path layer by canonicalizing G:, T:, game:\ and temp:\ prefixes to %LOCALAPPDATA%\victory\temp, then WARN on any unmapped volume before CreateFileW. Run this on the affected machine to capture the exact prefix, casing, and long-path failure so we can see which mount is silently dropping.