Ren'Py and RAPT 6.16 Released
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.
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.
- PyTom
- Ren'Py Creator
- Posts: 15893
- 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 and RAPT 6.16 Released
I've released 6.16.3.502, and the corresponding RAPT.
This release fixes a problem that could cause Ren'Py to use excessive amounts of texture memory.
It also adds several features that, together, make it possible to get Ren'Py games into the tablet section of Google Play:
* You can choose the target SDK. While Ren'Py will still run on Android 2.2 and up, increasing the target sdk version will let you choose how the action overflow (menu button) is handled. If you target Honeycomb or higher, you'll have to modify your game so the user can get access to the game menu.
* You can include icons at specific screen densities. For example, android-xhdpi-icon.png is used for high-density displays.
This release fixes a problem that could cause Ren'Py to use excessive amounts of texture memory.
It also adds several features that, together, make it possible to get Ren'Py games into the tablet section of Google Play:
* You can choose the target SDK. While Ren'Py will still run on Android 2.2 and up, increasing the target sdk version will let you choose how the action overflow (menu button) is handled. If you target Honeycomb or higher, you'll have to modify your game so the user can get access to the game menu.
* You can include icons at specific screen densities. For example, android-xhdpi-icon.png is used for high-density displays.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom
Re: Ren'Py and RAPT 6.16 Released
I've downloaded the 32-bit version of JDK and the Ren'Py launcher still does not detect it. Is anybody else having the same problem?
Edit: NM. I hadn't unpacked RAPT into the Ren'Py directory (although the reason was I was stuck on trying to get the launcher to detect the JDK). Once I unpacked RAPT, it was fine.
Edit: NM. I hadn't unpacked RAPT into the Ren'Py directory (although the reason was I was stuck on trying to get the launcher to detect the JDK). Once I unpacked RAPT, it was fine.
Re: Ren'Py and RAPT 6.16 Released
Having a similar problem with RAPT. After installing the 32-bit JDK, the launcher does not detect it; if I ignore that and unzip RAPT anyway, the launcher changes to telling me that I need to download RAPT and install it.
For the record, I'm installing from 'jdk-7u45-windows-i586.exe', and the resulting installation does have working versions of javac and all the other programs one would expect a JDK to have. I even put the JDK bin directory in my system path, but that doesn't seem to have had any effect.
After installing the 32-bit JDK, I checked and saw that HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Development Kit\1.7\JavaHome was pointing to the 64-bit version. Unfortunately, manually changing this value to point to the 32-bit version didn't change anything. After that, I uninstalled both the 32-bit and 64-bit versions and reinstalled only the 32-bit version, but now there is no 'Java Development Kit' key at all, as though the installer simply didn't create it.PyTom wrote:Ren'Py now looks for Java in the registry, by looking for the key SOFTWARE\JavaSoft\Java Development Kit\CurrentVersion, and then looking for SOFTWARE\JavaSoft\Java Development Kit\<version number>. Does that exist on your system?
For the record, I'm installing from 'jdk-7u45-windows-i586.exe', and the resulting installation does have working versions of javac and all the other programs one would expect a JDK to have. I even put the JDK bin directory in my system path, but that doesn't seem to have had any effect.
Re: Ren'Py and RAPT 6.16 Released
Are you sure you're looking at the 32-bit part of the registry (Wow6432Node) and not the 64-bit one?
Re: Ren'Py and RAPT 6.16 Released
Whoops, I wasn't. The key there does point to the 32-bit version (which is in 'Program Files (x86)', has OS_ARCH="i586" in its release file, and throws an error on 'java -d64', so it is definitely the 32-bit version).AxemRed wrote:Are you sure you're looking at the 32-bit part of the registry (Wow6432Node) and not the 64-bit one?
The problem still remains, though, that a freshly unpacked Ren'Py doesn't seem to detect it ("A 32-bit Java Development Kit is required to build Android packages on Windows."), and that unpacking RAPT into this changes the error message to "To build Android packages, please download RAPT", etc. (To be clear, since the documentation isn't 100% explicit, I am unpacking RAPT such that android.py ends up in the same directory as renpy.py and renpy.exe; the other possibility allowed for by the documentation's wording, putting the entire 'rapt-6.13.11.0' folder into the directory with renpy.py, results in a crash right off the bat so I assume that's the wrong way to go.)
Edit: Whoops -- further investigation reveals that my assumption about how to unpack RAPT was wrong. Below is the error I get when I run the launcher with RAPT unpacked properly:
Code: Select all
I'm sorry, but an uncaught exception occurred.
While executing init code:
File "launcher/game/android.rpy", line 4, in script
File "launcher/game/android.rpy", line 70, in python
ImportError: No module named raptNot to imply that this wasn't a dumb mistake on my part, but if the older versions are so incompatible that they break the launcher altogether, it might be worthwhile to put them in the 'old' folder along with the pre-RAPT stuff to forestall any similar problems.
-
randomnone
- Newbie
- Posts: 2
- Joined: Mon Dec 16, 2013 9:52 pm
- Contact:
Re: Ren'Py and RAPT 6.16 Released
I too have been getting "TypeError: Environment can only contain strings." error as of late cant seem to find the cause, something tells me there's a conflict with the text editor and latest SDK but what would be an odd thing to happen.
I as such as when the java SDK is not instilled both jEdit and Editra load fine but with it on, not only it still cant install the android SDK (although it dose find Javas thus RAPT seems to be working for the most part) all editors don't launch right, with jEdit saying it cant find test.java and Editra not launching at all with the TypeError showing its ugly head. as all ways thanks in advice and sorry if i posted in the wrong place.
I as such as when the java SDK is not instilled both jEdit and Editra load fine but with it on, not only it still cant install the android SDK (although it dose find Javas thus RAPT seems to be working for the most part) all editors don't launch right, with jEdit saying it cant find test.java and Editra not launching at all with the TypeError showing its ugly head. as all ways thanks in advice and sorry if i posted in the wrong place.
- Attachments
-
- traceback.txt
- (1.45 KiB) Downloaded 111 times
- PyTom
- Ren'Py Creator
- Posts: 15893
- 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 and RAPT 6.16 Released
I've released Ren'Py 6.16.4.524, and the corresponding RAPT.
This release includes fixes for Android building, including a problem that prevented Android games produced with 6.16.3 from working at all. It also fixes problems like the "TypeError: Environment can only contain strings.", one where Replay didn't evaluate its locked parameter properly, and some problems with the savegame scanning APIs.
It also includes a number of documentation improvements.
This release includes fixes for Android building, including a problem that prevented Android games produced with 6.16.3 from working at all. It also fixes problems like the "TypeError: Environment can only contain strings.", one where Replay didn't evaluate its locked parameter properly, and some problems with the savegame scanning APIs.
It also includes a number of documentation improvements.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom
- nyaatrap
- Crawling Chaos
- Posts: 1824
- Joined: Mon Feb 13, 2012 5:37 am
- Location: Kimashi Tower, Japan
- Contact:
Re: Ren'Py and RAPT 6.16 Released
After I updated 6.16.14, I can't set jEdit as a default editor from laucher.
- PyTom
- Ren'Py Creator
- Posts: 15893
- 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 and RAPT 6.16 Released
This is fixed in 6.16.5.525, which is now available.
Sorry about that - I deleted Ren'Py by mistake, and the jEdit.edit.py wasn't restored properly.
Sorry about that - I deleted Ren'Py by mistake, and the jEdit.edit.py wasn't restored properly.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom
-
momokomanasaki
- Newbie
- Posts: 3
- Joined: Mon Dec 16, 2013 2:02 am
- Contact:
Re: Ren'Py and RAPT 6.16 Released
Hi,
Thank you for updated 6.16 version....it works perfectly
Anyway, does "letting players choose their own name" script works for the android?
sorry for my bad English

Thank you for updated 6.16 version....it works perfectly
Anyway, does "letting players choose their own name" script works for the android?
sorry for my bad English
- PyTom
- Ren'Py Creator
- Posts: 15893
- 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 and RAPT 6.16 Released
No, sorry - the android keyboard doesn't work yet.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom
- tiya_nofurita
- Miko-Class Veteran
- Posts: 669
- Joined: Fri Jun 22, 2012 7:23 pm
- Completed: ALLBLACK Phase 1, Heart's Blight, Last Rx., EDDA Cafe, Kohana, Half Moon
- Projects: ALLBLACK Phase 2
- Organization: VN Project Indonesia
- Deviantart: SECONDARY-TARGET
- itch: NSAID
- Location: I can be everywhere
- Discord: 3,4-Methylendioxymethamphetamine#4886
- Contact:
Re: Ren'Py and RAPT 6.16 Released
Hi, when I'm trying to launch Android Builder I get an error message like this.
I have no knowledge on Android whatsoever so any helpful feedback would be appreciated.
This is happened after I tried to install SDK and create keys.
I have no knowledge on Android whatsoever so any helpful feedback would be appreciated.
This is happened after I tried to install SDK and create keys.
Code: Select all
I'm sorry, but an uncaught exception occurred.
While running game code:
File "launcher/game/android.rpy", line 476, in script
File "launcher/game/android.rpy", line 478, in python
WindowsError: [Error 5] Access is denied
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "D:\Ren'Py 6.16.5\renpy\execution.py", line 288, in run
node.execute()
File "D:\Ren'Py 6.16.5\renpy\ast.py", line 720, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
File "D:\Ren'Py 6.16.5\renpy\python.py", line 1308, in py_exec_bytecode
exec bytecode in globals, locals
File "launcher/game/android.rpy", line 478, in <module>
rapt.install_sdk.install_sdk(AndroidInterface())
File "D:\Ren'Py 6.16.5\rapt-6.16.5\buildlib\rapt\install_sdk.py", line 239, in install_sdk
unpack_ant(interface)
File "D:\Ren'Py 6.16.5\rapt-6.16.5\buildlib\rapt\install_sdk.py", line 144, in unpack_ant
plat.rename(plat.path(unpacked), plat.path("apache-ant"))
File "D:\Ren'Py 6.16.5\rapt-6.16.5\buildlib\rapt\plat.py", line 92, in rename
os.rename(src, dst)
WindowsError: [Error 5] Access is denied
Windows-7-6.1.7601-SP1
Ren'Py 6.16.5.525
Ren'Py Launcher 6.16.5.525- PyTom
- Ren'Py Creator
- Posts: 15893
- 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 and RAPT 6.16 Released
Try deleting apache-ant and trying again.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom
- tiya_nofurita
- Miko-Class Veteran
- Posts: 669
- Joined: Fri Jun 22, 2012 7:23 pm
- Completed: ALLBLACK Phase 1, Heart's Blight, Last Rx., EDDA Cafe, Kohana, Half Moon
- Projects: ALLBLACK Phase 2
- Organization: VN Project Indonesia
- Deviantart: SECONDARY-TARGET
- itch: NSAID
- Location: I can be everywhere
- Discord: 3,4-Methylendioxymethamphetamine#4886
- Contact:
Re: Ren'Py and RAPT 6.16 Released
Okay, so I tried manually install .apk file into Android but it won't work. It just stuck like this...and then force to close after several seconds. I tried to build new .apk from my other visual novel script, still no luck. Anyone can help?
-
randomnone
- Newbie
- Posts: 2
- Joined: Mon Dec 16, 2013 9:52 pm
- Contact:
Re: Ren'Py and RAPT 6.16 Released
hello again still having problems with the java SDK, just a hunch but could it be that ren'py has a hard time the SDK if one were to have both 32 and 64 bit versions? i mean it gives me the standard flavor text saying if i didn't install it to do but when i try open something like say bluej or greenfoot it can find both versions no problem. if so is there a workaround as i need both 32 64 bit SDK's. as always thanks for any help given.
Who is online
Users browsing this forum: Ocelot


