How I unlocked all gallery scenes with 2 commands in the developer console:
labels = list(renpy.get_all_labels())
[renpy.mark_label_seen(label) for label in labels]
If you have no idea
at all, what this code does:
don't use it.
And you can't "relock" scenes! An easy solution for this issue:
Make a backup copy of
\game\saves\persistent file.
I assume, that this solution will continue to work in future game versions.
I asked Deepseek if it understands what these 2 lines do... And it described it much better, than I ever could:
The commands and expected output look like this:
View attachment 4952557
For completeness:
[renpy.seen_label(label) for label in labels]
This returns a list of "seen_label: True/False" values.
Before:
View attachment 4952464
And After:
View attachment 4952655