HLE media: translate \??\<drive> virtual-drive URLs via files::translate #2410
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#2410
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?
@pushkarreddyy on GitHub · 2026-11-25 13:07 UTC · original
Summary
In
crates/victory-hle/src/modules/media.rs(local()),\??\<drive>object-manager paths returnOk(with_nul(url))directly without passing throughfiles::translate, unlike\\?\<drive>paths.When a title passes a virtual-drive path with the
\??\prefix (e.g.\??\G:\video.mp4), the host Media Foundation source resolver receives the untranslated virtual drive letter instead of the host folder.Expected
Translate
\??\<drive>virtual-drive paths viafiles::translate(preserving\??\<drive>untouched when the drive is not a virtual mount).Claiming this issue and opening a PR with regression tests shortly.
@Marvisak on GitHub · 2026-11-25 15:43 UTC · original
Automated triage for the maintainers.
Confirmed on main (
da82e44): incrates/victory-hle/src/modules/media.rs,local()returnsOk(with_nul(url))for a\??\<drive>:URL, while the\\?\<drive>:branch falls through tofiles::translate.files::translate(crates/victory-hle/src/modules/files.rs) only recognises the\\?\prefix, so a\??\path on a virtual drive reaches the host resolver untranslated.Open PR #2416 addresses this (rewrites the prefix to
\\?\before callingfiles::translate, with a unit test).Generated by Claude Code
@andrewpozdnakov7-jpg on GitHub · 2026-11-26 15:27 UTC · original
Opened PR #3273: the ??<drive> spelling now goes through iles::translate like \?<drive>, so ??\G:\video.mp4 reaches Media Foundation as the host folder. A host drive is left exactly as the title spelled it, prefix included. CI check passed (3m7s), the PR is clean on main. The coordination claim is in #1633.