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
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?
It's possible you may need to install the 32-bit JDK.
It's possible you may need to install the 32-bit JDK.
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
There's a bug on quick save.
When config.save_directory is set to None, quicksave fails showing "'NoneType' object has no attribute 'get'"
When config.save_directory is set to None, quicksave fails showing "'NoneType' object has no attribute 'get'"
- asatiir
- Regular
- Posts: 86
- Joined: Tue Oct 01, 2013 6:04 pm
- Completed: Within the Walls (Twine)
- Projects: Roses Will Rise
- Organization: Asatiir's Tales
- Skype: asatiir
- itch: asatiir
- Location: Dubai, UAE
- Contact:
Re: Ren'Py and RAPT 6.16 Released
I tried testing the android builder and I got this error.
Code: Select all
I'm sorry, but an uncaught exception occurred.
While running game code:
File "launcher/game/android.rpy", line 483, in script
File "launcher/game/android.rpy", line 483, in python
File "launcher/game/android.rpy", line 319, in python
File "launcher/game/distribute.rpy", line 385, in python
File "launcher/game/distribute.rpy", line 679, in python
IndexError: cannot fit 'long' into an index-sized integer
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "C:\renpy-6.16.1-sdk\renpy\execution.py", line 288, in run
node.execute()
File "C:\renpy-6.16.1-sdk\renpy\ast.py", line 720, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
File "C:\renpy-6.16.1-sdk\renpy\python.py", line 1304, in py_exec_bytecode
exec bytecode in globals, locals
File "launcher/game/android.rpy", line 483, in <module>
$ android_build([ 'release' ])
File "launcher/game/android.rpy", line 319, in android_build
report_success=False,
File "launcher/game/distribute.rpy", line 385, in __init__
self.add_windows_files()
File "launcher/game/distribute.rpy", line 679, in add_windows_files
f.write(change_icons(old_exe_fn, icon_fn))
File "change_icon.py", line 282, in change_icons
File "change_icon.py", line 236, in load_icon
File "change_icon.py", line 22, in u32
IndexError: cannot fit 'long' into an index-sized integer
Windows-7-6.1.7601-SP1
Ren'Py 6.16.1.409
Ren'Py Launcher 6.16.1.409
- 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 icon.ico - it's somehow confusing things.
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
renpy.newest_slot() returns "type error. first argument must be string"
When I use renpy.newest_slot("1"), it returns "1-1". But if None, returns an error.
http://www.renpy.org/doc/html/save_load ... ewest_slot
When I use renpy.newest_slot("1"), it returns "1-1". But if None, returns an error.
http://www.renpy.org/doc/html/save_load ... ewest_slot
- 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 fixed both nyaatrap's bugs. They should be in 6.16.2, and the 2013-11-16 nightly build. (http://nightly.renpy.org)
Nyaatrap, if you don't mind, when you find obvious bugs in Ren'Py like these, please post them to the Ren'Py github issues page, at https://github.com/renpy/renpy/issues .
That makes it easy for me to see the open issues, and deal with them.
(This goes for pretty much everyone - if you're sure you have a bug in Ren'Py, and not your code, the issues place is the place to post it. Thanks!)
Nyaatrap, if you don't mind, when you find obvious bugs in Ren'Py like these, please post them to the Ren'Py github issues page, at https://github.com/renpy/renpy/issues .
That makes it easy for me to see the open issues, and deal with them.
(This goes for pretty much everyone - if you're sure you have a bug in Ren'Py, and not your code, the issues place is the place to post it. Thanks!)
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
- renoa-heartilly
- Regular
- Posts: 115
- Joined: Sat Jul 17, 2010 2:37 am
- Completed: مقهى الضائعون, Arabic Translations for Ren'py, Pretty Please
- Projects: حور, BB project, dentist drama
- Organization: stanza studio (creative circle)
- Contact:
Re: Ren'Py and RAPT 6.16 Released
thanksPyTom wrote:You need to include a call to make_style_backup() at the end of your translate python block.
i will post the arabic translation of Renpy 6.16 in a little bit!
thank you for the hard work, i especially love that i can choose the language of my project from the get-go!
- Fuzzi
- Newbie
- Posts: 4
- Joined: Mon Apr 30, 2012 5:33 am
- Projects: Project Kyuketsu Fox
- Organization: Kyuketsu Fox
- Contact:
Re: Ren'Py and RAPT 6.16 Released
I seem to be having the same problem as jghibiki. From what I see, my traceback is identical except for the location of Ren'Py. Thing is, like jghibiki, after I updated it worked, but when I tried today and it won't work anymore.
I am running Ren'Py in "S:\Documents\RenPy" (My 2TB External HDD). I copied the folder to "C:\renpy" (except for rapt-6.16.0) and tried running it from there, and it loads Editra without any problems. But it still won't work from my external HDD.
I'll attach the traceback.txt anyway in case I missed something.
I am running Ren'Py in "S:\Documents\RenPy" (My 2TB External HDD). I copied the folder to "C:\renpy" (except for rapt-6.16.0) and tried running it from there, and it loads Editra without any problems. But it still won't work from my external HDD.
I'll attach the traceback.txt anyway in case I missed something.
- Attachments
-
- traceback.txt
- (1.22 KiB) Downloaded 85 times
- Clayton Barnett
- Regular
- Posts: 80
- Joined: Wed Sep 12, 2012 12:20 pm
- Projects: OKaverse VNs
- Organization: 3-AR Studios LLC
- Location: Ohio
- Contact:
Re: Ren'Py and RAPT 6.16 Released
The good news is that so long as I create a single, but large, .apk file, things seem to run just fine.
The issue is when using Ren'Py to make expansion APKs. For the same demo, I get these in my bin folder:
OTChiKocchiDemo-1.1-release.apk 6336 kb
main.2.com.otchikocchi.demo.obb 160383 kb
When I've tried these thru the Google Play Developer Console, the VN starts to launch, then stops and goes back to the home screen of the tablet or phone. I've tried just copying them over to my tablet, to see if the issue was with Google Play, but the same thing happens.
My suspicion is, as usual, my ignorance. I'm guessing there's a setting, code, or naming convention that I don't know to make the smaller .apk file "run" the larger .obb file.
The issue is when using Ren'Py to make expansion APKs. For the same demo, I get these in my bin folder:
OTChiKocchiDemo-1.1-release.apk 6336 kb
main.2.com.otchikocchi.demo.obb 160383 kb
When I've tried these thru the Google Play Developer Console, the VN starts to launch, then stops and goes back to the home screen of the tablet or phone. I've tried just copying them over to my tablet, to see if the issue was with Google Play, but the same thing happens.
My suspicion is, as usual, my ignorance. I'm guessing there's a setting, code, or naming convention that I don't know to make the smaller .apk file "run" the larger .obb file.
- 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
Did you set the play store key in options.rpy?
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
- Clayton Barnett
- Regular
- Posts: 80
- Joined: Wed Sep 12, 2012 12:20 pm
- Projects: OKaverse VNs
- Organization: 3-AR Studios LLC
- Location: Ohio
- Contact:
Re: Ren'Py and RAPT 6.16 Released
Yes... I added the lines at the end of the options.rpy file:PyTom wrote:Did you set the play store key in options.rpy?
Code: Select all
init python:
build.google_play_key = "xyz"
build.google_play_salt = (a, b, ...)It will run under RenPy; I've compiled it as Win and Android (non-expansion) builds with no problem. I wish that some sort of error file was generated to I could grasp what I'm failing to do. My apologies.
- 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
Annoyingly, this code runs before Ren'Py, so it won't generate an error.
Can you run adb logcat, and see if it produces any relevant output? You also may want to try again without changing anything - ISTR that it took a few hours before the obb was downloadable from play.
Can you run adb logcat, and see if it produces any relevant output? You also may want to try again without changing anything - ISTR that it took a few hours before the obb was downloadable from play.
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
- 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.2.490 and the corresponding RAPT.
his release adds new Spanish translations of the launcher and template game, contributed by Daniel Luque and javimat. It adds a new function that gets the mouse position, and fixes bugs, typos, and usability flaws in the launcher and Ren'Py proper.
his release adds new Spanish translations of the launcher and template game, contributed by Daniel Luque and javimat. It adds a new function that gets the mouse position, and fixes bugs, typos, and usability flaws in the launcher and Ren'Py proper.
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
Who is online
Users browsing this forum: Ocelot

