Ren'Py 7.1.0 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.
Message
Author
User avatar
PyTom
Ren'Py Creator
Posts: 15222
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 7.1.0 Released

#1 Post by PyTom » Mon Sep 10, 2018 10:13 pm

I'm happy to announce Ren'Py 7.1.0. This release fixes issues with Ren'Py 7.0.0, and also includes a few new features:
  • Android support has been rewritten to use the modern gradle-based build system. This allows Android apps created using Ren'Py to be posted in the Google Play store again. This also improves them in other ways, like making the app smaller by splitting out support for different platforms.
  • There is a new "monologue mode", which allows you to use triple-quoted strings to create say statements that contain multiple lines of dialogue. As part of this, the new {clear} text tag allows the equivalent of nvl clear to be embedded in dialogue.
  • The new _quit_slot variable lets you specify a save slot that the game is saved to when the user quits.
  • The updater (built into the launcher) has been updated to prompt for the channel to update to on each use, preventing creators from updated to an unexpected prerelease or nightly build.
As usual, check the changelog for a complete list of changes.


Downloads of 7.1.0 can be found at:

https://www.renpy.org/release/7.1.0

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

https://www.renpy.org/doc/html/changelog.html

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

https://www.renpy.org/doc/html/incompatible.html

Please also check out the credits and sponsor list.


The final released is 7.1.0.882, which has a few changes related to ruby text compared to the last prerelease. My thanks to everyone who spent time testing Ren'Py 7.1, especially on Android. You found many issues that I wouldn't have been able to find myself.

And while I got you, can I point you to the Ren'Py Jam, which starts in four days.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom

User avatar
AERenoir
Veteran
Posts: 288
Joined: Fri May 27, 2011 8:23 pm
Contact:

Re: Ren'Py 7.1.0 Released

#2 Post by AERenoir » Tue Sep 11, 2018 4:03 am

After installing this, apparently old builds (6.16.2) don't want to work anymore.
Is this meant to happen? I mean, I have older projects that was created in those older Ren'py engines, and I was thinking of finishing them up in the old engines they were originally built in, before moving on to 7.1 for my newer works.

The error I saw when trying to open projects in 6.16.2:

Code: Select all

m sorry, but an uncaught exception occurred.

While loading the script.
error: Error -3 while decompressing data: incorrect header check

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

Full traceback:
  File "H:\Ren'py\renpy-6.16.2-sdk\renpy\bootstrap.py", line 265, in bootstrap
    renpy.main.main()
  File "H:\Ren'py\renpy-6.16.2-sdk\renpy\main.py", line 226, in main
    renpy.game.script.load_script() # sets renpy.game.script.
  File "H:\Ren'py\renpy-6.16.2-sdk\renpy\script.py", line 177, in load_script
    self.load_appropriate_file(".rpyc", ".rpy", dir, fn, initcode)
  File "H:\Ren'py\renpy-6.16.2-sdk\renpy\script.py", line 436, in load_appropriate_file
    if self.load_file(dir, fn + compiled, initcode):
  File "H:\Ren'py\renpy-6.16.2-sdk\renpy\script.py", line 310, in load_file
    data, stmts = self.load_file_core(dir, fn)
  File "H:\Ren'py\renpy-6.16.2-sdk\renpy\script.py", line 288, in load_file_core
    data, stmts = loads(f.read().decode('zlib'))
  File "/home/tom/ab/x64lucid-deps/install/lib/python2.7/encodings/zlib_codec.py", line 43, in zlib_decode
error: Error -3 while decompressing data: incorrect header check

Windows-post2008Server-6.2.9200
Ren'Py 6.16.2.490
 

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

Re: Ren'Py 7.1.0 Released

#3 Post by backansi » Tue Sep 11, 2018 10:22 am

Hi I have some problems with this 7.1 version.

First, I built an apk file with my project which I'd built once by Ren'py 7.0 and upload it through play developer console but they say it supports only 18 devices(I guess those are google standard devices) and I can't find the app on play store with my (parents') Galaxy serise device. I could not get what is the problem.

And second, I've used Scite editor but now I can't after the update. I guess scite.edit.py&scite.editor.py files for using custom editor with Renpy doesn't work anymore.

User avatar
KeyboardSan
Newbie
Posts: 20
Joined: Sun Oct 05, 2014 5:38 am
Completed: A Sweet Meeting, SRZ, Flower Field
Contact:

Re: Ren'Py 7.1.0 Released

#4 Post by KeyboardSan » Tue Sep 11, 2018 10:25 am

I get this error when building the android package.

Code: Select all

Ren'Py 7.1.0.882

Updating project.

Creating assets directory.

Packaging internal data.

I'm using Gradle to build the package.

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':app'.
> Could not generate a proxy class for class com.android.build.gradle.tasks.BuildArtifactReportTask.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 1s




The build seems to have failed.
Any idea what's causing this?
It is not about getting up there, it is about making a difference

User avatar
KeyboardSan
Newbie
Posts: 20
Joined: Sun Oct 05, 2014 5:38 am
Completed: A Sweet Meeting, SRZ, Flower Field
Contact:

Re: Ren'Py 7.1.0 Released

#5 Post by KeyboardSan » Tue Sep 11, 2018 11:45 am

backansi wrote:
Tue Sep 11, 2018 10:22 am
Hi I have some problems with this 7.1 version.

First, I built an apk file with my project which I'd built once by Ren'py 7.0 and upload it through play developer console but they say it supports only 18 devices(I guess those are google standard devices) and I can't find the app on play store with my (parents') Galaxy serise device. I could not get what is the problem.

And second, I've used Scite editor but now I can't after the update. I guess scite.edit.py&scite.editor.py files for using custom editor with Renpy doesn't work anymore.
Can you tell me how you managed to build the apk in the first place? My gradle throws error which I have posted previously.
What version of JDK are you using?
It is not about getting up there, it is about making a difference

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

#6 Post by PyTom » Tue Sep 11, 2018 12:13 pm

AERenior > 6.16 is not supported. In general, Ren'Py doesn't support loading .rpyc files from new versions into an old version, which is the problem here.

backansi > Scite isn't supported anymore.

Chances are, you uploaded the x86_64 apk, rather than the arm one. You should either upload the arm version, or upload both of them.

KeyboardSan> Could not generate a proxy class for class com.android.build.gradle.tasks.BuildArtifactReportTask seems to be caused by having an old version of Java 8. Updating to the latest version of Java 8 should clear that problem up for you.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom

User avatar
KeyboardSan
Newbie
Posts: 20
Joined: Sun Oct 05, 2014 5:38 am
Completed: A Sweet Meeting, SRZ, Flower Field
Contact:

Re: Ren'Py 7.1.0 Released

#7 Post by KeyboardSan » Tue Sep 11, 2018 2:00 pm

PyTom wrote:
Tue Sep 11, 2018 12:13 pm
KeyboardSan> Could not generate a proxy class for class com.android.build.gradle.tasks.BuildArtifactReportTask seems to be caused by having an old version of Java 8. Updating to the latest version of Java 8 should clear that problem up for you.
Thanks Pytom. That solved the problem.
I followed these steps:
1. Updated my Java Version to Java 8u181
2. Deleted .gradle folder in my Users/username/
3. Unset my JAVA_HOME variable
4. Started renpy and first selected 'Install SDK and Create keys'
5. Then 'configure'
6. And then 'Build Package'

And then the problem was solved.
It is not about getting up there, it is about making a difference

User avatar
AERenoir
Veteran
Posts: 288
Joined: Fri May 27, 2011 8:23 pm
Contact:

Re: Ren'Py 7.1.0 Released

#8 Post by AERenoir » Wed Sep 12, 2018 1:35 am

The projects are old and was originally built in 6.16.2 though. I did open one or two of them in 7.1, but there's a few projects that I didn't even touch and it's showing me those errors as well.

Is there a global Ren'py folder that affects all builds of Ren'py in the computer or something? Or is it the individual rpycs in the prpjects?

User avatar
Imperf3kt
Eileen-Class Veteran
Posts: 1833
Joined: Mon Dec 14, 2015 5:05 am
Location: Your monitor
Contact:

Re: Ren'Py 7.1.0 Released

#9 Post by Imperf3kt » Wed Sep 12, 2018 1:54 am

Being so old, have you checked with the incompatible changes list?
https://www.renpy.org/doc/html/incompatible.html
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.

User avatar
AERenoir
Veteran
Posts: 288
Joined: Fri May 27, 2011 8:23 pm
Contact:

Re: Ren'Py 7.1.0 Released

#10 Post by AERenoir » Wed Sep 12, 2018 2:30 am

@Imperf3kt: The "error while decompressing data" is something caused by rpyc issues. Checked the changelog already, but not sure it would help me because I didn't recall seeing anything about rpycs. I have done absolutely nothing with the codes either.

ETA: Oh, if this was about the functions that don't seem to work right anymore in 7.1, I checked changelog on that too and I don't see it being changed. maybe I'm using them incorrectly, IDK.

User avatar
Imperf3kt
Eileen-Class Veteran
Posts: 1833
Joined: Mon Dec 14, 2015 5:05 am
Location: Your monitor
Contact:

Re: Ren'Py 7.1.0 Released

#11 Post by Imperf3kt » Wed Sep 12, 2018 4:49 pm

I'm unable to build Android packages again after updating to the latest release version.
My Java is up to date and I've tried reinstalling the SDK, but it still fails after a couple of minutes.

None of the "usual" fixes are working for me. Anybody got any ideas except reverting to the prerelease?
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.

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

#12 Post by PyTom » Wed Sep 12, 2018 6:17 pm

AERenoir>>> If you can get me one of your games, I can try to run it and see what Ren'Py says. Ren'Py should be able to load an unmodified older game, unless it has been corrupted somehow.

Imperf3kt>>> I'd need to see an android.txt to have any idea what's happening to you. You didn't even say what step in the process it was failing at. You might want to try deleting rapt/project and seeing if that helps.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom

User avatar
AERenoir
Veteran
Posts: 288
Joined: Fri May 27, 2011 8:23 pm
Contact:

Re: Ren'Py 7.1.0 Released

#13 Post by AERenoir » Thu Sep 13, 2018 3:15 am

@Pytom: It does run on 7.1. The problem is I'm trying to use the old Renpy to run the game again, and this happens:

viewtopic.php?f=8&t=51783

I made a custom caret for my input screen and it's not animating properly in the newer engine builds, so I was thinking of either going back to the old engines for the time being, or at least running the game int he old engine so I can grab a screen recording to show the forums what I needed. Not sure if I'm doing things wrong or if aomething ceased to function in Renpy 6.99 and beyond.

viewtopic.php?f=8&t=51782

User avatar
Imperf3kt
Eileen-Class Veteran
Posts: 1833
Joined: Mon Dec 14, 2015 5:05 am
Location: Your monitor
Contact:

Re: Ren'Py 7.1.0 Released

#14 Post by Imperf3kt » Thu Sep 13, 2018 5:13 am

PyTom wrote:
Wed Sep 12, 2018 6:17 pm
Imperf3kt>>> I'd need to see an android.txt to have any idea what's happening to you. You didn't even say what step in the process it was failing at. You might want to try deleting rapt/project and seeing if that helps.
Yes, sorry about that. If my hard drive is parked, an android.txt is not opened because editra takes too long to execute. Maybe I should consider Atom...
I was in a rush to leave for wok, and had forgotten it writes a file as well.

Anyway, this is the log:
Ren'Py 7.1.0.882

Updating project.

Creating assets directory.

Packaging internal data.

I'm using Gradle to build the package.
Starting a Gradle Daemon, 1 incompatible and 1 stopped Daemons could not be reused, use --status for details
:app:preBuild UP-TO-DATE
:renpyandroid:preBuild UP-TO-DATE
:renpyandroid:preReleaseBuild UP-TO-DATE
:renpyandroid:checkReleaseManifest UP-TO-DATE
:renpyandroid:processReleaseManifest UP-TO-DATE
:app:preReleaseBuild UP-TO-DATE
:renpyandroid:compileReleaseAidl UP-TO-DATE
:app:compileReleaseAidl UP-TO-DATE
:renpyandroid:packageReleaseRenderscript NO-SOURCE
:app:compileReleaseRenderscript UP-TO-DATE
:app:checkReleaseManifest UP-TO-DATE
:app:generateReleaseBuildConfig UP-TO-DATE
:app:prepareLintJar UP-TO-DATE
:app:mainApkListPersistenceRelease UP-TO-DATE
:app:generateReleaseResValues UP-TO-DATE
:app:generateReleaseResources UP-TO-DATE
:renpyandroid:compileReleaseRenderscript UP-TO-DATE
:renpyandroid:generateReleaseResValues UP-TO-DATE
:renpyandroid:generateReleaseResources UP-TO-DATE
:renpyandroid:packageReleaseResources UP-TO-DATE
:app:mergeReleaseResources
:app:createReleaseCompatibleScreenManifests UP-TO-DATE
:app:processReleaseManifest UP-TO-DATE
:app:splitsDiscoveryTaskRelease UP-TO-DATE
:renpyandroid:platformAttrExtractor UP-TO-DATE
:renpyandroid:generateReleaseRFile UP-TO-DATE
:app:processReleaseResources
:app:generateReleaseSources
:renpyandroid:generateReleaseBuildConfig UP-TO-DATE
:renpyandroid:prepareLintJar UP-TO-DATE
:renpyandroid:generateReleaseSources UP-TO-DATE
:renpyandroid:javaPreCompileRelease UP-TO-DATE
:renpyandroid:compileReleaseJavaWithJavac UP-TO-DATE
:renpyandroid:processReleaseJavaRes NO-SOURCE
:renpyandroid:transformClassesAndResourcesWithPrepareIntermediateJarsForRelease UP-TO-DATE
:app:javaPreCompileRelease UP-TO-DATE
:app:compileReleaseJavaWithJavac UP-TO-DATE
:app:compileReleaseNdk NO-SOURCE
:app:compileReleaseSources UP-TO-DATE
:app:lintVitalRelease
:app:mergeReleaseShaders UP-TO-DATE
:app:compileReleaseShaders UP-TO-DATE
:app:generateReleaseAssets UP-TO-DATE
:renpyandroid:mergeReleaseShaders UP-TO-DATE
:renpyandroid:compileReleaseShaders UP-TO-DATE
:renpyandroid:generateReleaseAssets UP-TO-DATE
:renpyandroid:packageReleaseAssets UP-TO-DATE
:app:mergeReleaseAssets
:app:transformClassesWithDexBuilderForRelease UP-TO-DATE
:app:transformDexArchiveWithExternalLibsDexMergerForRelease UP-TO-DATE
:app:transformDexArchiveWithDexMergerForRelease UP-TO-DATE
:app:mergeReleaseJniLibFolders UP-TO-DATE
:renpyandroid:compileReleaseNdk NO-SOURCE
:renpyandroid:mergeReleaseJniLibFolders UP-TO-DATE
:renpyandroid:transformNativeLibsWithMergeJniLibsForRelease UP-TO-DATE
:renpyandroid:transformNativeLibsWithIntermediateJniLibsForRelease UP-TO-DATE
:app:transformNativeLibsWithMergeJniLibsForRelease UP-TO-DATE
:app:processReleaseJavaRes NO-SOURCE
:app:transformResourcesWithMergeJavaResForRelease UP-TO-DATE
:app:validateSigningRelease FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:validateSigningRelease'.
> Keystore file 'C:\Program Files (x86)\renpy\rapt\android.keystore' not found for signing config 'release'.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 2m 12s
45 actionable tasks: 5 executed, 40 up-to-date

The build seems to have failed.
Looks like an error due to me not creating a signed key.
After I created a signed key, the build worked fine.

As far as I can tell, a signed key is now mandatory, even when not releasing on Google Play store or any other store. Perhaps remove the option and just force users to make a key?
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.

User avatar
Offworlder
Regular
Posts: 35
Joined: Mon Aug 20, 2018 6:33 pm
Contact:

Re: Ren'Py 7.1.0 Released

#15 Post by Offworlder » Thu Sep 13, 2018 3:57 pm

I encountered a strange error. While using some custom screen transitions, I changed the name of one of the files from "12" to "smoke" (thinking that it wasn't working due to being a number; all other transitions up to that point had worked).

When I still had issues getting it to work, I realized after checking the ".rpy" file that the transition was defined as "w12" rather than just "12". No problem, right? I changed the name of the file back to "12", I changed the code in my script to "with w12", and I changed the necessary portion in the associated ".rpy" back to "12.jpg".

But...no. Ren'py still seems to be checking for a non-existent "smoke" file. Just in case my dozens of checks still managed to overlook something, I did a search within Atom of the entire document and there was absolutely nothing named "smoke". I tried using another transition ("w10") and it worked perfectly. Changed back to "w12" and still got the error.

Here's what I'm seeing:

Code: Select all

I'm sorry, but an uncaught exception occurred.

While loading <'MatrixColor' <'Image' u'wipes/smoke.jpg'> (0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1)>:
  File "game/script.rpy", line 28, in script
    with w12
IOError: Couldn't find file 'wipes/smoke.jpg'.

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

Full traceback:
  File "game/script.rpy", line 28, in script
    with w12
  File "C:\Users\sans\Desktop\Projects\renpy-7.1.0-sdk\renpy\ast.py", line 1357, in execute
    renpy.exports.with_statement(trans, paired)
  File "C:\Users\sans\Desktop\Projects\renpy-7.1.0-sdk\renpy\exports.py", line 1455, in with_statement
    return renpy.game.interface.do_with(trans, paired, clear=clear)
  File "C:\Users\sans\Desktop\Projects\renpy-7.1.0-sdk\renpy\display\core.py", line 2217, in do_with
    clear=clear)
  File "C:\Users\sans\Desktop\Projects\renpy-7.1.0-sdk\renpy\display\core.py", line 2662, in interact
    repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, **kwargs)
  File "C:\Users\sans\Desktop\Projects\renpy-7.1.0-sdk\renpy\display\core.py", line 3148, in interact_core
    self.draw_screen(root_widget, fullscreen_video, (not fullscreen_video) or video_frame_drawn)
  File "C:\Users\sans\Desktop\Projects\renpy-7.1.0-sdk\renpy\display\core.py", line 2065, in draw_screen
    renpy.config.screen_height,
  File "render.pyx", line 487, in renpy.display.render.render_screen
  File "render.pyx", line 235, in renpy.display.render.render
  File "C:\Users\sans\Desktop\Projects\renpy-7.1.0-sdk\renpy\display\layout.py", line 719, in render
    surf = render(child, width, height, cst, cat)
  File "render.pyx", line 147, in renpy.display.render.render
  File "render.pyx", line 235, in renpy.display.render.render
  File "C:\Users\sans\Desktop\Projects\renpy-7.1.0-sdk\renpy\display\transition.py", line 493, in render
    image = render(self.image, width, height, st, at)
  File "render.pyx", line 147, in renpy.display.render.render
  File "render.pyx", line 235, in renpy.display.render.render
  File "C:\Users\sans\Desktop\Projects\renpy-7.1.0-sdk\renpy\display\im.py", line 580, in render
    return cache.get(self, render=True)
  File "C:\Users\sans\Desktop\Projects\renpy-7.1.0-sdk\renpy\display\im.py", line 266, in get
    surf = image.load()
  File "C:\Users\sans\Desktop\Projects\renpy-7.1.0-sdk\renpy\display\im.py", line 1213, in load
    surf = cache.get(self.image)
  File "C:\Users\sans\Desktop\Projects\renpy-7.1.0-sdk\renpy\display\im.py", line 266, in get
    surf = image.load()
  File "C:\Users\sans\Desktop\Projects\renpy-7.1.0-sdk\renpy\display\im.py", line 625, in load
    surf = renpy.display.pgrender.load_image(renpy.loader.load(self.filename), self.filename)
  File "C:\Users\sans\Desktop\Projects\renpy-7.1.0-sdk\renpy\loader.py", line 576, in load
    raise IOError("Couldn't find file '%s'." % name)
IOError: Couldn't find file 'wipes/smoke.jpg'.

Windows-7-6.1.7601-SP1
Ren'Py 7.1.0.882
Palette Swap 1.0
Thu Sep 13 13:56:05 2018
EDIT: While standard saving didn't make a difference, a prompt appeared when I attempted to completely close out of Atom. It asked if I wanted to save changes made to "wipes.rpy". I selected "yes", of course, and the transition worked properly once I re-opened Atom and entered "with w12" again.

EDIT 2: I encountered the same issue again, though this time without an error message. I changed which image file two of the transitions should pull from in the associated ".rpy", then changed the script from "with w12" to "with roundin" (roundin being one of the transitions whose image file I changed). I saved as normal, then opened the project. However, it still displayed the "w12" transition. When I went to close out of Atom, I once again got a message about saving the change before closing. And like last time, the proper transition displayed once I did that. I took a screenshot of the message this time, though:
Attachments
SaveMessage.png

Post Reply

Who is online

Users browsing this forum: Dinocanid, edgebug