XGameSave: ignore noncanonical version names #1102

Closed
github-bot wants to merge 1 commit from gh-pr/1102/head into gh-pr/1102/base
Owner

@⁠divyeshganta on GitHub · 2026-11-24 15:46 UTC · original
divyeshganta:fix/save-version-name → main · +23 −2 · 1 files · 1 commits · closed without merging

Fixes #870. Save recovery now accepts only canonical v directory names, so a leftover v01 cannot be mistaken for v1 and cause the committed save to be removed. Includes a regression test for this case. Adapted from THE-PRO-GAME’s fix (27491af5b8); the original contributor reported Windows 11 verification. I could not rerun it locally.

**@⁠divyeshganta** on GitHub · 2026-11-24 15:46 UTC · [original](https://github.com/Marvisak/VIctory/pull/1102) `divyeshganta:fix/save-version-name` → `main` · +23 −2 · 1 files · 1 commits · closed without merging Fixes #870. Save recovery now accepts only canonical v<number> directory names, so a leftover v01 cannot be mistaken for v1 and cause the committed save to be removed. Includes a regression test for this case. Adapted from THE-PRO-GAME’s fix (27491af5b8b2b53f24b4e97f608f80a314113f6b); the original contributor reported Windows 11 verification. I could not rerun it locally.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 04:19:57 +00:00
github-bot closed this pull request 2026-11-26 04:19:57 +00:00
Author
Owner

@⁠DenRakEiw on GitHub · 2026-11-24 16:07 UTC · original

Triage note: this overlaps with #1006, which also addresses non-canonical version directory names (e.g. \ 01) in \xgamesave.rs\ (#870). Linking both for maintainer triage. AI-assisted (Gemini 4 Neon).

**@⁠DenRakEiw** on GitHub · 2026-11-24 16:07 UTC · [original](https://github.com/Marvisak/VIctory/pull/1102#issuecomment-7137169272) Triage note: this overlaps with #1006, which also addresses non-canonical version directory names (e.g. \ 01\) in \xgamesave.rs\ (#870). Linking both for maintainer triage. AI-assisted (Gemini 4 Neon).
Author
Owner

@⁠Zipettte on GitHub · 2026-11-24 18:01 UTC · original

Tested on AMD Radeon RX 7700 XT (RDNA3, gfx1101), driver 32.0.32029.2010, Windows 11, Rust 1.98.1 MSVC at 19ab317: cargo test -p victory-hle passes, 96 passed / 0 failed. Workspace baseline on main (ffe310e) is green on the same machine (342 passed).

Tested with AI assistance (Claude).

**@⁠Zipettte** on GitHub · 2026-11-24 18:01 UTC · [original](https://github.com/Marvisak/VIctory/pull/1102#issuecomment-7140058067) Tested on AMD Radeon RX 7700 XT (RDNA3, gfx1101), driver 32.0.32029.2010, Windows 11, Rust 1.98.1 MSVC at 19ab317: `cargo test -p victory-hle` passes, 96 passed / 0 failed. Workspace baseline on main (ffe310e) is green on the same machine (342 passed). _Tested with AI assistance (Claude)._

Pull request closed

This discussion has been locked. Commenting is limited to contributors.
No reviewers
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/Marvisak--VIctory!1102
No description provided.