mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 21:40:52 +01:00
[PR #446] SAVE-DATA-BLOB: import save payloads under the title's blob name #497
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starred/leonida#497
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
📋 Pull Request Information
Original PR: https://github.com/ubiquitarianism/leonida/pull/446
Author: @bobcatchris
Created: 11/24/2026
Status: 🔄 Open
Base:
main← Head:saves-blob-name📝 Commits (1)
95db9aasaves: import the payload as "Save Game Data", the name the title asks for📊 Changes
3 files changed (+26 additions, -9 deletions)
View changed files
📝
docs/saves.md(+10 -3)📝
tests/test_saves.py(+5 -2)📝
tools/saves.py(+11 -4)📄 Description
Claimed in the coordination issue as: SAVE-DATA-BLOB
What and why
saves.py importwrote the payload under the payload file name on a guess that the docs marked VERIFY. The executable settles the data-blob name statically:XGameSaveSubmitBlobWriteis called with"Save Game Header"first and"Save Game Data"with the payload, and the read path matches the same two names. A payload imported under any other name is never read back.This writes imported payloads as
Save Game Data(still %-encoded on disk by the existing layout) and updatesdocs/saves.mdto separate what was measured from what was not. Container names remain a guess because neitherCreateContainercall passes a literal;--mapstill overrides either name. No real save files, save contents, keys or game data are included.Tested
python -I tests/test_saves.py— 70 tests OK, 1 skippedpython -I tests/test_docs_links.py— 16 tests OKpython -I tests/test_docs_cli_flags.py— 4 tests OKpython -m compileall -q tools tests— OKgit diff --check— cleanGPUs tested: n/a (CPU-only tool and documentation change)
AI-assisted: yes
Checklist
mainand merges cleanly.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.