Ren'Py 7.1.0 Prereleased

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: 15260
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 Prereleased

#61 Post by PyTom » Sun Sep 02, 2018 6:49 pm

Zetsubo, can you check to make sure rapt/project/gradlew is executable? It should be, and it is on fresh installs of Rapt.

JackDoe, I don't know what the "Starting..." problem is. That's not a message Ren'Py prints.
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
Zetsubou
Veteran
Posts: 475
Joined: Wed Mar 05, 2014 1:00 am
Completed: See my signature
Github: koroshiya
itch: zetsuboushita
Contact:

Re: Ren'Py 7.1.0 Prereleased

#62 Post by Zetsubou » Mon Sep 03, 2018 3:23 am

Thanks Pytom, making gradlew executable did the trick.
I tried both downloading rapt manually and letting the Renpy launcher download it. In both cases, gradlew wasn't set as executable.
I guess it could be a security restriction of the OS? I haven't set up anything special which should have stopped it from executing.
Finished games
-My games: Sickness, Wander No More, Max Massacre, Humanity Must Perish, Tomboys Need Love Too, Sable's Grimoire
-Commissions: No One But You, Written In The Sky, Diamond Rose, To Libertad, Catch Canvas, Love Ribbon, Happy Campers, Wolf Tails

Working on:
Circadian Loop, My Heart Grows Fonder + VN writing commissions

Image

FroGlenn
Regular
Posts: 44
Joined: Sun Feb 25, 2018 2:07 pm
Contact:

Re: Ren'Py 7.1.0 Prereleased

#63 Post by FroGlenn » Tue Sep 04, 2018 11:50 pm

jack_norton wrote:
Mon Aug 27, 2018 7:24 am
That's interesting :)
FroGlenn did you manage to make the IAP work? I am getting an error message on startup in my game. But I am not using Android studio to publish, just Ren'Py like before.
I'm trying the Google Play IAP and having an error message on the startup like you said. Is this the same message? What did you do to solve it?

The error:

Code: Select all

I'm sorry, but an uncaught exception occurred.

While running game code:
  File "renpy/common/00iap.rpy", line 598, in <module>
  File "renpy/common/00iap.rpy", line 587, in init
  File "renpy/common/00iap.rpy", line 560, in init_android
  Attribute Error: 'NoneType' object has no attribute 'getStoreName'

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

#64 Post by PyTom » Wed Sep 05, 2018 10:47 am

I've updated the prerelease to 7.1.0.874.

There are a bunch of improvement in there. The gradlew executable thing has been fixed. We're also now copying the prototype over to the project on start, and then again depending on the appropriate configure option. If you're still having random android problems (like the getStoreName one above), please consider removing the project directory so Ren'Py can update the prototype. (This is done automatically if you have the last option in the configuration set properly.)

Apart from the Android details, this has a number of of bug fixes. There's a fix to retain-after-load not working after a load, and several that fix edge cases involving Layered Images.
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

FroGlenn
Regular
Posts: 44
Joined: Sun Feb 25, 2018 2:07 pm
Contact:

Re: Ren'Py 7.1.0 Prereleased

#65 Post by FroGlenn » Wed Sep 05, 2018 11:59 am

PyTom wrote:
Wed Sep 05, 2018 10:47 am
I've updated the prerelease to 7.1.0.874.

There are a bunch of improvement in there. The gradlew executable thing has been fixed. We're also now copying the prototype over to the project on start, and then again depending on the appropriate configure option. If you're still having random android problems (like the getStoreName one above), please consider removing the project directory so Ren'Py can update the prototype. (This is done automatically if you have the last option in the configuration set properly.)

Apart from the Android details, this has a number of of bug fixes. There's a fix to retain-after-load not working after a load, and several that fix edge cases involving Layered Images.
TVM Tom.

I'm going to try the new prerelease right now.

FroGlenn
Regular
Posts: 44
Joined: Sun Feb 25, 2018 2:07 pm
Contact:

Re: Ren'Py 7.1.0 Prereleased

#66 Post by FroGlenn » Wed Sep 05, 2018 4:40 pm

PyTom wrote:
Wed Sep 05, 2018 10:47 am
I've updated the prerelease to 7.1.0.874.

There are a bunch of improvement in there. The gradlew executable thing has been fixed. We're also now copying the prototype over to the project on start, and then again depending on the appropriate configure option. If you're still having random android problems (like the getStoreName one above), please consider removing the project directory so Ren'Py can update the prototype. (This is done automatically if you have the last option in the configuration set properly.)

Apart from the Android details, this has a number of of bug fixes. There's a fix to retain-after-load not working after a load, and several that fix edge cases involving Layered Images.
The new prerelease is great. All the problems I had before are solved. The 'Starting' problem, the IAP one, the Constants.java is updating each new build.

Thank you again for your hard work.

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

Re: Ren'Py 7.1.0 Prereleased

#67 Post by Imperf3kt » Thu Sep 06, 2018 11:00 am

Just tried the latest pre-release and was met with the following:
Updating project.

Creating assets directory.

Packaging internal data.

I'm using Gradle to build the package.
Starting a Gradle Daemon, 1 incompatible Daemon could not be reused, use --status for details

FAILURE: Build failed with an exception.

* What went wrong:
Unable to start the daemon process.
This problem might be caused by incorrect configuration of the daemon.
For example, an unrecognized jvm option is used.
Please refer to the user guide chapter on the daemon at https://docs.gradle.org/4.4/userguide/g ... aemon.html
Please read the following process output to find out more:
-----------------------
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
Invalid maximum heap size: -Xmx4096m
The specified size exceeds the maximum representable size.


* 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




The build seems to have failed.
Its 1am and I have work in 5 1/2 hours, so I'll look into it more later.
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.

User avatar
JackDoe
Newbie
Posts: 12
Joined: Sun Aug 12, 2018 10:28 am
Contact:

Re: Ren'Py 7.1.0 Prereleased

#68 Post by JackDoe » Thu Sep 06, 2018 11:05 am

Imperf3kt wrote:
Thu Sep 06, 2018 11:00 am
Invalid maximum heap size: -Xmx4096m
Just open gradle.properties in Android Studio and change the value to -Xmx512m

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

Re: Ren'Py 7.1.0 Prereleased

#69 Post by Imperf3kt » Thu Sep 06, 2018 3:33 pm

JackDoe wrote:
Thu Sep 06, 2018 11:05 am
Imperf3kt wrote:
Thu Sep 06, 2018 11:00 am
Invalid maximum heap size: -Xmx4096m
Just open gradle.properties in Android Studio and change the value to -Xmx512m
But I'm not using Android studio, I get that when trying to build a distribution through Ren'Py
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.

FroGlenn
Regular
Posts: 44
Joined: Sun Feb 25, 2018 2:07 pm
Contact:

Re: Ren'Py 7.1.0 Prereleased

#70 Post by FroGlenn » Thu Sep 06, 2018 4:50 pm

Imperf3kt wrote:
Thu Sep 06, 2018 3:33 pm
JackDoe wrote:
Thu Sep 06, 2018 11:05 am
Imperf3kt wrote:
Thu Sep 06, 2018 11:00 am
Just open gradle.properties in Android Studio and change the value to -Xmx512m
But I'm not using Android studio, I get that when trying to build a distribution through Ren'Py
This happened to me in the first 7.1.0 release and I solved it creating a gradle.properties file in the .gradle directory (C:\Users\You\.gradle) and declaring this:

Code: Select all

org.gradle.jvmargs=-Xmx512m

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

Re: Ren'Py 7.1.0 Prereleased

#71 Post by Imperf3kt » Fri Sep 07, 2018 1:41 am

FroGlenn wrote:
Thu Sep 06, 2018 4:50 pm
Imperf3kt wrote:
Thu Sep 06, 2018 3:33 pm
JackDoe wrote:
Thu Sep 06, 2018 11:05 am

Just open gradle.properties in Android Studio and change the value to -Xmx512m
But I'm not using Android studio, I get that when trying to build a distribution through Ren'Py
This happened to me in the first 7.1.0 release and I solved it creating a gradle.properties file in the .gradle directory (C:\Users\You\.gradle) and declaring this:

Code: Select all

org.gradle.jvmargs=-Xmx512m
I tried uninstalling rapt and reinstalling it, but it gave the same error.
So I gave this a try and that seems to have worked, tested it twice so far with projects that previously failed.
Thanks a lot for the tip.
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.

User avatar
Zeekee
Regular
Posts: 55
Joined: Wed Jul 23, 2014 10:17 pm
Projects: No One But You, The Anomaly
Organization: Annexe Interactive
Skype: ytmnd111
Soundcloud: zomgaarh
Location: USAF Academy, CO
Contact:

Re: Ren'Py 7.1.0 Prereleased

#72 Post by Zeekee » Fri Sep 07, 2018 2:01 am

Hey! I've spent a good 2 hours trying to find a fix action for the android build issue with no results. Here's the error:


Updating project.

Creating assets directory.

Packaging internal data.

I'm using Gradle to build the package.
Downloading https://services.gradle.org/distributio ... .4-all.zip

Exception in thread "main" javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1949)
at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:302)
at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:296)
at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1509)
at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:216)
at sun.security.ssl.Handshaker.processLoop(Handshaker.java:979)
at sun.security.ssl.Handshaker.process_record(Handshaker.java:914)
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1062)
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1375)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1403)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1387)
at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:559)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1513)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254)
at org.gradle.wrapper.Download.downloadInternal(Download.java:66)
at org.gradle.wrapper.Download.download(Download.java:51)
at org.gradle.wrapper.Install$1.call(Install.java:62)
at org.gradle.wrapper.Install$1.call(Install.java:48)
at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:69)
at org.gradle.wrapper.Install.createDist(Install.java:48)
at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:107)
at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61)
Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:387)
at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:292)
at sun.security.validator.Validator.validate(Validator.java:260)
at sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:324)
at sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:229)
at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:124)
at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1491)
... 20 more
Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:141)
at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:126)
at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:280)
at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:382)
... 26 more




The build seems to have failed.


Not sure what else I can do to fix the issue. I've tried most of the methods suggested above--such as deleting the project directory and updating it, making gradlew executable, and assigning full control to the user for gradlew--but I keep getting this error.

Any help would be much appreciated!
"When people sometimes misquote me, I don't know if they understand what I'm saying."
-Tommy Wiseau

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

Re: Ren'Py 7.1.0 Prereleased

#73 Post by Imperf3kt » Fri Sep 07, 2018 4:27 am

Are you running the Java 8 SDK? I ask because Java 9 isn't compatible and causes errors.
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.

User avatar
Zeekee
Regular
Posts: 55
Joined: Wed Jul 23, 2014 10:17 pm
Projects: No One But You, The Anomaly
Organization: Annexe Interactive
Skype: ytmnd111
Soundcloud: zomgaarh
Location: USAF Academy, CO
Contact:

Re: Ren'Py 7.1.0 Prereleased

#74 Post by Zeekee » Fri Sep 07, 2018 8:58 am

Imperf3kt wrote:
Fri Sep 07, 2018 4:27 am
Are you running the Java 8 SDK? I ask because Java 9 isn't compatible and causes errors.
Oh, that's a good question. I just downloaded the SDK through RenPy, so whatever automatically downloaded is whats there.

Just checked-- Is the SDK update installed to the default Android SDK location or is it installed local to where I installed RenPy? The only reason I ask is because I found a directory named "android-sdk-r24.4.1" in the RenPy install directory under /rapt and I wasn't sure if that needed to be changed.

Thanks a bunch!
"When people sometimes misquote me, I don't know if they understand what I'm saying."
-Tommy Wiseau

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

#75 Post by PyTom » Fri Sep 07, 2018 12:26 pm

Zeekee, it looks like you might be on some sort of old version of Ren'Py. I'd suggest starting over with 7.1, making sure you have Java 8 installed, and making sure JAVA_HOME is not set.

Everyone, I've just uploaded 7.1.0.877. This tries to fix the -Xmx... problem by getting rid of it entirely, letting Java revert back to it's default behavior of consuming up to 1/4 of available RAM.

This also adds a new activated callback to drags, which is triggered when a drag is clicked on.

With some of the more recent bugfixes, I'm starting to feel really good about this release, to the point where if people can confirm that the android build works well, I'll probably make the official release over this weekend.
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

Post Reply

Who is online

Users browsing this forum: No registered users