About Renpy Rollback

frozenfeet

Well-Known Member
Aug 2, 2019
1,225
1,948
You know how Unren has the feature to over ride blocking Renpy rollback? The only problem I have noticed is that all the dev needs to do is just add
Code:
renpy.config.rollback_enabled = False
and bam Unren feature defeated.

What I'm wondering is there a way to write a little script that would instantly reset
Code:
renpy.config.rollback_enabled = False
to true if it has been set to false somewhere else in the game?
 

Winterfire

Forum Fanatic
Respected User
Game Developer
Sep 27, 2018
5,792
8,445
Is that a real issue, or just something you thought about? Either way, just open the game project, shift + ctrl + f (or whatever hotkey to search the whole project), write "renpy.config.rollback_enabled = False" then change the value to True.
That's reasonably fast in the rare (if any) cases that Unren doesn't work.

Just keep in mind that more often than not, the developer disables rollback for a reason. Not every game can support rollback, and if forced on, it'll only lead to issues.