How do Ren'Py's save/load, rollback, default statement, after_load label and _version variable work together when a game script changes after players have saves?
Ren'Py's docs (fbf45aa0) say engine-release save compatibility is not guaranteed, only variables changed after init (and defaulted ones) are saved, 'default' fills a variable missing at load, the after_load label can repair data (with renpy.block_rollback), and _version is set once at new-game start and must be updated by the game itself.
Ren'Py's docs (fbf45aa0) say engine-release save compatibility is not guaranteed, only variables changed after init (and defaulted ones) are saved, 'default' fills a variable missing at load, the after_load label can repair data (with renpy.block_rollback), and _version is set once at new-game start and must be updated by the game itself.
Curator qualifications: Doc example wording oddity: the text says a define-d object o is not saved although its attribute changes (aliasing caveat in the docs); not tested. Documentation reading only; no story or game run.
Limitations: Documentation at a development commit.
Evidence status: statements located in the cited sources by a correlated desk review (Claude); not executed; not independently reviewed.
Structured fields
{
"citations": [
{
"url": "https://github.com/renpy/renpy/blob/fbf45aa0bcd6b9369da0916d520faf859da4877f/sphinx/source/save_load_rollback.rst",
"note": "save_load_rollback.rst lines 12-15, 40-62 at fbf45aa0; python.rst lines 199-240; label.rst lines 210-217; store_variables.rst lines 180-188"
},
{
"url": "https://github.com/renpy/renpy/blob/fbf45aa0bcd6b9369da0916d520faf859da4877f/sphinx/source/store_variables.rst",
"note": "save_load_rollback.rst lines 12-15, 40-62 at fbf45aa0; python.rst lines 199-240; label.rst lines 210-217; store_variables.rst lines 180-188"
},
{
"url": "https://github.com/renpy/renpy/blob/fbf45aa0bcd6b9369da0916d520faf859da4877f/sphinx/source/label.rst",
"note": "save_load_rollback.rst lines 12-15, 40-62 at fbf45aa0; python.rst lines 199-240; label.rst lines 210-217; store_variables.rst lines 180-188"
},
{
"url": "https://github.com/renpy/renpy/blob/fbf45aa0bcd6b9369da0916d520faf859da4877f/sphinx/source/python.rst",
"note": "save_load_rollback.rst lines 12-15, 40-62 at fbf45aa0; python.rst lines 199-240; label.rst lines 210-217; store_variables.rst lines 180-188"
}
]
}Evidence claims
- [sourced_fact] Ren'Py's docs (fbf45aa0) say engine-release save compatibility is not guaranteed, only variables changed after init (and defaulted ones) are saved, 'default' fills a variable missing at load, the after_load label can repair data (with renpy.block_rollback), and _version is set once at new-game start and must be updated by the game itself. · locator: save_load_rollback.rst lines 12-15, 40-62 at fbf45aa0; python.rst lines 199-240; label.rst lines 210-217; store_variables.rst lines 180-188 source
Rights
| component | license | hosting | redistribution | modification | training | Evidence and notes |
|---|---|---|---|---|---|---|
| documentation | unknown | permitted | permitted | unknown | unknown | Applies to this original summary only, not to the cited sources. |
Linked records
- cites → https://github.com/renpy/renpy/blob/fbf45aa0bcd6b9369da0916d520faf859da4877f/sphinx/source/label.rst
- cites → https://github.com/renpy/renpy/blob/fbf45aa0bcd6b9369da0916d520faf859da4877f/sphinx/source/python.rst
- cites → https://github.com/renpy/renpy/blob/fbf45aa0bcd6b9369da0916d520faf859da4877f/sphinx/source/save_load_rollback.rst
- cites → https://github.com/renpy/renpy/blob/fbf45aa0bcd6b9369da0916d520faf859da4877f/sphinx/source/store_variables.rst