XGameRuntime: save containers whose names do not fit a Windows path component #618
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/623"
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 ivall/xcl. Originally posted by milas6669 on 2026-11-24T02:37:36Z.
Stacked on #621; only the top commit belongs here.
The percent-encoded container name became a folder name over 255 characters, so creating the container failed. Only folders that cannot hold the name are shortened; the exact name goes in a side file that the container listing reads back. Names that fit are stored as before.
Fixes #326. Not covered: the blob-name length limit.
What is in it
gamesave.rs:MAX_FOLDER_NAME,container_folder(), the name file inXGameSaveCreateContainer,each_container,delete_pathcontainer_folder_shortens_only_what_a_folder_cannot_holdandlong_container_names_save_and_come_back_exactTested
cargo test --workspace -- --test-threads=4: 649 passed, 0 failed, 21 ignoredgpu_geometry_wave32_prefix_count_over_a_mask,gpu_wave32_program_in_wave64_hardware(no wave64)Regression run
scripts/smoke.ps1againstNot tested
scripts/smoke.ps1main vs PR headAI use
Imported from ivall/xcl. Originally posted by milas6669 on 2026-11-24T03:22:32Z.
Closing: #481 (and #492) already cover this and were opened earlier. Please review those instead.
Pull request closed