Repository navigation
Conversation
The retail title's XGameSave writer submits Save Game Header (0x128 bytes, serialized from the save object) and Save Game Data (variable) through two XGameSaveSubmitBlobWrite calls. The import's blob = payload file name default is not a name the title reads; document that and keep --map as the workaround.
Review follow-up: the container name and the 0x128 header serialization are still unconfirmed, so keep a VERIFY note for exe_checklist; --map renames one payload blob, it does not create the two measured blobs; 0x128 is where the ASAV slot name begins, which supports the container guess.
|
Tested f3f91c4 merged with main 8575d36 on Linux/Python 3.12.16: pass Scope: docs/runtime_imports.md and docs/saves.md wording, plus the usage text and the
Limits: there is no negative control (no test pins the changed strings). I did not check the new measured claims about the retail executable (two blobs, |
|
Tested f3f91c4 merged onto main b03e803 on Windows 11 Pro, Intel i7-14700KF, CPython 3.11.0 (venv: pytest 9.2.0, numpy 2.4.6, Pillow 13.0.0; numpy is below the 2.5.5 pin because 2.5 needs Python 3.12), CPU only: pass, with notes. The merge had no conflicts (git auto-merged
The PR changes only docs and strings and adds no test, so there was no negative control to run. Review notes:
AI-assisted (Claude Code). |
Claimed in the coordination issue as: #6910 (comment)
Depends on: #6848, #5329, #5783 (same file, different paragraphs)
What and why
docs/saves.mdandtools/saves.pytold the reader toVERIFYthe container and blob names, and the import'sdefault was
container = slot name,blob = payload file name. The retail executable's own save writer settles theblob half:
XGameSaveSubmitBlobWritecalls:Save Game Header(0x128bytes,serialized from the save object's fields) and
Save Game Data(variable, the save object's data buffer).XGameSaveCreateContainer;container = slot nameis likely(the same field is the suffix of the persistent-local-storage path) but not confirmed, so it stays a
VERIFYnote for
exe_checklist.and the header is not a separate file in the save folder, so an imported save is not loadable as-is.
--maprenames that single payload blob; it cannot create the two blobs.
0x128is also where the ASAV slot name begins, which supportscontainer = slot name, but the executable's headeris built from object fields, not copied from the ASAV file.
This changes docs and the
saves.pyusage text/manifest note only; no import behavior changes.Tested
python -I tests/test_saves.py: 65 tests OK, 1 skipped.tests/test_docs_*.py: OK.python -I tests/test_exe_checklist.py: 8 OK; the newVERIFYnote is harvested.python -I tools/exe_checklist.py --out <scratch>: the saves note is on the list.python -m py_compile tools/saves.py: OK.git diff --check: clean.No game data: two blob names and a size only; no saves, executable bytes or disassembly quoted. Nothing from the
executable was run. AI-assisted: yes.
Checklist
docs/design.md, with how it was confirmed. (not atranslator change)