Ren'Py 6.11.0 Public Pre-Release

In this forum we discuss the future of Ren'Py, both bug fixes and longer-term development. Pre-releases are announced and discussed here.
Post Reply
Message
Author
User avatar
PyTom
Ren'Py Creator
Posts: 16093
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.11.0 Public Pre-Release

#1 Post by PyTom »

Okay, I've made Ren'Py 6.11 available as a pre-release from http://www.renpy.org/.

At this point, I'm trying to figure out where we're standing with regard to testing. Specifically, I'm wondering if there are any people left who are getting crashes in GL-mode, or other major crashes that would prevent you from running an otherwise-correct game.
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
PyTom
Ren'Py Creator
Posts: 16093
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:

Re: Ren'Py 6.11.0 Public Pre-Release

#2 Post by PyTom »

I just posted 6.11.0f. Changes include:

- Added sample screens to the documentation. (And also fixed several bugs in screen actions.)

http://www.renpy.org/doc/html/screen_special.html

- The documentation now explains what to do if Ren'Py has problem with the GL on your system.

http://www.renpy.org/doc/html/display_problems.html

- Transforms now pass events to child transforms.
- Movies are played back in unbuffered mode, which prevents skipping when looping a movie multiple times.
- Mugenjohncel's video card (S3 DeltaChrome with driver version 20) is now blacklisted.
- References to the store object can now be pickled.
- Fixed problems with text when line spacing is negative.
- Screenshots are taken only from the main thread. This fixes a crash on the mac.
- Screenshots are now taken in the correct aspect ratio, with letterboxing removed.

Once again, thanks to everyone who has tested 6.11, especially people who have found problems. As much as I hate having problems found, it beats them lurking undetected.
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

Mihara
Regular
Posts: 119
Joined: Thu Mar 11, 2010 2:52 pm
Contact:

Re: Ren'Py 6.11.0 Public Pre-Release

#3 Post by Mihara »

NVL mode extend fails to extend the line and messes up the window after a "window hide". (and maybe I should use "nvl hide" instead which doesn't cause this effect but I'm sure "window hide" shouldn't be doing that either...) A very similar effect often shows up after a Shift+R developer reload keypress.

Here's the minimal replication script:

Code: Select all

init:

   # Characters
   
   define narrator = NVLCharacter(None, kind = nvl,
       window_top_margin=6,
       window_bottom_margin=6,
       )
      
   # Quoted speech macro
   
   define q = NVLCharacter(None, kind = narrator,
       what_prefix = u'\u201c',
       what_suffix = u'\u201d',
       window_top_margin=1,
       window_bottom_margin=1,
       )

# The game starts here.
label start:

    nvl clear
    q "Here, extend..."
    # I normally put a sprite change here.
    extend "\n...works properly"
    
    window hide
    # some fullscreen visual stuff would be displayed here.
    window show
    
    nvl clear
    q "...but after a window hide..."
    # where I would put a second sprite change...
    extend "...it messes up, and the mess persists, screwing up the output!"     

Fixing extend not to display the extraneous suffix quote would also be very nice. :)

Mihara
Regular
Posts: 119
Joined: Thu Mar 11, 2010 2:52 pm
Contact:

Re: Ren'Py 6.11.0 Public Pre-Release

#4 Post by Mihara »

And more about events.

Code: Select all

    image foo:
        subpixel True
        contains:
            "foobase"
            around (0.5,0.5)
            anchor (0.5,0.5)
            easein 1 rotate 360

            on show:
                alpha 0.0
                linear 0.25 alpha 1.0
            on hide:
                alpha 1.0
                linear 0.25 alpha 0.0
        contains:
            "foobase"
            around (0.5,0.5)
            anchor (0.5,0.5)
            easein 1 rotate -360

            on show:
                alpha 0.0
                linear 0.25 alpha 1.0
            on hide:
                alpha 1.0
                linear 0.25 alpha 0.0
Events apparently don't get propagated inside contained blocks, whether I 'show at center' or just 'show'. Is that as intended?

User avatar
PyTom
Ren'Py Creator
Posts: 16093
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:

Re: Ren'Py 6.11.0 Public Pre-Release

#5 Post by PyTom »

Yes, that's as intended. Events only apply to the displayable being shown, not its children.
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

Mihara
Regular
Posts: 119
Joined: Thu Mar 11, 2010 2:52 pm
Contact:

Re: Ren'Py 6.11.0 Public Pre-Release

#6 Post by Mihara »

PyTom wrote:Yes, that's as intended. Events only apply to the displayable being shown, not its children.
It deserves a mention in the docs then. :)

User avatar
jack_norton
Lemma-Class Veteran
Posts: 4084
Joined: Mon Jul 21, 2008 5:41 pm
Completed: Too many! See my homepage
Projects: A lot! See www.winterwolves.com
Tumblr: winterwolvesgames
Contact:

Re: Ren'Py 6.11.0 Public Pre-Release

#7 Post by jack_norton »

Was the mac-crash bug fixed? I'm asking because I could have that tester try the game again :)
follow me on Image Image Image
computer games

Jake
Support Hero
Posts: 3826
Joined: Sat Jun 17, 2006 7:28 pm
Contact:

Re: Ren'Py 6.11.0 Public Pre-Release

#8 Post by Jake »

jack_norton wrote:Was the mac-crash bug fixed? I'm asking because I could have that tester try the game again :)
Wasn't it fixed in the second pre-release or something? I know recent 6.11s have run fine on my Macbook Pro.
Server error: user 'Jake' not found

User avatar
jack_norton
Lemma-Class Veteran
Posts: 4084
Joined: Mon Jul 21, 2008 5:41 pm
Completed: Too many! See my homepage
Projects: A lot! See www.winterwolves.com
Tumblr: winterwolvesgames
Contact:

Re: Ren'Py 6.11.0 Public Pre-Release

#9 Post by jack_norton »

I had an user with a crash on 6.11e, maybe I lost the count of all the versions :D
follow me on Image Image Image
computer games

User avatar
PyTom
Ren'Py Creator
Posts: 16093
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:

Re: Ren'Py 6.11.0 Public Pre-Release

#10 Post by PyTom »

Yes, the mac crash (which probably could have hit all platforms, but was driver dependent) was fixed.

EDIT: The problem was actually taking a screenshot from a second thread. Most of the time, this would work - but once in a while, it would conflict with another operation, and Ren'Py would crash.
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

Mihara
Regular
Posts: 119
Joined: Thu Mar 11, 2010 2:52 pm
Contact:

Re: Ren'Py 6.11.0 Public Pre-Release

#11 Post by Mihara »

I think that's another one. :)

Code: Select all

# You can place the script of your game in this file.

init:
    # Declare images below this line, using the image statement.
    # eg. image eileen happy = "eileen_happy.png"

    # Declare characters used by this game.
    $ e = Character('Eileen', color="#c8ffc8")

screen main_menu:
    # The background of the main menu.
    window:
        style "mm_root"

    # The main menu buttons.
    frame:
        group "mm"
        anchor (1.0,0.0)
        pos (0.96,0.4)
        
        has vbox

        textbutton _("Start Game") action Start()
        textbutton _("Load Game") action ShowMenu("load")
        textbutton _("Preferences") action ShowMenu("preferences")
        textbutton _("Help") action Help()
        textbutton _("Quit") action Quit(confirm=False)     

# The game starts here.
label start:

    e "You've created a new Ren'Py game."

    e "Once you add a story, pictures, and music, you can release it to the world!"
Mostly consists of examples given in the docs as is.

Pressing Shift+Y to dump styles to actually figure out where do I have to kick it to draw what I want produces this traceback:

Code: Select all

I'm sorry, but an exception occured while executing your Ren'Py
script.

TypeError: 'NoneType' object is unsubscriptable

While running game code:
 - script at line 32 of C:\----------------\bugexample/game/script.rpy
 - python at line 200 of renpy-6.11.0/common/00library.rpy.

-- Full Traceback ------------------------------------------------------------

  File "C:\Gamedrive\RenPy\renpy\bootstrap.py", line 252, in bootstrap
  File "C:\Gamedrive\RenPy\renpy\main.py", line 309, in main
  File "C:\Gamedrive\RenPy\renpy\main.py", line 93, in run
  File "C:\Gamedrive\RenPy\renpy\execution.py", line 243, in run
  File "C:\Gamedrive\RenPy\renpy\ast.py", line 340, in execute
  File "C:\Gamedrive\RenPy\renpy\exports.py", line 562, in say
  File "C:\Gamedrive\RenPy\renpy\character.py", line 675, in __call__
  File "C:\Gamedrive\RenPy\renpy\character.py", line 634, in do_display
  File "C:\Gamedrive\RenPy\renpy\character.py", line 451, in display_say
  File "C:\Gamedrive\RenPy\renpy\ui.py", line 216, in interact
  File "C:\Gamedrive\RenPy\renpy\display\core.py", line 1586, in interact
  File "C:\Gamedrive\RenPy\renpy\display\core.py", line 2129, in interact_core
  File "C:\Gamedrive\RenPy\renpy\display\layout.py", line 638, in event
  File "C:\Gamedrive\RenPy\renpy\display\behavior.py", line 179, in event
  File "renpy-6.11.0/common/00library.rpy", line 200, in dump_styles
  File "C:\Gamedrive\RenPy\renpy\style.py", line 879, in write_text
TypeError: 'NoneType' object is unsubscriptable

While running game code:
 - script at line 32 of C:\---------------------\bugexample/game/script.rpy
 - python at line 200 of renpy-6.11.0/common/00library.rpy.

Ren'Py Version: Ren'Py 6.11.0f

Mihara
Regular
Posts: 119
Joined: Thu Mar 11, 2010 2:52 pm
Contact:

Re: Ren'Py 6.11.0 Public Pre-Release

#12 Post by Mihara »

Aand, one more. After numerous Shift+R while messing with screens and trying to get them to look right, a crash:

Code: Select all

Traceback (most recent call last):
  File "renpy.py", line 140, in <module>
  File "C:\Gamedrive\RenPy\renpy\bootstrap.py", line 284, in bootstrap
  File "C:\Gamedrive\RenPy\renpy\__init__.py", line 142, in reload_all
  File "C:\Gamedrive\RenPy\renpy\__init__.py", line 102, in import_all
  File "C:\Gamedrive\RenPy\renpy\exports.py", line 45, in <module>
ImportError: No module named character
Running it again continued from where it would be on Shift+R.

shahab96
Veteran
Posts: 228
Joined: Mon May 24, 2010 5:40 am
Location: Lahore, Pakistan
Contact:

Re: Ren'Py 6.11.0 Public Pre-Release

#13 Post by shahab96 »

Code: Select all

## The background of the main menu. This can be a color
        ## beginning with '#', or an image filename. The latter
        ## should take up the full height and width of the screen.
        mm_root = "Images/Main Menu Background/WPP.jpg",

        ## The background of the game menu. This can be a color
        ## beginning with '#', or an image filename. The latter
        ## should take up the full height and width of the screen.
        gm_root = "",
Whenever mm_root and gm_root do not have the same values, i get this error

Code: Select all

I'm sorry, but an exception occured while executing your Ren'Py
script.

IndexError: string index out of range

After initialization, but before game start.

-- Full Traceback ------------------------------------------------------------

  File "D:\Shahab's Stuff\REN'PY Visual Novel Maker\renpy-6.11.0\renpy\bootstrap.py", line 252, in bootstrap
  File "D:\Shahab's Stuff\REN'PY Visual Novel Maker\renpy-6.11.0\renpy\main.py", line 268, in main
  File "D:\Shahab's Stuff\REN'PY Visual Novel Maker\renpy-6.11.0\renpy\style.py", line 611, in build_styles
  File "D:\Shahab's Stuff\REN'PY Visual Novel Maker\renpy-6.11.0\renpy\style.py", line 591, in build_style
  File "D:\Shahab's Stuff\REN'PY Visual Novel Maker\renpy-6.11.0\renpy\style.py", line 480, in expand_properties
  File "D:\Shahab's Stuff\REN'PY Visual Novel Maker\renpy-6.11.0\renpy\easy.py", line 47, in displayable_or_none
IndexError: string index out of range

After initialization, but before game start.

Ren'Py Version: Ren'Py 6.11.0f
It took me a while to figure out why it is happening. If it helps, I am using windows xp professional.
The true measure of a man is what he does with his power.

User avatar
PyTom
Ren'Py Creator
Posts: 16093
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:

Re: Ren'Py 6.11.0 Public Pre-Release

#14 Post by PyTom »

The problem (admittedly reported poorly) is the empty string for gm_root.
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

Mihara
Regular
Posts: 119
Joined: Thu Mar 11, 2010 2:52 pm
Contact:

Re: Ren'Py 6.11.0 Public Pre-Release

#15 Post by Mihara »

I think that's another bug.

The following piece of code produces a RenPy that does not react to user input, including the window close button provided by the OS. You end up having to kill the task.

Commenting out the "unhovered Hide("tooltip")" makes it work as expected (but without removing the screen on unhover, which is what was desired).

Code: Select all

init:
    # Declare images below this line, using the image statement.
    # eg. image eileen happy = "eileen_happy.png"

    # Declare characters used by this game.
    $ e = Character('Eileen', color="#c8ffc8")

screen main_menu:
    
    # The background of the main menu.
    window:
        style "mm_root"

    # The main menu buttons.
    frame:
        group "mm"
        anchor (1.0,0.0)
        pos (0.98,0.4)
        
        has vbox
        
        textbutton _("Start Game") action Start() hovered Show("tooltip")  unhovered Hide("tooltip")
        textbutton _("Load Game") action ShowMenu("load")
        textbutton _("Quit") action Quit(confirm=False)

screen tooltip:
    frame:
        anchor (0.0,1.0)
        pos (0.02,0.6)
        has vbox

        text "Meh."
    
# The game starts here.
label start:

    e "You've created a new Ren'Py game."

    e "Once you add a story, pictures, and music, you can release it to the world!"
    

Post Reply

Who is online

Users browsing this forum: No registered users