Ok so I was kinda in a pinch because I had to update renpy for the Steam lib but at the same time I had to fix this Auto problem since it's so problematic, and I got a solution in case someone else is interested. What I basically did was compare the files of the .8 version against the .10 version, and basically revert back all those related to the AFM.
This solution requires you to change Renpy files OUTSIDE your game, so please KEEP A BACK UP of these files because I'm not Tom and you could probably break something important. In fact I'm not really sure if this solution will work for everyone.
Ok, the first step is to go to the Renpy folder, it should be something like: "renpy-6.99.10-sdk\renpy", there look for "character.py". Open it with a text editor and look for these lines:
Code: Select all
if behavior and afm:
behavior.set_text(what_text)
Change it for this and save it:
Code: Select all
if behavior and afm:
behavior.set_afm_length(end - start)
Now in the same folder look for "behavior.py", find these lines:
Code: Select all
def set_text(self, text):
self.text = text
self.afm_length = max(text.end - text.start, 1)
def event(self, ev, x, y, st):
if self.afm_length and renpy.game.preferences.afm_time and renpy.game.preferences.afm_enable:
afm_delay = ( 1.0 * ( renpy.config.afm_bonus + self.afm_length ) / renpy.config.afm_characters ) * renpy.game.preferences.afm_time
if self.text is not None:
afm_delay += self.text.get_time()
Change it for this and save:
Code: Select all
def set_afm_length(self, afm_length):
self.afm_length = max(afm_length, 1)
def event(self, ev, x, y, st):
if self.afm_length and renpy.game.preferences.afm_time and renpy.game.preferences.afm_enable:
afm_delay = ( 1.0 * ( renpy.config.afm_bonus + self.afm_length ) / renpy.config.afm_characters ) * renpy.game.preferences.afm_time
if renpy.game.preferences.text_cps:
afm_delay += 1.0 / renpy.game.preferences.text_cps * self.afm_length
And that's it, with it will should work now.