Ren'Py 6.99.10 Released

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Message
Author
User avatar
PyTom
Ren'Py Creator
Posts: 16122
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Ren'Py 6.99.10 Released

#1 Post by PyTom »

I'd like to announce Ren'Py 6.99.10, the latest in a series of releases that will culminate in Ren'Py 7. This release fixes two regressions that were introduced in Ren'Py 6.99.9:
  • Ren'Py would fail to start if a DirectInput gamepad could not be opened in exclusive mode.
  • Ren'Py would fail to start with an SDL error on certain Android devices.
This release also includes:
  • A new vpgrid widget, which combines a viewport and a grid into a single widget, with optimized rendering.
  • InputValues that can be with the text input widget to allow multiple text inputs to be displayed at once.
  • A Greek translation of the launcher, contributed by George Economidis.

Downloads of 6.99.10 can be found at:

https://www.renpy.org/release/6.99.10

A full list of changes to Ren'Py can be found at:

https://www.renpy.org/doc/html/changelog.html

A list of changes that may require you to update your game can be found at:

https://www.renpy.org/doc/html/incompatible.html


Since these bug fixes can affect end users without the developer having seen them, I suggest everyone using Ren'Py 6.99.9 should update.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

User avatar
YzzaPizzaIsCheezy
Regular
Posts: 64
Joined: Mon Feb 15, 2016 11:40 am
Completed: Best Friends
Projects: Sweet and Spices (NaNo'16)
Organization: Pastelle Studios, Classical Projects
Contact:

Re: Ren'Py 6.99.10 Released

#2 Post by YzzaPizzaIsCheezy »

That....... Was fast. :shock:
Anyway, congrats! :D

User avatar
The CRxTR
Regular
Posts: 56
Joined: Sat Apr 18, 2009 4:55 am
Projects: "Project Fareena"
Organization: Cyclohexane Games
Tumblr: crxtrdude
Github: crxtrdude
itch: crxtrdude
Discord: CRxTRDude#9493
Contact:

Re: Ren'Py 6.99.10 Released

#3 Post by The CRxTR »

So, how would this vpgrid widget work? Just asking, since it's a new feature that is still undocumented
CRxTR

User avatar
xela
Lemma-Class Veteran
Posts: 2481
Joined: Sun Sep 18, 2011 10:13 am
Contact:

Re: Ren'Py 6.99.10 Released

#4 Post by xela »

The CRxTR wrote:Just asking, since it's a new feature that is still undocumented
Good, old Doc said.
Like what we're doing? Support us at:
Image

Nikolai
Newbie
Posts: 18
Joined: Tue Aug 21, 2007 7:45 am
Contact:

Re: Ren'Py 6.99.10 Released

#5 Post by Nikolai »

Congratulations and deepest thanks for this new release!

I should point out that the link to the Pygame_SDL2 source code doesn't work, since it seems to want to find a bz2'd version of that source code. There's a tarred and gzipped version in the proper folder, though.

User avatar
vollschauer
Veteran
Posts: 231
Joined: Sun Oct 11, 2015 9:38 am
Github: vollschauer
Contact:

Re: Ren'Py 6.99.10 Released

#6 Post by vollschauer »

If I check for updates it always offers me the 6.99.10.1227 to download ... endless loop (Linux SDK)

User avatar
ChronoWorkS
Newbie
Posts: 16
Joined: Mon Dec 28, 2015 4:58 am
Contact:

Re: Ren'Py 6.99.10 Released

#7 Post by ChronoWorkS »

This update is cool, with 6.99.10 I can now use Live2D for my games and that's really something! But I can see some delay on the animations, it can be my PC (it is slow anyways) I don't really know, by the way, thanks you for that, I appreciate it a lot as a Dev.
Image

User avatar
Keinart
Regular
Posts: 133
Joined: Sun May 13, 2012 8:28 pm
Completed: One Thousand Lies
Projects: Lotus Reverie
Organization: Keinart Lobre
Tumblr: keinart
itch: keinart
Location: Spain
Contact:

Re: Ren'Py 6.99.10 Released

#8 Post by Keinart »

Hi Tom, thanks for the release, but I would like a comment a problem with the Auto button.

I updated my renpy version precisely for that SDL problem in Android you mention in the OP but now the Auto toggle does not really work as it should. If I press it it won't work at all, the only way I can manage to make it work is to press the auto, then go to preferences or save or any other menu, then go back to the game, then auto works. The issue is that even this way auto only works for a random time, it will stop working again any time and for no aparent reason.

I checked this online and I see this problem was in the prerelease of the 6.99.9 version, here: http://lemmasoft.renai.us/forums/viewto ... ad#p407641

Any ideas about how to fix this? I'm kinda in a bad position because if I go to a previous version where it works I get the SDL Android problem, but if I update the Auto won't work.

Here's my Say screen if that can help somehow:

Code: Select all

# Say
#
# Screen that's used to display adv-mode dialogue.
# http://www.renpy.org/doc/html/screen_special.html#say
screen say:

    # Defaults for side_image and two_window
    default side_image = None
    default two_window = True

    # Decide if we want to use the one-window or two-window variant.
    #if not two_window:
    if not who:

        # The one window variant.
        window:
            id "window"

            has vbox:
                style "say_vbox"

            #if who:
                #text who id "who"

            text what id "what"

    else:

        # The two window variant.
        vbox:
            style "say_two_window_vbox"
            
            window:
                style "say_who_window"

                text who:
                    id "who"
                    
            #if who:
                #window:
                    #style "say_who_window"

                    #text who:
                        #id "who"

            window:
                id "window"

                has vbox:
                    style "say_vbox"

                text what id "what"

    # If there's a side image, display it above the text.
    if side_image:
        add side_image
    else:
        add SideImage() xalign 0.0 yalign 1.0

    # Use the quick menu.
    use quick_menu
Thank you.

EDIT: I can confirm Auto works in 6.99.8 but it won't work in 6.99.9 or 6.99.10

User avatar
nyaatrap
Crawling Chaos
Posts: 1824
Joined: Mon Feb 13, 2012 5:37 am
Location: Kimashi Tower, Japan
Contact:

Re: Ren'Py 6.99.10 Released

#9 Post by nyaatrap »

The auto button doesn't work neither for me when I set Preference("auto-forward after click", "disable"). If i set Preference("auto-forward after click", "enable") then it's working.

User avatar
korova
Veteran
Posts: 217
Joined: Sat Jun 27, 2009 5:15 pm
Completed: Ivy, Chocolate, Time, Clair Obscur
Projects: Writing exercises, The House [Nano18]
Tumblr: korova08
itch: korova
Location: Normandie, France
Contact:

Re: Ren'Py 6.99.10 Released

#10 Post by korova »

I bumped into the same problem when testing my Nanoreno game, at first I thought I made something wrong (and forgot about it, I don't use this feature much)
But it seems I'm not alone...

User avatar
nyaatrap
Crawling Chaos
Posts: 1824
Joined: Mon Feb 13, 2012 5:37 am
Location: Kimashi Tower, Japan
Contact:

Re: Ren'Py 6.99.10 Released

#11 Post by nyaatrap »

I noticed when I press the auto button, then wait 1~2 mins, then auto finally stat working. I guess counting wait time to start is the problem.

User avatar
Renmiou
Regular
Posts: 49
Joined: Mon Mar 28, 2016 7:33 am
Completed: The End of an Actress (sprite art), Blackberry Honey (contributing CG artist), Rising Angels: Hope, Black Closet, Tuesday, Chronicle Of Mars, Tristan & Iseult, Heiress II
Projects: Blackberry Honey, Mermaid of Zennor, Tristan & Iseult, Chronicles of Mars, etc.
Deviantart: Renmiou
Location: UK
Contact:

Re: Ren'Py 6.99.10 Released

#12 Post by Renmiou »

nyaatrap wrote:I noticed when I press the auto button, then wait 1~2 mins, then auto finally stat working. I guess counting wait time to start is the problem.
Is this the UI button or is there finally a keyboard shortcut for Auto-Forward mode? I've been looking around for a Ren'Py shortcut, but I really don't find one, which is a problem with RSI (navigating through the UI to activate it isn't great when you want to limit clicks to a minimum).

User avatar
nyaatrap
Crawling Chaos
Posts: 1824
Joined: Mon Feb 13, 2012 5:37 am
Location: Kimashi Tower, Japan
Contact:

Re: Ren'Py 6.99.10 Released

#13 Post by nyaatrap »

both. if your looking the code, here is I'm using:

Code: Select all

init python:
    # Binds keys to AFM
    
    config.underlay.append(renpy.Keymap(toggle_afm = Preference("auto-forward", "toggle")))
    config.keymap["toggle_afm"] = 'a' 

User avatar
Renmiou
Regular
Posts: 49
Joined: Mon Mar 28, 2016 7:33 am
Completed: The End of an Actress (sprite art), Blackberry Honey (contributing CG artist), Rising Angels: Hope, Black Closet, Tuesday, Chronicle Of Mars, Tristan & Iseult, Heiress II
Projects: Blackberry Honey, Mermaid of Zennor, Tristan & Iseult, Chronicles of Mars, etc.
Deviantart: Renmiou
Location: UK
Contact:

Re: Ren'Py 6.99.10 Released

#14 Post by Renmiou »

Ah, ta! I'll certainly use it for my project, but I was wondering if there was a universal shortcut like for auto voicing, since I have RSI and going to the menus (when devs leave the option, some remove it entirely) every time I want to use Auto-forward is a bit painful in the long run.

Thanks for sharing your code, Nyaatrap!

User avatar
Keinart
Regular
Posts: 133
Joined: Sun May 13, 2012 8:28 pm
Completed: One Thousand Lies
Projects: Lotus Reverie
Organization: Keinart Lobre
Tumblr: keinart
itch: keinart
Location: Spain
Contact:

Re: Ren'Py 6.99.10 Released

#15 Post by Keinart »

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.

Post Reply

Who is online

Users browsing this forum: No registered users