Ren'Py 7.1.1 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: 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 7.1.1 Released

#1 Post by PyTom »

I'm happy to announce Ren'Py 7.1.1. This is a bug release for Ren'Py 7.1, which improves the new android support and fixes a number of other issues.

Some of the more important bugfixes include:
  • A change to the History screen to fix problems with [[ in dialogue. (This requires you to change screens.rpy, see the changelog for details.)
  • The Android SDK uses a sufficient amount of memory on low-memory computers.
  • A problem with creating non-adaptive Android icons has been fixed.
  • Zero-width characters are drawn correctly, and non-breaking spaces are respected in more places. (This fixes a problem with Arabic text rendering.)
  • Automatic window management now considers dialogue and captions associated with the menu statement.
There have also been a few small feature additions:
  • The SetVariable and ToggleVariable functions now can take namespaces, and fields, so it's posible to have actions like SetVariable("hero.strenght", 42) and ToggleVariable("persistent.alternate_outfits").
  • It is now possible to nestle the CTC indicator into the text in such a way that it can not be on a separate line from the final word of dialogue.
  • Drags (used in drag-and-drop) now support alternate clicks, which are right clicks on PC and long-presses on touch platforms.
  • The Russian and Korean translations have been updated.
  • The 86_64 Android APK is given a different numeric version than the arm version, allowing both to be uploaded to the Play store.
Downloads of 7.1.1 can be found at:

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

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.


Thanks to everyone that tested and reported problems in the 7.1 series in general. As always, your work helps Ren'Py be the best it can be.
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
Jackkel Dragon
Veteran
Posts: 283
Joined: Mon Mar 31, 2014 7:17 pm
Organization: Nightshade, Team Despair
itch: jackkel-dragon
Location: USA
Contact:

Re: Ren'Py 7.1.1 Released

#2 Post by Jackkel Dragon »

Ever since updating to this build, I've been having trouble exporting the Android versions of my game. I deleted and re-installed RAPT, but I still keep getting this:

Code: Select all

Ren'Py 7.1.1.929

Updating project.

Creating assets directory.

Packaging internal data.

I'm using Gradle to build the package.
Starting a Gradle Daemon (subsequent builds will be faster)

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/gradle_daemon.html
Please read the following process output to find out more:
-----------------------
Error occurred during initialization of VM
Could not reserve enough space for 1572864KB object heap

* 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.
Are there new configuration options I need to add to my project somewhere?
Main Website
Includes information about and links to many of my current and past projects.

Major Game Projects
[Nightshade] Eldritch Academy, Eldritch University, Blooming Nightshade, Flowering Nightshade, Life as Designed
[Team Despair] Corpse Party D2 series

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 7.1.1 Released

#3 Post by PyTom »

Consider switchign to a 64-bit version of Java if you see that message.
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 7.1.1 Released

#4 Post by jack_norton »

I'm not sure if it's a mistake on my part but I'm getting an error doing this in a screen:

Code: Select all

    default Einfo = False
    key "c" action ToggleScreenVariable("Einfo")
    
when I press C key, I get an error "Keyerror: u'Einfo'"
I think it should work as I coded it ?
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 7.1.1 Released

#5 Post by PyTom »

Can you post the rest of the screen? Most notably, are you doing this inside a screen proper, or inside a screen that's used by another screen?
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 7.1.1 Released

#6 Post by jack_norton »

yes it's a screen called inside another screen... called inside yet another screen :mrgreen: posting everything would be like over 200 lines of code or more lol
follow me on Image Image Image
computer games

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

Re: Ren'Py 7.1.1 Released

#7 Post by Imperf3kt »

Use the attach function, if you require. You can post the file itself that way..
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.

Current project: GGD Mentor

Twitter

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

Re: Ren'Py 7.1.1 Released

#8 Post by FroGlenn »

First, I would like to thank you all again for creating this wonderful platform. My dream is to someday work as a fulltime developer, and Renpy was a great step for me. My game is getting a bit more downloads recently (got good spot in terms like 'super seducer' and whatnot lol) and I'm getting something like 1k downloads per day (my game is in portuguese, so I cant compete in the global market yet).

Well, with more players, I started to see some bugs. They are happening only in some scpecific phone devices, specially running Android 6.0. Its not all the devices, but some of them, like Galaxy Grand Prime Plus (grandppltedtv) - not the 5.0 version.

The errors seems to be related to the pymodules (libpymodules.so). I dont know if this is a problem with Renpy itself, because I temper a lot with it, adding lots of external resources (firestore, storage, facebook api and other libraries) to my game using Android Studio.

However, these problems started when I compiled the game with targetsdkversion 28. After the release of Renpy 7.1.0, I changed the target version back to 22 (because I knew android 23 changed a lot of things) and everything was fine. Two weeks ago I finally changed it to SDK 28 (the original sdk generated from renpy) and the problems started.

I know this is not a Renpy problem as I'm using external resources, but I would really love to get help, maybe some indication from you guys how I coud handle these errors.

I'm reading a lot since and found good chunk of info about python-for-android and other resources renpy uses. I upgraded/downgreaded Gradle, tried some other shenanigans but nothing seems to work.

Is there something I can do? Thank you.

User avatar
Jackkel Dragon
Veteran
Posts: 283
Joined: Mon Mar 31, 2014 7:17 pm
Organization: Nightshade, Team Despair
itch: jackkel-dragon
Location: USA
Contact:

Re: Ren'Py 7.1.1 Released

#9 Post by Jackkel Dragon »

@PyTom: How do I switch to a 64-bit version of Java? I've been checking my Java versions and such, and I thought I was already using a 64-bit version... Is there a specific way to do it for non-browser applications?
Main Website
Includes information about and links to many of my current and past projects.

Major Game Projects
[Nightshade] Eldritch Academy, Eldritch University, Blooming Nightshade, Flowering Nightshade, Life as Designed
[Team Despair] Corpse Party D2 series

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

Re: Ren'Py 7.1.1 Released

#10 Post by Imperf3kt »

Pytom doesn't mean the Java runtime environment, he's talking about the Java SDK which you download from Oracle website.
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.

Current project: GGD Mentor

Twitter

User avatar
Jackkel Dragon
Veteran
Posts: 283
Joined: Mon Mar 31, 2014 7:17 pm
Organization: Nightshade, Team Despair
itch: jackkel-dragon
Location: USA
Contact:

Re: Ren'Py 7.1.1 Released

#11 Post by Jackkel Dragon »

Okay, I installed a 64-bit version of the JDK and got past my previous issue. I ran into a different issue before I went back to create a key to sign the APK files with, though. I had assumed the step was optional, but it causes an error if you skip creating a key and then try to build a package:

Code: Select all

Ren'Py 7.1.1.929

Updating project.

Creating assets directory.

Packaging internal data.

I'm using Gradle to build the package.
: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
:app:processReleaseResources
:app:generateReleaseSources
:renpyandroid:generateReleaseBuildConfig UP-TO-DATE
:renpyandroid:prepareLintJar UP-TO-DATE
:renpyandroid:generateReleaseSources
:renpyandroid:javaPreCompileRelease UP-TO-DATE
:renpyandroid:compileReleaseJavaWithJavacNote: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

:renpyandroid:processReleaseJavaRes NO-SOURCE
:renpyandroid:transformClassesAndResourcesWithPrepareIntermediateJarsForRelease
:app:javaPreCompileRelease
:app:compileReleaseJavaWithJavac
:app:compileReleaseNdk NO-SOURCE
:app:compileReleaseSources
: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
:app:transformDexArchiveWithExternalLibsDexMergerForRelease
:app:transformDexArchiveWithDexMergerForRelease
: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
:app:processReleaseJavaRes NO-SOURCE
:app:transformResourcesWithMergeJavaResForRelease
:app:validateSigningRelease FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:validateSigningRelease'.
> Keystore file 'C:\[redacted]\Renpy SDK\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 19s
45 actionable tasks: 15 executed, 30 up-to-date

The build seems to have failed.
Main Website
Includes information about and links to many of my current and past projects.

Major Game Projects
[Nightshade] Eldritch Academy, Eldritch University, Blooming Nightshade, Flowering Nightshade, Life as Designed
[Team Despair] Corpse Party D2 series

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 7.1.1 Released

#12 Post by PyTom »

It's optional, but you can't do a release build without one. You can provide it from somewhere else if you want.
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
apexchimps
Regular
Posts: 29
Joined: Mon Jan 25, 2016 6:12 pm
Completed: Detective Max, Nick's Night Out!, Arthur & Susan: Almost Detectives
Projects: Arthur & Susan: Almost Detectives
Contact:

Re: Ren'Py 7.1.1 Released

#13 Post by apexchimps »

Hi,

I just upgraded from 7.1.0 and another error appears when I try to Install SDK & Create Keys for Android.

Apparently, there is some file that the system cannot find, even if I run Renpy as an Administrator.

Code: Select all

I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/android.rpy", line 462, in <module>
  File "game/mobilebuild.rpy", line 197, in call
WindowsError: [Error 2] El sistema no puede encontrar el archivo especificado

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

Full traceback:
  File "launcher/game/android.rpyc", line 460, in script
  File "C:\Users\XXX\Downloads\RENPY\renpy-7.1.1-sdk\renpy\ast.py", line 882, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "C:\Users\XXX\Downloads\RENPY\renpy-7.1.1-sdk\renpy\python.py", line 1913, in py_exec_bytecode
    exec bytecode in globals, locals
  File "game/android.rpy", line 462, in <module>
  File "C:\Users\XXX\Downloads\RENPY\renpy-7.1.1-sdk\rapt\buildlib\rapt\install_sdk.py", line 234, in install_sdk
    check_java(interface)
  File "C:\Users\XXX\Downloads\RENPY\renpy-7.1.1-sdk\rapt\buildlib\rapt\install_sdk.py", line 47, in check_java
    if not run_slow(interface, plat.javac, plat.path("buildlib/CheckJDK8.java"), use_path=True):
  File "C:\Users\XXX\Downloads\RENPY\renpy-7.1.1-sdk\rapt\buildlib\rapt\install_sdk.py", line 35, in run_slow
    interface.call(args, cancel=True, **kwargs)
  File "game/mobilebuild.rpy", line 197, in call
  File "/home/tom/ab/x64lucid-deps/install/lib/python2.7/subprocess.py", line 710, in __init__
  File "/home/tom/ab/x64lucid-deps/install/lib/python2.7/subprocess.py", line 958, in _execute_child
WindowsError: [Error 2] El sistema no puede encontrar el archivo especificado

Windows-8-6.2.9200
Ren'Py 7.2.0.6
Ren'Py Launcher 7.2.0.6
Sat Oct 20 02:03:44 2018
I installed java x64 sdk and Android sdk, as well as RAPT, but I must be missing something.

Thank you in advance.

Best regards!

User avatar
apexchimps
Regular
Posts: 29
Joined: Mon Jan 25, 2016 6:12 pm
Completed: Detective Max, Nick's Night Out!, Arthur & Susan: Almost Detectives
Projects: Arthur & Susan: Almost Detectives
Contact:

Re: Ren'Py 7.1.1 Released

#14 Post by apexchimps »

Hi,

Finally solved it. Not sure how, but among the things I have done are:
- Set writing rights for the Program Files folder.
- Uninstall and re-install the Android SDK.

Hope it helps for any other who eventually reach the same problem.

Best regards.
apexchimps wrote: Fri Oct 19, 2018 8:09 pm Hi,

I just upgraded from 7.1.0 and another error appears when I try to Install SDK & Create Keys for Android.

Apparently, there is some file that the system cannot find, even if I run Renpy as an Administrator.

Code: Select all

I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/android.rpy", line 462, in <module>
  File "game/mobilebuild.rpy", line 197, in call
WindowsError: [Error 2] El sistema no puede encontrar el archivo especificado

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

Full traceback:
  File "launcher/game/android.rpyc", line 460, in script
  File "C:\Users\XXX\Downloads\RENPY\renpy-7.1.1-sdk\renpy\ast.py", line 882, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "C:\Users\XXX\Downloads\RENPY\renpy-7.1.1-sdk\renpy\python.py", line 1913, in py_exec_bytecode
    exec bytecode in globals, locals
  File "game/android.rpy", line 462, in <module>
  File "C:\Users\XXX\Downloads\RENPY\renpy-7.1.1-sdk\rapt\buildlib\rapt\install_sdk.py", line 234, in install_sdk
    check_java(interface)
  File "C:\Users\XXX\Downloads\RENPY\renpy-7.1.1-sdk\rapt\buildlib\rapt\install_sdk.py", line 47, in check_java
    if not run_slow(interface, plat.javac, plat.path("buildlib/CheckJDK8.java"), use_path=True):
  File "C:\Users\XXX\Downloads\RENPY\renpy-7.1.1-sdk\rapt\buildlib\rapt\install_sdk.py", line 35, in run_slow
    interface.call(args, cancel=True, **kwargs)
  File "game/mobilebuild.rpy", line 197, in call
  File "/home/tom/ab/x64lucid-deps/install/lib/python2.7/subprocess.py", line 710, in __init__
  File "/home/tom/ab/x64lucid-deps/install/lib/python2.7/subprocess.py", line 958, in _execute_child
WindowsError: [Error 2] El sistema no puede encontrar el archivo especificado

Windows-8-6.2.9200
Ren'Py 7.2.0.6
Ren'Py Launcher 7.2.0.6
Sat Oct 20 02:03:44 2018
I installed java x64 sdk and Android sdk, as well as RAPT, but I must be missing something.

Thank you in advance.

Best regards!

Fatimah
Regular
Posts: 94
Joined: Tue Mar 01, 2016 2:53 pm
Contact:

Re: Ren'Py 7.1.1 Released

#15 Post by Fatimah »

Hello,

Is Arabic still broken in the latest version?
Because the text in my game is unreadable!

Post Reply

Who is online

Users browsing this forum: Kocker