Repository navigation
Conversation
|
Tested on RTX 5090, 621.24, Windows 11: pass. |
Grimkaaah
left a comment
There was a problem hiding this comment.
Independent Linux CPU review (d78b1a03)
What changed: file_system GetVolumeInformation / GetVolumePathName for GAME: and T: roots; volume queries stay read-only (no scratch create).
Checked:
- Diff review of shim + tests (runtime not built here).
parse_console(..., create_scratch=false)used on volume queries.
Looks correct for the described volume-query path; no game files.
|
Tested For this change. Setup. Built with MSVC 14.52 (Visual Studio 18), Windows SDK 10.0.26100, Vulkan SDK 1.4.363.1, Ninja RelWithDebInfo on Windows Server 2025 (no Vulkan driver there), then the same binaries run through
Under Wine the tree is test by test the same as Because the six were built together, there is no per-PR negative control in this run: a regression would have shown as a difference from |
|
Verified 2123748 against main 6312c05 (clean merge, tree e13ae1fc1; recheck clean at 5d74c27). C++/Windows diff — not runnable here; CI is the execution gate (checks pending). check_no_game_data clean. Review: G:/T: volume queries resolve the backing volume host-side only (no host path reaches the title), parse_console(..., create_scratch=false) keeps queries read-only, the _a variants run the mount in Unicode and code-page only the two returned strings, and both GetVolumePathName buffers bound-check before writing. AI-assisted: yes. Tested on Linux (RTX 5080 host, CPU-only run). |
What
Shim GetVolumeInformationA/W and GetVolumePathNameA/W for GAME:, G: and T:, forwarding host paths unchanged.
Why
Virtual drive queries otherwise reach the host and fail. G: reports the package volume; T: reports the overlay volume. Read-only queries resolve the overlay volume through its nearest existing ancestor when the overlay is absent, without creating either directory. ANSI queries keep the backing mount path Unicode and convert only the returned strings.
Tested
Review fix, p2 Wine,
file_system_test: 468 checks, 6 existing MAXIMUM_ALLOWED failures; all three new host-volume identity checks pass. Package and overlay share a volume, so the test cannot distinguish their mapping paths or demonstrate cross-volume behavior.Review fix, p2 Wine,
file_system_test: 465 checks, 6 existing MAXIMUM_ALLOWED failures; the new A/W stability check passes. Package and overlay are on the same volume, so this setup does not demonstrate the old cross-volume failure.p2, Wine, file_system_test: origin/main with the new checks 455 checks, 17 failures; with the change 455 checks, 6 failures. All 11 new checks pass; the same six MAXIMUM_ALLOWED failures occur on origin/main.
p2, Wine, file_system_test, revision 406fc09 with new checks: 459 checks, 8 failures; revision 0550e1d: 459 checks, 6 failures. Both new missing-directory checks fail before and pass after; the six MAXIMUM_ALLOWED failures persist in both. ANSI output conversion is checked; a non-ANSI mount path was not exercised.
Review fix, p2 Wine,
file_system_test: 0550e1d with new tests 464 checks, 12 failures; d78b1a0 464 checks, 6 failures. All five new T: checks pass after the fix; six pre-existing MAXIMUM_ALLOWED failures remain. The first failed negative control creates the overlay, affecting subsequent controls in the baseline run.python -I scripts/check_no_game_data.py runtime/shims/file_system.cpp runtime/test/file_system_test.cpp: passed.GPU and driver: not applicable (filesystem test).
AI-assisted.
@ItsNotRexed: an exe PR, as you asked.
Claim: #8504 (comment)