Ren'Py 6.12.1 Pre-Released

In this forum we discuss the future of Ren'Py, both bug fixes and longer-term development. Pre-releases are announced and discussed here.
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 6.12.1 Pre-Released

#1 Post by PyTom »

Ren'Py 6.12.1 "Human Factor" is the first of a series of minor releases focusing on improving the experience of visual novel makers. This release features several improvements to the process of showing images:

- Image attributes make it no longer necessary to specify every part of a changed image.
- The say statement can change image attributes when a character speaks.
- Side images can be specified with the image statement, and can be used with NVL-mode dialogue.
- Sticky transforms allow a transform to continue through an image change.

As these new features can change the behavior of existing games, it may be convenient to disable them for in-development projects. Please see the list of incompatible changes for instructions on how to do this.

The other major improvement is in error handling. Where previous versions of Ren'Py would terminate on errors, 6.12.1 will display a screen that allows the maker to edit problematic files and reload the game, and the user to rollback or ignore the problem.

Ren'Py 6.12.1 also includes many other minor features and bug fixes, please see the full changelog for more details.

Downloads of 6.12.1 can be found at:

- http://www.renpy.org/release/6.12.1

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

- http://www.renpy.org/dev-doc/html/changelog.html

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

- http://www.renpy.org/dev-doc/html/incompatible.html



1460:

This is the first release to use a new pre-release process, that I'm still experimenting with as a go along. I've posted up an early version of 6.12.1, so it can be out there for people to play with. There are a lot of changes to the way showing images work, and I think this will lead to changes in the way people program Ren'Py games. (I think that, combined, the changes will save people a lot of typing.)

If you're working on a new game, or one in the early stages of programming, I encourage you to try out the 6.12.1 pre-releases, and to use the new features, especially attribute-based images, as (based on suggestions from people) I think they will simplify game scripts. On the other hand, they can change the meaning of some code, so if you have an in-development game, you may want to set config.image_attributes to False to turn them off. In both cases, I'd like to find out about any problems you have.

There are still known reported bugs in 6.12.1, and I haven't touched the Android build in a while. Much documentation has yet to be written - many of then new features are only documented in the changelog. So this is by no means done. But my testing shows it to be reasonably stable, and hopefully worth trying out as I polish up 6.12.1.

Finally, there are a bunch of simple-yet-useful features, which I'll mention here to make them more prominent for people who don't read the changelog:

- Ren'Py remembers window size, and it's now possible to have preferences for specific window sizes.
- The new Tooltip class makes tooltips easier.
- config.debug_text_overflow will log text overflows to a file.
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
Aleema
Lemma-Class Veteran
Posts: 2677
Joined: Fri May 23, 2008 2:11 pm
Organization: happyB
Tumblr: happybackwards
Contact:

Re: Ren'Py 6.12.1 Pre-Released

#2 Post by Aleema »

That's really interesting. The new image attributes thing. Since I write directly into Ren'Py, I'll still be going back through all my lines to insert emotions, but if I know for sure the char is mad when he says something, I can go ahead and nip that in the bud. Of course, my "find>replace all" for changing character call names won't work anymore, but I guess I should have never done that in the first place. :)

Yay for xcenter/ycenter! Something so simple yet will be what I use the most.

Good work, I hope to make a new game sometime so that I can actually use this stuff. =P

User avatar
jack_norton
Lemma-Class Veteran
Posts: 4086
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.12.1 Pre-Released

#3 Post by jack_norton »

I got this error immediately on startup. I used the autoupdater though, not sure if that was ok. In practice the auto-images doesn't seem to work ?

Code: Select all

I'm sorry, but an uncaught exception occurred.

While executing init code:
  File "C:\- indie dev -\games\renpy/common/00library.rpy", line 917, in python
  File "C:\- indie dev -\games\renpy/common/00library.rpy", line 911, in python
AttributeError: 'module' object has no attribute 'images'

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

Full traceback:
  File "C:\- indie dev -\games\renpy\renpy\execution.py", line 261, in run
  File "C:\- indie dev -\games\renpy\renpy\ast.py", line 617, in execute
  File "C:\- indie dev -\games\renpy\renpy\python.py", line 957, in py_exec_bytecode
  File "C:\- indie dev -\games\renpy/common/00library.rpy", line 917, in <module>
  File "C:\- indie dev -\games\renpy/common/00library.rpy", line 911, in create_automatic_images
AttributeError: 'module' object has no attribute 'images'

Windows-Vista-6.0.6002-SP2
Ren'Py 6.12.1.1460
 
follow me on Image Image Image
computer games

User avatar
chensterrain
Veteran
Posts: 225
Joined: Sun Oct 26, 2008 2:01 am
Completed: Lucky Rabbit Reflex!, Dusk ~A Moonlight Romance~
Projects: Edge of Elsewhere
Organization: Super63
Tumblr: supersixthree
Deviantart: chensterrain
Location: London, UK
Contact:

Re: Ren'Py 6.12.1 Pre-Released

#4 Post by chensterrain »

This is only a minor thing, and it might be because I disabled all of the new image definition features, but every once in a while when I save my game in 6.12.1 the thumbnail image in the save menu is completely black? (There was an imagemap on screen at the time, if that helps). The same thing seems to happen with another game that I'm assuming was made in 6.12.1, too.

(Not sure if this is the right place for this, sorry!)

User avatar
jack_norton
Lemma-Class Veteran
Posts: 4086
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.12.1 Pre-Released

#5 Post by jack_norton »

Ah yes I have that problem too, in Remember Me. If you save on the map, you see black thumbnail. In my case doesn't seem to be ALWAYS black, only some times (don't know what triggers it though).
follow me on Image Image Image
computer games

User avatar
chensterrain
Veteran
Posts: 225
Joined: Sun Oct 26, 2008 2:01 am
Completed: Lucky Rabbit Reflex!, Dusk ~A Moonlight Romance~
Projects: Edge of Elsewhere
Organization: Super63
Tumblr: supersixthree
Deviantart: chensterrain
Location: London, UK
Contact:

Re: Ren'Py 6.12.1 Pre-Released

#6 Post by chensterrain »

Heh, that was actually the game I was talking about, but I didn't want to assume. But yeah, most of the time it was completely fine, so I'm not really sure why it happens...

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:

Re: Ren'Py 6.12.1 Pre-Released

#7 Post by PyTom »

Can people post some of the save game files where this happens?
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
mugenjohncel
Hentai Poofter
Posts: 2121
Joined: Sat Feb 04, 2006 11:13 pm
Organization: Studio Mugenjohncel
Location: Philippines
Contact:

Re: Ren'Py 6.12.1 Pre-Released

#8 Post by mugenjohncel »

Uh oh... I see side images had something new... I'm genuinely worried since I am a heavy user of side-images...

Time to download...

"POOF" (Disappears)

nope
Newbie
Posts: 13
Joined: Thu Apr 14, 2011 10:12 pm
Contact:

Re: Ren'Py 6.12.1 Pre-Released

#9 Post by nope »

- Sticky transforms allow a transform to continue through an image change.
Image

User avatar
backansi
Veteran
Posts: 224
Joined: Sun May 31, 2009 7:15 am
Location: Korea, Republic of
Contact:

Re: Ren'Py 6.12.1 Pre-Released

#10 Post by backansi »

jack_norton wrote:I used the autoupdater though, not sure if that was ok. In practice the auto-images doesn't seem to work ?
So I defined an image directly but the error message shows up... (and I used auto updater too..)

Code: Select all

init:
    image sylvie2 normal ='sylvie2_normal.png'
    define s = Character('Sylvie', image = "sylvie2")
label start:
    
    s normal ''
-----------------
I'm sorry, but an uncaught exception occurred.

While executing init code:
  File "renpy-6.12.0-mainline/common/00library.rpy", line 908, in python
  File "renpy-6.12.0-mainline/common/00library.rpy", line 902, in python
AttributeError: 'module' object has no attribute 'images'

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

Full traceback:
  File "E:\renpy-6.12.0\renpy\execution.py", line 261, in run
  File "E:\renpy-6.12.0\renpy\ast.py", line 617, in execute
  File "E:\renpy-6.12.0\renpy\python.py", line 957, in py_exec_bytecode
  File "renpy-6.12.0-mainline/common/00library.rpy", line 908, in <module>
  File "renpy-6.12.0-mainline/common/00library.rpy", line 902, in create_automatic_images
AttributeError: 'module' object has no attribute 'images'

Windows-post2008Server-6.1.7601-SP1
Ren'Py 6.12.1.1460
And here's unicode problem.
1.JPG
1.JPG (19.82 KiB) Viewed 2288 times
It's the project file.
Test.zip
(1.51 MiB) Downloaded 58 times

User avatar
jack_norton
Lemma-Class Veteran
Posts: 4086
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.12.1 Pre-Released

#11 Post by jack_norton »

Here's a savegame file without thumbnail.
Attachments
37-LT1.zip
(48.18 KiB) Downloaded 55 times
follow me on Image Image Image
computer games

Kittylove
Regular
Posts: 28
Joined: Thu Jul 02, 2009 1:35 pm
Contact:

Re: Ren'Py 6.12.1 Pre-Released

#12 Post by Kittylove »

:D Downloading!

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:

Re: Ren'Py 6.12.1 Pre-Released

#13 Post by PyTom »

Is anyone capable of reliably repeating the save bug? Or is it just totally random?
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
chensterrain
Veteran
Posts: 225
Joined: Sun Oct 26, 2008 2:01 am
Completed: Lucky Rabbit Reflex!, Dusk ~A Moonlight Romance~
Projects: Edge of Elsewhere
Organization: Super63
Tumblr: supersixthree
Deviantart: chensterrain
Location: London, UK
Contact:

Re: Ren'Py 6.12.1 Pre-Released

#14 Post by chensterrain »

Sorry for the late reply, I didn't have access to my saves earlier, but I've attached one I think has the glitch. It always seems to happen at that one point, but not at other times where basically the same things are on screen; if I reload the save and then save again, the image shows up as usual, and if I fast-skip to that point and save I also don't get the glitch, so I'm not sure why it's triggering, really!

Also, while I was trying all this out, I found that for some reason the game crashes every time I try to return to the main menu from the game menu.

Code: Select all

I'm sorry, but an uncaught exception occurred.

While running game code:
  File "renpy-6.12.0-mainline/common/00menus.rpy", line 41, in script
  File "renpy-6.12.0-mainline/common/00menus.rpy", line 41, in python
FullRestartException: 

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

Full traceback:
  File "C:\Users\xxxxxxxx\Documents\Renpy\renpy-6.12.1\renpy\execution.py", line 261, in run
  File "C:\Users\xxxxxxxx\Documents\Renpy\renpy-6.12.1\renpy\ast.py", line 617, in execute
  File "C:\Users\xxxxxxxx\Documents\Renpy\renpy-6.12.1\renpy\python.py", line 957, in py_exec_bytecode
  File "renpy-6.12.0-mainline/common/00menus.rpy", line 41, in <module>
  File "C:\Users\xxxxxxxx\Documents\Renpy\renpy-6.12.1\renpy\exports.py", line 893, in full_restart
FullRestartException: 

Windows-post2008Server-6.1.7600
Ren'Py 6.12.1.1460
Attachments
111-LT1.zip
(46.88 KiB) Downloaded 63 times
Last edited by chensterrain on Mon Apr 18, 2011 6:40 pm, edited 1 time in total.

User avatar
jack_norton
Lemma-Class Veteran
Posts: 4086
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.12.1 Pre-Released

#15 Post by jack_norton »

PyTom wrote:Is anyone capable of reliably repeating the save bug? Or is it just totally random?
The no-thumbnail bug? yes if you check Remember ME, every time you save in the map you get the black one.
follow me on Image Image Image
computer games

Post Reply

Who is online

Users browsing this forum: No registered users