|
20.
|
|
|
Save, Load, and Persistent Improvements
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/changelog.rst:321
|
|
21.
|
|
|
The low-level load/save API has been overhauled. It's now possible to access save slot information directly, instead of having to scan all save slots to find the one you want. New functions include :func:`renpy.list_slots`, :func:`renpy.newest_slot`, :func:`renpy.slot_mtime`, :func:`renpy.slot_json`, and :func:`renpy.slot_screenshot`.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/changelog.rst:323
|
|
22.
|
|
|
At a higher level, there is a new :func:`FileNewest` function that's true for the newest save slot. :func:`FilePageNext` and :func:`FilePagePrevious` now support a wrap argument that causes them to wrap around a defined number of screens.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/changelog.rst:329
|
|
23.
|
|
|
There is now support for adding arbitrary JSON information to save files. This allows per-save information (like the path you're on in a VN, date and amount of money in a sim, or party composition in an RPG) to be accessed from the save and load screens.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/changelog.rst:334
|
|
24.
|
|
|
JSON information is created by :var:`config.save_json_callbacks`, and can be accessed through the low-level :func:`renpy.slot_json` or high-level :func:`FileJson` functions.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/changelog.rst:339
|
|
25.
|
|
|
When possible, Ren'Py now stores save files with the game, as well as in a user-global save directory. This means that if a Ren'Py game is placed on a USB drive or shared on a network, the saves will be available on multiple computers. (When save files are available in both places, the newest file wins.)
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/changelog.rst:343
|
|
26.
|
|
|
When a save file on a network share is updated, Ren'Py will automatically rescan the contents of that file, and restart the current interaction. (This will update the save and load screens, making the file available to be loaded.)
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/changelog.rst:349
|
|
27.
|
|
|
Ren'Py will no longer auto-save while at the main menu.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/changelog.rst:354
|
|
28.
|
|
|
Persistent data is also stored in both locations. When the persistent data is not identical, it will be merged. By default, the most recently updated value for each field will be used. In some cases (for example, a set of endings the player has reached), this is not the correct behavior. The new :func:`renpy.register_persistent` can be used to register different merge behavior.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/changelog.rst:356
|
|
29.
|
|
|
Voice
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../../source/changelog.rst:364
|