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). |
…-FS-CRT-STAT-REMOVE)
fc6fb0b to
596c49f
Compare
|
Rebased onto latest Verified locally after rebase:
|
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).