HLE files: wrap missing SetCurrentDirectoryW and Win32/UCRT path twins #2247
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!2247
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-2247"
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?
@Sidlik900 on GitHub · 2026-11-25 08:46 UTC · original
Sidlik900:hle/files-missing-wrappers→main· +613 −9 · 1 files · 1 commits · openClaimed in #1633.
Summary
arrow_pair so mixed virtual/host path pairs route safely through *W without double-rewriting.
ename, _wrename, _mkdir, _wmkdir, _rmdir, _wrmdir, _access, _waccess, _access_s, _waccess_s, _chmod, _utime64).
Verification
ustfmt --edition 2024 --check crates\victory-hle\src\modules\files.rs
o_dll_planting passed)
o_dll_planting passed)
AI-assisted (Antigravity); synthetic tests only, no game data.
@Marvisak on GitHub · 2026-11-25 13:31 UTC · original
Automated triage for the maintainers. This adds about 25 path wrappers in
victory-hle/src/modules/files.rs(narrow Win32 twins such asCreateDirectoryAandMoveFileA,SetCurrentDirectoryW,MoveFileW/CopyFileW, and UCRT functions such as_stat64,rename,_mkdirand_access), registered withhle_export!, plus anarrow_pairhelper for mixed virtual/host path pairs. The wrappers follow the existing pattern. Two things keep it from being a merge candidate:SetCurrentDirectory*test re-runs the test binary as a child process (std::process::Command::new(std::env::current_exe())), so it needs the maintainer's decision.The PR also gives no evidence that the title imports these functions. Showing which of them the title actually calls (import names only, no game data) and trimming the rest, and running the working-directory test without spawning a process, would change the verdict.
Generated by Claude Code
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.