XGameSave: five fixes that apply cleanly to main #461

Open
zocram4cc wants to merge 5 commits from upstream-pr/461 into main
zocram4cc commented 2026-11-27 12:37:05 +00:00 (Migrated from github.com)

Imported from avatarmanz/VIctory-7900XTX. Originally posted by zocram4cc on 2026-11-27T12:37:05Z.


Five XGameSave fixes cherry-picked from a third-party Proton/RADV port (zocram4cc/victory-linux-perf, main) onto 126acb35. They apply cleanly; original authors and commit messages kept.

What they are:

  • 8f0effb5 EatCodeSleep2 — validate the blob count a save reports before reading it
  • d6fc4dd1 quaternion — refuse a second write/delete of one blob in an update (the console allows one change per blob; the last one used to win silently)
  • 85965ecb DocBlack89 — keep existing quota excess when replacing blobs (AI-assisted, says its own message)
  • 6d3e393a Duff — a failed XGameSaveCreateContainer/CreateUpdate/InitializeProviderResult now nulls the handle, as the GDK documents (before: the title closed whatever was on its stack)
  • 77f421c5 towiice — abort the legacy container migration if any blob read fails

Provenance: curated from the RYUKI-7900XT / LibsMQG hle-d3d12-7900xtx fork line and contributor PRs; none of the five is in main or in any open PR I could find (checked the open list, incl. the Marvisak storage-safety PR, against each commit).

Testing — honest: applies cleanly to main commit by commit; NOT compiled or run by the submitter (Linux, no Windows target, no game runs here), so CI is the gate. No environment variables, no default changes.

AI-assisted selection/verification (cherry-pick dry-run, attribution, redundancy check); all code is the original authors'.

<!-- greyfinch-sync:avatarmanz/VIctory-7900XTX:issue:5526745289 --> Imported from [avatarmanz/VIctory-7900XTX](https://github.com/avatarmanz/VIctory-7900XTX/pull/461). Originally posted by [zocram4cc](https://github.com/zocram4cc) on 2026-11-27T12:37:05Z. --- Five XGameSave fixes cherry-picked from a third-party Proton/RADV port (zocram4cc/victory-linux-perf, `main`) onto `126acb35`. They apply cleanly; original authors and commit messages kept. **What they are:** - `8f0effb5` EatCodeSleep2 — validate the blob count a save reports before reading it - `d6fc4dd1` quaternion — refuse a second write/delete of one blob in an update (the console allows one change per blob; the last one used to win silently) - `85965ecb` DocBlack89 — keep existing quota excess when replacing blobs (AI-assisted, says its own message) - `6d3e393a` Duff — a failed `XGameSaveCreateContainer`/`CreateUpdate`/`InitializeProviderResult` now nulls the handle, as the GDK documents (before: the title closed whatever was on its stack) - `77f421c5` towiice — abort the legacy container migration if any blob read fails **Provenance:** curated from the RYUKI-7900XT / LibsMQG hle-d3d12-7900xtx fork line and contributor PRs; none of the five is in `main` or in any open PR I could find (checked the open list, incl. the Marvisak storage-safety PR, against each commit). **Testing — honest:** applies cleanly to `main` commit by commit; NOT compiled or run by the submitter (Linux, no Windows target, no game runs here), so CI is the gate. No environment variables, no default changes. AI-assisted selection/verification (cherry-pick dry-run, attribution, redundancy check); all code is the original authors'.
GiovanniFadanelli commented 2026-11-27 14:24:49 +00:00 (Migrated from github.com)

Imported from avatarmanz/VIctory-7900XTX. Originally posted by GiovanniFadanelli on 2026-11-27T14:24:49Z.


Superseded by #470: the same five commits, built and tested on Windows (each test red-first). Results are in that PR.

<!-- greyfinch-sync:avatarmanz/VIctory-7900XTX:comment:7220751350 --> Imported from [avatarmanz/VIctory-7900XTX](https://github.com/avatarmanz/VIctory-7900XTX/pull/461#issuecomment-7220751350). Originally posted by [GiovanniFadanelli](https://github.com/GiovanniFadanelli) on 2026-11-27T14:24:49Z. --- Superseded by #470: the same five commits, built and tested on Windows (each test red-first). Results are in that PR.
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/461:upstream-pr/461'
git switch 'upstream-pr/461'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'main'
git merge --no-ff 'upstream-pr/461'
git switch 'upstream-pr/461'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/461'
git switch 'upstream-pr/461'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/461'
git switch 'main'
git merge --squash 'upstream-pr/461'
git switch 'main'
git merge --ff-only 'upstream-pr/461'
git switch 'main'
git merge 'upstream-pr/461'
git push origin 'main'
Sign in to join this conversation.
No reviewers
No labels
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.

Reference
avatarmanz/VIctory-7900XTX!461
No description provided.