Ren'Py and RAPT 6.16 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: 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

#16 Post by PyTom » Mon Nov 11, 2013 6:32 pm

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.
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
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

#17 Post by asatiir » Thu Nov 14, 2013 3:07 pm

Yep, 32-bit JDK is required, it's downloading fine now.
Image
Image

User avatar
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

#18 Post by nyaatrap » Fri Nov 15, 2013 11:14 am

There's a bug on quick save.
When config.save_directory is set to None, quicksave fails showing "'NoneType' object has no attribute 'get'"
traceback.txt
(2.65 KiB) Downloaded 79 times

User avatar
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

#19 Post by asatiir » Fri Nov 15, 2013 2:45 pm

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
Image
Image

User avatar
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

#20 Post by PyTom » Fri Nov 15, 2013 4:07 pm

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
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom

User avatar
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

#21 Post by nyaatrap » Fri Nov 15, 2013 10:33 pm

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

User avatar
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

#22 Post by PyTom » Sat Nov 16, 2013 1:47 am

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!)
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
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

#23 Post by nyaatrap » Sat Nov 16, 2013 7:17 am

Sure, thanks.

User avatar
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

#24 Post by renoa-heartilly » Mon Nov 18, 2013 7:03 am

PyTom wrote:You need to include a call to make_style_backup() at the end of your translate python block.
thanks :mrgreen: i updated the translations an it worked just fine, but now it added more phrases for me to translate to arabic :lol:
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!

User avatar
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

#25 Post by Fuzzi » Wed Nov 20, 2013 4:37 am

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.
Attachments
traceback.txt
(1.22 KiB) Downloaded 85 times

User avatar
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

#26 Post by Clayton Barnett » Thu Nov 21, 2013 10:07 am

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.

User avatar
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

#27 Post by PyTom » Thu Nov 21, 2013 10:49 am

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
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom

User avatar
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

#28 Post by Clayton Barnett » Thu Nov 21, 2013 5:47 pm

PyTom wrote:Did you set the play store key in options.rpy?
Yes... I added the lines at the end of the options.rpy file:

Code: Select all

init python:
    build.google_play_key = "xyz"
    build.google_play_salt = (a, b, ...)
Where xyz is the huge license key string and a,b,... are the tuple of 20 bytes.

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.

User avatar
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

#29 Post by PyTom » Thu Nov 21, 2013 6:40 pm

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.
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
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

#30 Post by PyTom » Thu Nov 21, 2013 11:19 pm

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.
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: Ocelot