Ren'Py 6.18.x Prereleases

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: 16088
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.18.x Prereleases

#1 Post by PyTom »

I've pushed 6.18.1.651 to the prelease channel. This fixes the bugs that are reported here and elsewhere. It also has three changes that go above and beyond a simple bugfix:

1) A German template, by NoJoker.

2) A new placeholder system, which is used in developer mode when you do "show foo bar" and no image foo has been defined. This uses a pair of sprites contributed by Mugenjohncel.

3) There's been a change to ATL transforms. Transforms now begin when they are first seen by the user. This usually isn't different behavior from 6.18.0 and earlier. A case where the behavior differs is when a transform is show after the screen it's in is shown - for example, a transform inside an if statement. In that case, the transform will begin executing when the thing it's in is shown, which I think is a far more useful behavior.

To let people check out these changes (especially 3), I made a pre-release. Please check it out an give me feedback. (Also, if you reported an issue, please check that I fixed it - I think I got everything.)

You can download the prerelease directly from http://www.renpy.org/dl/6.18.1/ , if the updater is broken for you.
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: 16088
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.18 Released

#2 Post by PyTom »

6.18.1.655 is now the prerelease.

This fixes a regression caused by .651 that affected Sunrider. It also adds a new "sv" character-like object which uses the narrator to speak text if and only if self-voicing is enabled.
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
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.18 Released

#3 Post by jack_norton »

Sigh, this latest update breaks all old savegames compatibility again :cry: :cry:
Oh well, I guess I can't expect it to be "safe" until is officially out, but seems like older versions were better at keeping old saves :mrgreen:
follow me on Image Image Image
computer games

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.18 Released

#4 Post by jack_norton »

Also this new version is not compatible with old ATL coding, I get this error:

Code: Select all

I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/plot/scene17_calls_to_adventure.rpy", line 425, in script call
    call vaelistalks
  File "game/plot/vaelis_sidestory.rpy", line 11, in script call
    call vaelis4
  File "game/plot/vaelis_sidestory.rpy", line 450, in script
    show i_vaelis at c1p1
Exception: Cannot compile ATL Transform, as it's missing positional parameter xp.

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

Full traceback:
  File "game/plot/scene17_calls_to_adventure.rpy", line 425, in script call
    call vaelistalks
  File "game/plot/vaelis_sidestory.rpy", line 11, in script call
    call vaelis4
  File "game/plot/vaelis_sidestory.rpy", line 450, in script
    show i_vaelis at c1p1
  File "C:\- indie dev -\games\renpy\renpy\ast.py", line 1030, in execute
    show_imspec(self.imspec, atl=getattr(self, "atl", None))
  File "C:\- indie dev -\games\renpy\renpy\ast.py", line 1002, in show_imspec
    atl=atl)
  File "C:\- indie dev -\games\renpy\renpy\exports.py", line 506, in show
    sls.add(layer, img, key, zorder, behind, at_list=at_list, name=name, atl=atl, default_transform=renpy.config.default_transform, transient=transient)
  File "C:\- indie dev -\games\renpy\renpy\display\core.py", line 832, in add
    thing._show()
  File "C:\- indie dev -\games\renpy\renpy\display\motion.py", line 902, in _show
    super(ATLTransform, self)._show()
  File "C:\- indie dev -\games\renpy\renpy\display\motion.py", line 889, in _show
    self.update_state()
  File "C:\- indie dev -\games\renpy\renpy\display\motion.py", line 749, in update_state
    fr = self.function(self, self.st, self.at)
  File "C:\- indie dev -\games\renpy\renpy\atl.py", line 427, in execute
    self.compile()
  File "C:\- indie dev -\games\renpy\renpy\atl.py", line 392, in compile
    raise Exception("Cannot compile ATL Transform, as it's missing positional parameter %s." % self.parameters.positional[0])
Exception: Cannot compile ATL Transform, as it's missing positional parameter xp.

Windows-7-6.1.7601-SP1
Ren'Py 6.18.1.655
Seasons Of The Wolf 0.8.24.18
the line is a simple:

Code: Select all

    show i_vaelis at c1p1
    with dissolve
and those transforms are defined as:

Code: Select all

    transform c1p1(xp=0.5, yp=1.0, z=0.7, xz=1):
        xcenter xp yalign yp zoom z xzoom xz
it worked without problems until this last update.
follow me on Image Image Image
computer games

User avatar
PyTom
Ren'Py Creator
Posts: 16088
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.18 Released

#5 Post by PyTom »

I've pre-released Ren'Py 6.18.1.658 "Are we there yet?".

This fixes the ATL transform bug given above, as well as an image prediction bug. It also adds a renpy.munge function to munge names beginning with __ the same way the parser does.

Hopefully, this will satisfy everyone. I'm still thinking about these save issues - I'll try to deal with this in 6.18.2.
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
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.18 Released

#6 Post by jack_norton »

Thanks. Just to know what to tell my users, the 6.18.2 could be able to load saves from old versions (early 6.18?).
Oh and I tried to update and I still get that error on ATL requiring parameters :(
follow me on Image Image Image
computer games

User avatar
Tayruu
Regular
Posts: 141
Joined: Sat Jul 05, 2014 7:57 pm

Re: Ren'Py 6.18 Released

#7 Post by Tayruu »

I seem to be getting issues that weren't present last I tried the betas. ;x

Two things stand out for me: a panning effect (basically exactly like Ace Attorney) ATL ends up replaying itself over and over. The other is that the lip-flap as per the cookbook no longer works. The blinking is fine, but the lips are shut.

I'm not really sure what to post about it though? Like, this is some of the code I'm using for the ATL pan effect:

Code: Select all

# Witness to defence
label court_w2d:
    show layer master:
        ease 0.7 xpos 0+bgseg
    pause(0.7)
    return
What I expect to happen is the ease effect occurs once when I do "call court_w2d", what instead happens is that it pans, jumps back, and repeats itself 2-4 times, until something with "xpos [x]" is called -- i.e. not an eased animation. Otherwise, the ease occurs until the next line of dialogue, and repeats after that one, and keeps doing so. Adding a call to cut to the desired position after the pause does alleviate the issue, but the question remains if the bug without it is intended behaviour.

User avatar
PyTom
Ren'Py Creator
Posts: 16088
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.18 Released

#8 Post by PyTom »

jack, Tayruu >>> Can you get me replications of these problems so I can see them?

Just telling me about them doesn't help that much, as I can't easly recreate the entire software. If you can give me a runnable game with the problematic code, I can run it and fix it.

This is mostly true for the ATL stuff. The save issues is the game code changing too much - I'm going to address that in 6.18.2, but it isn't clear it'll fix existing saves.
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
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.18 Released

#9 Post by jack_norton »

In my case is straightforward, create new project and in script.rpy paste:

Code: Select all

init:
    transform c1p1(xp=0.5, yp=1.0, z=0.7, xz=1):
        xcenter xp yalign yp zoom z xzoom xz 

label start:
    show black at c1p1
    return
error:

Code: Select all

Exception: Cannot compile ATL Transform at game/script.rpy:3, as it's missing positional parameter xp.
follow me on Image Image Image
computer games

User avatar
PyTom
Ren'Py Creator
Posts: 16088
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.18 Released

#10 Post by PyTom »

Just to check - are you on the latest 6.18.1.658? We had that problem in .655, bu tit should be fixed now.

If that doesn't work, I need the entire game, so I can figure out what's going wrong. It works when I copy that code into 658.
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
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.18 Released

#11 Post by jack_norton »

Haha is really strange! Yes I am on 6.18.1.658 (just checked in the About screen) and I just tried now, CREATING A NEW PROJECT!!
So is not something else - I just created a new project from renpy menu, and pasted the lines above and then hit Launch. And I always get that error!! :shock:
How is possible ?
follow me on Image Image Image
computer games

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.18 Released

#12 Post by jack_norton »

I just tried on another computer, just in case. Downloaded Renpy, updated to 6.18.1.658, created new project and pasted that code, same error. Tried on Mac, same.
Also when I build the game and try to run it on Windows, I see a console window opening in background (and I didn't enable console output).
follow me on Image Image Image
computer games

User avatar
PyTom
Ren'Py Creator
Posts: 16088
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.18 Released

#13 Post by PyTom »

I've just pre-released 6.18.1.661.

This fixes the bugs that Jack and Tayruu reported.

It also fixes a problem that made saves unloadable when .rpy files were changed. If you want to ensure load-compatibility with old versions of your game, you should drop the .rpyc files form that version in over any newer .rpyc files, and then do a "Force Recompile". Unfortunately, this only works for particular versions.

Lastly, this release gets rid of the empty window that briefly appeared on Android when opening a game that uses an expansion APK.

jack_norton>>> The console window is likely the building of updates. That's normal.
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
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.18 Released

#14 Post by jack_norton »

Cool, transform bug fixed and also the saves from my latest version works (doesn't work from previous 658 update but not a big deal!). Thanks :)

edit:lol I have another different behavior though. When I hover on the buttons in combat, the animation fading-in resets every time I change the button (before wasn't doing it).
If you still have the game and the save (fight with Rhinos) I think is enough to force recompile and you can see the different behavior already. Otherwise will resend you the code to reproduce!
follow me on Image Image Image
computer games

User avatar
PyTom
Ren'Py Creator
Posts: 16088
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.18 Released

#15 Post by PyTom »

I've updated the prelease to 6.18.1.667 "The Neighbor of the Beast".

This fixes problems with ATL, screen language for statements, and the iap.Purchase and iap.Restore actions. Thanks to everyone for testing this - hopefully, this will work so I can move on to other things.
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: akakyouryuu, Bing [Bot], GetOutOfMyLab, Google [Bot]