Ren'Py 5.4.2 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.
Post Reply
Message
Author
User avatar
PyTom
Ren'Py Creator
Posts: 16096
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 5.4.2 Released

#1 Post by PyTom »

I've just released Ren'Py 5.4.2 "Raging Heart", a release of Ren'Py containing a number of bug-fixes. This release includes a working two_window_say extra, and a number of of other bug fixes, especially for problems Ren'Py had working on Mac OS X. I strongly recommend people track the latest version of Ren'Py when developing their NaNoRenO (et al.) games, to ensure that they recieve the benefit of these bug fixes.

I'd like to take a moment to thank Shaja, who reported many of the bugs this release fixes, and helped with the development and testing of many of the mac fixes.

Ren'Py 5.4.2 can be downloaded from the Ren'Py home page:

http://www.bishoujo.us/renpy/

To upgrade, copy over the game directory from a recent version of Ren'Py. There are two changes that may need to be made. If you downloaded a copy of imagedissolve-fix.rpy, delete it (and the corresponding .rpyc file), as it is included in this release. If you use the two_window_say extra, copy in the new version, and change function=two_window_say to show_function=two_window_say in the Character objects of your script.

What's New in Ren'Py 5.4.2

The renpy.display_say function was refactored into two functions, renpy.display_say and renpy.show_display_say. In it's original incarnation, display_say had been a simple function responsible for showing dialogue to the user. Over the past few months, it has accreted logic for click-to-continue and for slow text, among other features. This made it hard to change the behavior of display_say, as a function overriding it would have to implement all that logic itself.

To fix this, we've created a new function, renpy.show_display_say, and made Character and display_say take a new parameter, show_function. This function is now responsible for actually placing widgets on the screen. It has a reasonably well-defined interface, to allow it to be overridden by user code in a way in which display_say is no longer practically able to be.

+++
The two_window_say extra has been rewritten to take advantage of this refactoring. To update, you'll need to copy over the new copy of two_window_say. You'll then need to change Character objects with the argument "function=two_window_say", to instead have the argument "show_function=two_window_say". In return for this, features such as pauses in text and slow text now work with two_window_say.

Ren'Py now displays dialogue shown via a rollback as quickly as possible. This is a change from the previous behavior, which was to show such dialogue at the speed set by the "Text Speed" preference.

The sound module has been rewritten to play sound (or silence) all the time, rather than pausing and restarting sound playback as necessary. This eliminates popping and errors in some edge cases, like playing a very short sound.

Fixed a bug in the move transition that manifests itself if the move transition is used while a transient is on the screen.

Fixed a bug that prevented ImageDissolves from working correctly on big-ending platforms, like PowerPC-based Macs.

Fixed a bug that caused crashes with a presplash image on non-mac computers.
Last edited by PyTom on Wed Mar 08, 2006 6:24 pm, edited 1 time in total.
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

Dre
Regular
Posts: 118
Joined: Tue Jan 25, 2005 8:55 pm
Location: Allugic.com
Contact:

#2 Post by Dre »

Would this be the final version for NaNoRenO?

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

#3 Post by PyTom »

I don't know, really. If people find bugs over the course of the month, I will release a new version if necessary. I may also release one shortly with the new widescreen mode, if it proves useful.
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: 16096
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:

#4 Post by PyTom »

FWIW, I will be releasing 5.4.3 in a relatively short while (say, under a week). 5.4.3 will use substantially less memory when loading music from .rpa files, and will make some errors more explicit.

AFAIK, there's nothing wrong with 5.4.2, assuming you find its memory usage acceptable.

I'm also trying to port Ren'Py launcher for Macintosh to the mac-x86 platform. But that will be more-or-less independent of Ren'Py.

Just letting people know whats going on, so they can plan their projects.
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

Post Reply

Who is online

Users browsing this forum: Amazon [Bot], Google [Bot], Silac