Ren'Py 6.99 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.
Post Reply
Message
Author
User avatar
PyTom
Ren'Py Creator
Posts: 16096
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 6.99 Released

#1 Post by PyTom »

I'm pleased to announce Ren'Py 6.99 "Here's to the crazy ones." This release
focuses on modernizing Ren'Py by moving to the SDL2 family of libraries. This
modernization will lead to a series of benefits, both now and in the future.

Perhaps the most obvious benefit is the addition of iOS support. Ren'Py can
now produce iOS apps, targeting iPhone and iOS devices. To develop for iOS,
you will need a Macintosh computer and paid iOS developer license, and will
need to customize the interface to conform to iOS policies.

In addition, this release includes:
  • Rewritten Android support, based on SDL2. Among other things, Android now
    supports the onscreen keyboard, rotating the screen, and bidirectional text.
  • Audio playback, using the same code on desktop and mobile platforms, so the
    same audio files can be used on all platforms Ren'Py supports.
  • Support for Input Methods (IMEs), allowing text entry in non-English languages.
  • A high-level achievement API, including support for Steam achievements. (Steam
    support will be made available on request to Steam developers.)
  • Improved support for custom text tags.
  • A Russian translation of the tutorial game, and a Finnish translation of
    the launcher.
This release also includes a number of other fixes and improvements.

We'd like to thank Patrick Dawson for writing much of the code of Pygame_SDL2,
a new, SDL2-based implementation of the Pygame API, and Chris Mear, who created
the initial iOS port of Ren'Py that our current support is based on. Other
contributors include:
  • Daniel Luque
  • Diapolo10
  • Evilantishad0w
  • Giuseppe Bertone
  • Javimat
  • Kyouryuukunn
  • Lapalissiano
  • Nolanlemahn
  • Renoa
  • rivvil
  • Tlm-2501
and myself, Tom "PyTom" Rothamel.

Downloads of 6.99 can be found at:

http://www.renpy.org/release/6.99

A full list of changes to Ren'Py can be found at:

http://www.renpy.org/doc/html/changelog.html

A list of changes that may require you to update your game can be found at:

http://www.renpy.org/doc/html/incompatible.html
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
PyTom
Ren'Py Creator
Posts: 16096
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 6.99 Released

#2 Post by PyTom »

I'd just like to thank the many people who tested 6.99 - without them, this release literally wouldn't have been possible.

My current plan is to keep Ren'Py release-ready for the next couple of weeks, if not longer. This way, if NaNoRenO projects switch to 6.99, I can support them with new releases, should that prove necessary.
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
PyTom
Ren'Py Creator
Posts: 16096
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 6.99 Released

#3 Post by PyTom »

6.99.1.329)

I've released Ren'Py 6.99.1. This fixes a number of crashes caused by incompatibilities with peoples systems, so games released using 6.99.1 should run in a (perhaps much) larger number of places then those that use 6.99.0. For this reason, everyone using 6.99.0 should upgrade. Crashes fixed include problems caused by:

* On Windows, launching from a directory with characters that differ in UTF-8 and the local encoding (so most non-ASCII systems).
* Running on a computer with a non-32-bit display depth in non-OpenGL mode.
* Running using display drivers that do not support vsync.
* On Android, allowing the screen to change from portrait to landscape (or vice versa) when the target version was set to 4.0 or later.

My feeling is that everyone using 6.99 should upgrade.

It also fixes other reported bugs, updates translations, and adds a few functions of minor usefulness.

Steam: I've uploaded the steam files to the same location as before. These new steam files should work a bit better on Linux and Mac, as they adjust a few paths so the _renpysteam module can find libsteam_api.
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
carroll6
Regular
Posts: 33
Joined: Tue Sep 30, 2014 5:18 pm
Contact:

Re: Ren'Py 6.99 Released

#4 Post by carroll6 »

Mine says.. "update file may not have the correct digest." Eh..what is digest?

User avatar
PyTom
Ren'Py Creator
Posts: 16096
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 6.99 Released

#5 Post by PyTom »

That's a problem with the updater. You'll need to download the update from http://www.renpy.org/latest.html, and download jedit or editra from the same page.

(You may want to wait a day or two for 6.99.2 to come out, which will fix the problem going forwards.)
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
nyaatrap
Crawling Chaos
Posts: 1824
Joined: Mon Feb 13, 2012 5:37 am
Location: Kimashi Tower, Japan
Contact:

Re: Ren'Py 6.99 Released

#6 Post by nyaatrap »

Can compression level of png writing lower?
It looks it uses the slowest method and it took 1~2 seconds to take a screenshot.

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

#7 Post by jack_norton »

I have an user on Steam which can't hear any sound. It's honestly not new, even in previous versions I had a FEW users with this issue, and they solved it themselves with some setting in their hardware. Is there any way for me to debug/ask info to him to find out what is the problem?
follow me on Image Image Image
computer games

User avatar
PyTom
Ren'Py Creator
Posts: 16096
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 6.99 Released

#8 Post by PyTom »

jack_norton >> you need to have the user create a debug.rpy file that contains the line:

Code: Select all

init python:
     config.debug_sound = True
That will cause a traceback instead of silence. I can then try to debug the problem, if that's possible. (Have them delete debug.rpy and debug.rpyc once they send the traceback, so the game can start normally.)
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

tingly
Newbie
Posts: 1
Joined: Fri Jun 06, 2014 10:43 pm
Projects: Baru
Location: Hong Kong
Contact:

Re: Ren'Py 6.99 Released

#9 Post by tingly »

Is there a way to write Objective C code on Xcode and access it via pyobjus from Renpy? Pyobjus seems to be built in on 6.99. I tried using the dylib manager but couldn't get it to work.

User avatar
PyTom
Ren'Py Creator
Posts: 16096
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 6.99 Released

#10 Post by PyTom »

Yes. You basically just drop a .m file into the the generated project that defines MyClass, and then run:

Code: Select all

init python:
    if renpy.ios:
        import pyobjus
        MyClass = pyobjus.autoclass("MyClass")
You don't need to use the dylib manager, as everything on iOS (outside of system libraries) is statically linked together.
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
carroll6
Regular
Posts: 33
Joined: Tue Sep 30, 2014 5:18 pm
Contact:

Re: Ren'Py 6.99 Released

#11 Post by carroll6 »

I wait on 6.99.2 while continuing my project with the simplest code, so that it will still work. My question is, how well will the new version do at sensing different screen sizes on devices?

User avatar
PyTom
Ren'Py Creator
Posts: 16096
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 6.99 Released

#12 Post by PyTom »

If you want, you can drop:

https://raw.githubusercontent.com/renpy ... pdater.rpy

over renpy/common/00updater.rpy, and that will get 6.99.1 going.

I'm not sure what you mean by sensing screen sizes. It should work the same as always, selecting an appropriate variant based on the type and size of device.
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
carroll6
Regular
Posts: 33
Joined: Tue Sep 30, 2014 5:18 pm
Contact:

Re: Ren'Py 6.99 Released

#13 Post by carroll6 »

ok..will I have to DL anything else? I think you answered my question. If it will select the size I need, that is what I want. Anyways, I am busy working on my project..no need to have the latest one, not yet, it uses very simple functions.

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

#14 Post by jack_norton »

I have an user that reported an "Out Of Memory" error while playing my game Planet Stronghold. Before I never had such report:
http://steamcommunity.com/app/291050/di ... 710649723/

is there anything I could ask him to send me? or there is anything that could cause that problem ?
follow me on Image Image Image
computer games

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

#15 Post by jack_norton »

Removed previous report since as you told me in chat is something related to my after_load label. However for the out of memory error the user posted the traceback:

Code: Select all

I'm sorry, but an uncaught exception occurred.

While running game code:
File "game/warchived.rpy", line 6328, in script call
File "game/data.rpy", line 827, in script call
File "game/data.rpy", line 1355, in script
File "game/data.rpy", line 1419, in <module>
error: Out of memory

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

Full traceback:
File "game/warchived.rpy", line 6328, in script call
File "game/data.rpy", line 827, in script call
File "game/data.rpy", line 1355, in script
File "G:\Steam Games\steamapps\common\PlanetStronghold\renpy\ast.py", line 785, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
File "G:\Steam Games\steamapps\common\PlanetStronghold\renpy\python.py", line 1432, in py_exec_bytecode
exec bytecode in globals, locals
File "game/data.rpy", line 1419, in <module>
File "G:\Steam Games\steamapps\common\PlanetStronghold\renpy\ui.py", line 247, in interact
rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
File "G:\Steam Games\steamapps\common\PlanetStronghold\renpy\display\core.py", line 2243, in interact
repeat, rv = self.interact_core(preloads=preloads, **kwargs)
File "G:\Steam Games\steamapps\common\PlanetStronghold\renpy\display\core.py", line 2712, in interact_core
ev = self.event_wait()
File "G:\Steam Games\steamapps\common\PlanetStronghold\renpy\display\core.py", line 1920, in event_wait
self.check_background_screenshot()
File "G:\Steam Games\steamapps\common\PlanetStronghold\renpy\display\core.py", line 1750, in check_background_screenshot
self.bgscreenshot_surface = renpy.display.draw.screenshot(self.surftree, self.fullscreen_video)
File "renpy/gl/gldraw.pyx", line 1149, in renpy.gl.gldraw.GLDraw.screenshot (gen\renpy.gl.gldraw.c:16873)
full = renpy.display.pgrender.surface_unscaled(self.physical_size, False)
File "G:\Steam Games\steamapps\common\PlanetStronghold\renpy\display\pgrender.py", line 111, in surface
surf = Surface((width + 4, height + 4), 0, sample)
File "pygame_sdl2/surface.pyx", line 162, in pygame_sdl2.surface.Surface.__init__ (gen\pygame_sdl2.surface.c:2298)
error: Out of memory

Windows-7-6.1.7601-SP1
Ren'Py 6.99.1.329
in this case I didn't touch that code since 2012, except for the new achievements system. I asked the user to send me a save before the crash happens.
follow me on Image Image Image
computer games

Post Reply

Who is online

Users browsing this forum: Google [Bot], Semrush [Bot]