Ren'Py Save Files: Where They Are and How Editing Works
Where Ren'Py saves live, what is inside, and what the 'other device' prompt means.
Ren’Py is the engine behind a large share of visual novels. Every Ren’Py game saves in the same way, so one editor works for all of them.
Where the files are
Ren’Py writes each save to two places:
- a folder for the game in your user profile:
%APPDATA%\RenPy\<game>on Windows,~/Library/RenPy/<game>on macOS,~/.renpy/<game>on Linux; - usually also
game/savesinside the game’s own folder.
The files are named after the page and slot, such as 1-1-LT1.save for page 1, slot 1. Autosaves start with auto- and quick saves with quick-. When you replace a save, replace it in the folder in your user profile; if both copies exist, Ren’Py uses the newer one.
What is inside
A .save file is a ZIP archive. It contains a screenshot, a small JSON file with the save’s name and date, and an entry called log. The log holds the game state, written in Python’s pickle format: the game’s variables, such as affection points, flags and the names you typed, plus the history Ren’Py needs for rolling back.
The editor reads log without running it, lists the variables with their names, and lets you change numbers, true or false flags and text. Lists and objects are shown but locked, because changing their shape can break a save.
The “save from another device” prompt
Since Ren’Py 8.1 and 7.6, every save carries a signature made with a key stored on your computer. When a game loads a save whose signature is missing or does not match, it asks whether you want to load a save that may have come from another device.
An edited save cannot keep the old signature, so the editor removes it. When you load the edited save, the game shows that question. If it is your own save, answer Yes. The editor never creates a fake signature and never changes Ren’Py’s list of trusted keys on your computer.
The prompt exists for a good reason: a save from a stranger could contain harmful instructions. Only load saves you made yourself or got from someone you trust.
Rollback
Ren’Py lets you roll back through earlier lines. If you roll back past the moment the save was made, the old values can return. After loading an edited save, play forward from there.
Finding the right variable
Each game’s author names the variables, so money in one game may be cash or gold_coins in another. Search for a word you expect, or save twice a little way apart and look at what changed.