HLE media: translate \??\<drive> virtual-drive URLs via files::translate #2408
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 Marvisak/VIctory. Originally posted by pushkarreddyy on 2026-11-25T13:07:26Z.
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.
Imported from Marvisak/VIctory. Originally posted by Marvisak on 2026-11-25T15:43:59Z.
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
Imported from Marvisak/VIctory. Originally posted by andrewpozdnakov7-jpg on 2026-11-26T15:27:11Z.
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.