logo

overlay

My own overlay for experimentations, use with caution, no support is provided git clone https://hacktivis.me/git/overlay.git

renpy-6.99.12.4-compat-infinite-loop.patch (1612B)


  1. Adapted from git HEAD:
  2. commit ff308191a190bf7c5c2118a31f3d8569a0904c04
  3. Author: Andrew Savchenko <bircoph@gmail.com>
  4. Date: Mon Jul 17 08:00:07 2017 +0300
  5. Increase infinite loop hardcoded values
  6. On many old hardware, e.g on my Atom netbook games hit this limit,
  7. but otherwise work fine. Increasing the limit helps. People are
  8. also reporting this issue in many cases (old laptops, stow tablets,
  9. etc where games fail due to this issue and work otherwise):
  10. https://translationprojectvisualnovels.blogspot.ru/2016/09/monster-girl-quest-android-15092016.html
  11. https://lemmasoft.renai.us/forums/viewtopic.php?f=8&t=30521&start=90
  12. https://steamcommunity.com/app/356530/discussions/0/365163686036650662/
  13. (and many more, just google)
  14. index 00c7562..a7e361c 100644
  15. --- a/renpy/display/core.py
  16. +++ b/renpy/display/core.py
  17. @@ -2845,7 +2845,7 @@ class Interface(object):
  18. while rv is None:
  19. - renpy.execution.not_infinite_loop(10)
  20. + renpy.execution.not_infinite_loop(50)
  21. # Check for a change in fullscreen preference.
  22. if ((self.fullscreen != renpy.game.preferences.fullscreen) or
  23. diff --git a/renpy/main.py b/renpy/main.py
  24. index 6f14d77..960d2fd 100644
  25. --- a/renpy/main.py
  26. +++ b/renpy/main.py
  27. @@ -318,7 +318,7 @@ def main():
  28. game.contexts = [ renpy.execution.Context(False) ]
  29. game.contexts[0].init_phase = True
  30. - renpy.execution.not_infinite_loop(60)
  31. + renpy.execution.not_infinite_loop(300)
  32. # Load the script.
  33. renpy.game.exception_info = 'While loading the script.'