Page 1 of 4

Ren'Py 6.12.1 Pre-Released

Posted: Fri Apr 08, 2011 11:05 pm
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.

Re: Ren'Py 6.12.1 Pre-Released

Posted: Fri Apr 08, 2011 11:42 pm
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

Re: Ren'Py 6.12.1 Pre-Released

Posted: Sun Apr 10, 2011 11:58 am
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
 

Re: Ren'Py 6.12.1 Pre-Released

Posted: Mon Apr 18, 2011 6:38 am
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!)

Re: Ren'Py 6.12.1 Pre-Released

Posted: Mon Apr 18, 2011 6:41 am
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).

Re: Ren'Py 6.12.1 Pre-Released

Posted: Mon Apr 18, 2011 6:56 am
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...

Re: Ren'Py 6.12.1 Pre-Released

Posted: Mon Apr 18, 2011 7:04 am
by PyTom
Can people post some of the save game files where this happens?

Re: Ren'Py 6.12.1 Pre-Released

Posted: Mon Apr 18, 2011 9:24 am
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)

Re: Ren'Py 6.12.1 Pre-Released

Posted: Mon Apr 18, 2011 9:37 am
by nope
- Sticky transforms allow a transform to continue through an image change.
Image

Re: Ren'Py 6.12.1 Pre-Released

Posted: Mon Apr 18, 2011 10:56 am
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 2314 times
It's the project file.
Test.zip
(1.51 MiB) Downloaded 58 times

Re: Ren'Py 6.12.1 Pre-Released

Posted: Mon Apr 18, 2011 11:44 am
by jack_norton
Here's a savegame file without thumbnail.

Re: Ren'Py 6.12.1 Pre-Released

Posted: Mon Apr 18, 2011 3:30 pm
by Kittylove
:D Downloading!

Re: Ren'Py 6.12.1 Pre-Released

Posted: Mon Apr 18, 2011 4:40 pm
by PyTom
Is anyone capable of reliably repeating the save bug? Or is it just totally random?

Re: Ren'Py 6.12.1 Pre-Released

Posted: Mon Apr 18, 2011 5:53 pm
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

Re: Ren'Py 6.12.1 Pre-Released

Posted: Mon Apr 18, 2011 6:14 pm
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.