Page 1 of 2

Ren'Py 7.1.1 Released

Posted: Wed Oct 10, 2018 9:33 pm
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.

Re: Ren'Py 7.1.1 Released

Posted: Mon Oct 15, 2018 9:27 pm
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?

Re: Ren'Py 7.1.1 Released

Posted: Mon Oct 15, 2018 9:45 pm
by PyTom
Consider switchign to a 64-bit version of Java if you see that message.

Re: Ren'Py 7.1.1 Released

Posted: Tue Oct 16, 2018 4:37 am
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 ?

Re: Ren'Py 7.1.1 Released

Posted: Tue Oct 16, 2018 10:31 am
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?

Re: Ren'Py 7.1.1 Released

Posted: Tue Oct 16, 2018 12:40 pm
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

Re: Ren'Py 7.1.1 Released

Posted: Tue Oct 16, 2018 2:53 pm
by Imperf3kt
Use the attach function, if you require. You can post the file itself that way..

Re: Ren'Py 7.1.1 Released

Posted: Tue Oct 16, 2018 5:13 pm
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.

Re: Ren'Py 7.1.1 Released

Posted: Tue Oct 16, 2018 11:32 pm
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?

Re: Ren'Py 7.1.1 Released

Posted: Wed Oct 17, 2018 3:55 am
by Imperf3kt
Pytom doesn't mean the Java runtime environment, he's talking about the Java SDK which you download from Oracle website.

Re: Ren'Py 7.1.1 Released

Posted: Wed Oct 17, 2018 4:57 pm
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.

Re: Ren'Py 7.1.1 Released

Posted: Wed Oct 17, 2018 5:15 pm
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.

Re: Ren'Py 7.1.1 Released

Posted: Fri Oct 19, 2018 8:09 pm
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!

Re: Ren'Py 7.1.1 Released

Posted: Sun Oct 21, 2018 1:09 pm
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!

Re: Ren'Py 7.1.1 Released

Posted: Sun Oct 28, 2018 8:34 am
by Fatimah
Hello,

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