XGameRuntime: save containers whose names do not fit a Windows path component #623
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
goal:world-load
good first issue
help wanted
invalid
keep-open
off-goal
question
stale
test-only
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/xcl-dev--xcl!623
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/623/head"
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?
@milas6669 on GitHub · 2026-11-24 02:37 UTC · original
milas6669:xgameruntime-long-container-names→main· +299 −26 · 1 files · 2 commits · closed without mergingStacked 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
@milas6669 on GitHub · 2026-11-24 03:22 UTC · original
Closing: #481 (and #492) already cover this and were opened earlier. Please review those instead.
Pull request closed