Repository navigation
Conversation
ae2e9b1 to
8b65897
Compare
|
Tested 8b65897 on NVIDIA GeForce RTX 4060, driver 617.42, AMD Ryzen 5 7500F, Windows 11 Pro build 26200, native Windows: pass. Built at this head with
AI-assisted (Claude Code ran the build and tests). No game files. |
|
Independent verification (CPU-only change, no GPU needed): built |
8b65897 to
fc6fb0b
Compare
|
Rebased onto latest Verified locally after rebase:
|
|
Hi @piyonchu, thanks for this pull request. It currently conflicts with AI-assisted (Claude Code, Claude Opus 5.5). |
|
Verified by OreoFR
AI-assisted (Claude Code, Claude Opus 5.5). |
fc6fb0b to
596c49f
Compare
|
Rebased onto latest Verified locally after rebase:
|
Windows 11 + NTFS Verification (
|
|
Ready for testing: merges cleanly with AI-assisted (Claude Code). |
|
RUN report for #1464 (RT-FS-CRT-STAT-REMOVE) Heads: PR head Kind: runtime C++ ( Commands (VS 2022 vcvars64 shell, Ninja, RelWithDebInfo,
Results:
Machine: Windows 11 Pro x64, RTX 3090 24 GB (has VK_EXT_mesh_shader), NVIDIA 621.40, MSVC 14.44 (VS 2022 Build Tools), CMake/Ninja from VS, Vulkan SDK 1.4.363.1, SDL3 3.4.20 static, Python 3.13.12. |
|
Independent verification on this machine (Windows 11, MSVC 19.44.35226), with a negative control that bites. 1. It applies and builds. 2. With the branch: 3. The control - revert only the shim, keep the test: The assertion names the change: the CRT's The note that now applies to four pull requests: #977, #1234, #1464 and #2375 all modify What I did not test: the rest of the CRT file surface, and whether the shim's Why I am commenting: I verify open pull requests that replay onto current Written with an AI assistant. |
…-FS-CRT-STAT-REMOVE)
596c49f to
2244e3d
Compare
Claimed in the coordination issue as: RT-FS-CRT-STAT-REMOVE
Summary
game_scarlett_master.exeshow direct imports and call sites forapi-ms-win-crt-filesystem-l1-1-0.dll!_wstat64andapi-ms-win-crt-filesystem-l1-1-0.dll!remove. Because the host UCRT calls Win32 file APIs through its own import table rather than the guest's IAT, console paths (GAME:,G:,T:), overlay copies, and deletion markers were bypassed by CRT stat/remove calls.runtime/shims/file_system.cppforremove,_wremove,_unlink,_wunlink,_wstat64,_stat64,_wstat64i32,_stat64i32,_wstat32,_stat32,_wstat32i64, and_stat32i64registered underapi-ms-win-crt-filesystem-l1-1-0.dllanducrtbase.dll.view()/missing_error()and delegate disk resolution to host UCRT_wstat*(preserving long\\?\paths and UCRT mode/size/time fields); CRT deletes delegate console paths todelete_file_w()and map Win32 failures (ERROR_FILE_NOT_FOUND/ERROR_PATH_NOT_FOUND/ERROR_INVALID_NAME->ENOENT,ERROR_ACCESS_DENIED->EACCES, etc.) toerrnoand_doserrno.runtime/test/file_system_test.cppwithcheck_crt_stat_removecoveringGAME:,G:,T:, overlay shadowing, delete-marker preservation of package files,EACCESon read-only package files and directories,ENOENTon escaped..paths, and host passthrough.Verification
RelWithDebInfo, Windows 11, CPU-only build without Vulkan headers) and ranctest -C RelWithDebInfo -R "^(file_system|xgameruntime)$" --output-on-failure: 2/2 passed (file_system,xgameruntime).gta6rt.exe --dry-runagainst a localgame_scarlett_master.execonfirms bothapi-ms-win-crt-filesystem-l1-1-0.dll!_wstat64andapi-ms-win-crt-filesystem-l1-1-0.dll!removenow bind toshim.python -I tests/test_build_runtime_fallback.pyandpython -I tests/test_text_write_line_endings.py(run below before commit).git diff --check: clean.AI-assisted; synthetic tests +
--dry-runimport check on Windows 11 (CPU-only build; no game files included).