HLE/Media: translate \??\<drive>:\ NT object-manager paths through virtual drive mounts #3030
No reviewers
Labels
No labels
accessibility
area: build
area: formats
area: gpu
area: loader
area: runtime
area: shader
bug
documentation
duplicate
enhancement
good first issue
gpu: amd
gpu: intel
gpu: nvidia
help wanted
host: wine
invalid
out of scope
question
request
run report
triage: confirmed
triage: has patch
triage: merge candidate
triage: needs info
triage: needs rebase
triage: needs work
triage: proposed close
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Marvisak--VIctory!3030
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/3030/head"
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?
@RVZO6 on GitHub · 2026-11-26 03:59 UTC · original
RVZO6:rvzo/media-nt-path-translate→main· +33 −2 · 1 files · 1 commits · closed without mergingmedia::local(crates/victory-hle/src/modules/media.rs:61-67) previously returnedOk(with_nul(url))immediately for\??\<drive>:\...paths, bypassingfiles::translateeven though\\?\<drive>:\...paths right above (L56-60) rewrite mounted virtual console drives (G:\,T:\, etc.) to their host directories.Convert
\??\<rest>to\\?\<rest>and pass it tofiles::translate, falling back towith_nul(url)when the drive is not a mounted virtual drive so:\??\G:\movies\clip.mp4) resolve identically to\\?\G:\movies\clip.mp4.\??\C:\Windows\a.wav) preserve their original\??\spelling.\??\paths (e.g.\??\UNC\server\share\a.mp4) remain rejected as shares.Disjoint from #663 (which does not modify
local()'s\??\branch).Verification
object_manager_prefix_translates_virtual_drivesfailed (left: "\\??\\Y:\\movies\\clip.mp4",right: "\\\\?\\...\\movies\\clip.mp4").modules::media::testspass.--tests+--features diagnosticsclippy,xtask policy, full workspace tests): RVZO6/VIctory CI run #45748741503 (green, combined Wave 10 check on63bcca4).AI-assisted: T3 Code (Antigravity, gemini-4-neon).
@RVZO6 on GitHub · 2026-11-26 06:01 UTC · original
Closing in favor of #2089, which already fixes
\??\virtual-drive translation in bothfiles.rsandmedia.rs(matching the second-look review on #2416).Pull request closed