Ren'Py 6.99 Prereleases

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: 16088
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 Prereleases

#1 Post by PyTom »

This is a prerelease. Please test your games with it, and report any bugs you may find, but please do not release games with Ren'Py 6.99 until it has been officially released.

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.

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.
This release also includes a number of other fixes and improvements.

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/dev-doc/html/changelog.html

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

http://www.renpy.org/dev-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: 16088
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 Prereleases

#2 Post by PyTom »

At long last, I've made the first 6.99 prerelease. I've tested this as much as I can, but I'm sure I've missed something. As this release is a huge change to Ren'Py's internals, moving from SDL1 to SDL2, it will likely be the case that bugs will manifest in ways I least expect. Please report them, and with any luck we'll get a stable release out in time for NaNoRenO.

If you're sure something is a bug, please report it to the issue tracker at:

https://github.com/renpy/renpy/issues

Otherwise, please post your questions and comments here. Thank you in advance to everyone who takes the time to download these prereleases and report any success or failure. Your consideration and patience helps make Ren'Py ready for the thousands of people who will download release versions.
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

SundownKid
Lemma-Class Veteran
Posts: 2299
Joined: Mon Feb 06, 2012 9:50 pm
Completed: Icebound, Selenon Rising Ep. 1-2
Projects: Selenon Rising Ep. 3-4
Organization: Fastermind Games
Deviantart: sundownkid
Location: NYC
Contact:

Re: Ren'Py 6.99 Prereleases

#3 Post by SundownKid »

I downloaded it and the launcher keeps crashing a few seconds after it starts. (And then re-opening again).

User avatar
PyTom
Ren'Py Creator
Posts: 16088
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 Prereleases

#4 Post by PyTom »

That's... unfortunate. Are there any logs, tracebacks, or anything else to indicate what's going wrong?
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

SundownKid
Lemma-Class Veteran
Posts: 2299
Joined: Mon Feb 06, 2012 9:50 pm
Completed: Icebound, Selenon Rising Ep. 1-2
Projects: Selenon Rising Ep. 3-4
Organization: Fastermind Games
Deviantart: sundownkid
Location: NYC
Contact:

Re: Ren'Py 6.99 Prereleases

#5 Post by SundownKid »

No, there don't seem to be. Though after it restarts, it doesn't crash again.

User avatar
PyTom
Ren'Py Creator
Posts: 16088
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 Prereleases

#6 Post by PyTom »

Can you drag "tutorial" directory to renpy.exe? If it does the same thing, look for tutorial/log.txt - there may be an issue where we're switching from ANGLE to GL mode, or vice vesra.
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
Samu-kun
King of Moé
Posts: 2262
Joined: Mon Sep 03, 2007 3:49 pm
Organization: Love in Space Inc
Location: United States
Contact:

Re: Ren'Py 6.99 Prereleases

#7 Post by Samu-kun »

For some reason, the drag doesn't work any more on just the preferences screen in Sunrider Academy. Works on any other screen though.

https://gist.github.com/anonymous/423b812224507fb1207a

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 Prereleases

#8 Post by nyaatrap »

Thanks for the update. Personally, the most noticeable difference is massive performance improvement. CPU usage is almost 3/4 than 6.18, starting up time takes less then half, screen transition is smoother, switching fullscreen/window is faster.
Though some ATL doesn't work properly (as I reported), I'll wait the next prerelease to be fixed.

fk1995
Regular
Posts: 32
Joined: Sat Nov 17, 2012 3:45 am
Contact:

Re: Ren'Py 6.99 Prereleases

#9 Post by fk1995 »

Code: Select all

CoreFoundation = 847.210000
running /var/mobile/Applications/A6939AAF-CEDF-44AE-9C25-856FDD2FCC49/tutorial.app/base/main.py
iOS device idiom 1
AttributeError("'pyobjus.pyobjus.ObjcMethod' object has no attribute 'UTF8String'",)

Full traceback:
  File "/private/var/mobile/Applications/A6939AAF-CEDF-44AE-9C25-856FDD2FCC49/tutorial.app/base/renpy/bootstrap.py", line 287, in bootstrap
    renpy.main.main()
  File "/private/var/mobile/Applications/A6939AAF-CEDF-44AE-9C25-856FDD2FCC49/tutorial.app/base/renpy/main.py", line 273, in main
    renpy.config.savedir = __main__.path_to_saves(renpy.config.gamedir) # E1101 @UndefinedVariable
  File "/var/mobile/Applications/A6939AAF-CEDF-44AE-9C25-856FDD2FCC49/tutorial.app/base/main.py", line 88, in path_to_saves
    rv = url.path.UTF8String().decode("utf-8")
AttributeError: 'pyobjus.pyobjus.ObjcMethod' object has no attribute 'UTF8String'

After loading the script.
AttributeError: 'pyobjus.pyobjus.ObjcMethod' object has no attribute 'UTF8String'
Tried to build tutorial and got this..
Solved.
Change
rv = url.path.UTF8String().decode("utf-8")
to
rv = url.path().UTF8String().decode("utf-8")
Mac OS X 10.10 + Xcode 6.1.1
iPad 4 7.0.4

fk1995
Regular
Posts: 32
Joined: Sat Nov 17, 2012 3:45 am
Contact:

Re: Ren'Py 6.99 Prereleases

#10 Post by fk1995 »

BTW, can you simply talk about how to use gesture on iOS and Android?

User avatar
PyTom
Ren'Py Creator
Posts: 16088
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 Prereleases

#11 Post by PyTom »

The easy way is to write code like:

Code: Select all

init python:
     config.gestures["s_e"] = "game_menu"
This code means that when the user swipes down (south) and right (east), making an L shape, the game_menu keymap entry will be run, and the game menu will open. You can do the same sort of things for other keymap entries, including user-defined keymap entries.
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

fk1995
Regular
Posts: 32
Joined: Sat Nov 17, 2012 3:45 am
Contact:

Re: Ren'Py 6.99 Prereleases

#12 Post by fk1995 »

Looks awesome!!! Can't wait for the official release!

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 Prereleases

#13 Post by jack_norton »

Awesome! As soon as I have some time will do a good testing :)
When you have time could you post examples for the Steam API key? I don't think matters keeping it secret, since only people with games on Steam can actually use them in the games.
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 Prereleases

#14 Post by jack_norton »

OK First bug: I updated using the renpy updater and the new launcher window has this weird behavior, if I drag it on screen messes up with the current background (my Twitter screen)
The problem is that when I open renpy there are two processes in task bar, one is the usual Ren'Py launcher, the other is Ren'Py launcher with a generic "Python app" icon. And is just a blank window.
oops.jpg
Actually opens two windows even when I launch a game. Also, I got this traceback:

Code: Select all

Wed Feb 18 10:23:00 2015
Windows-7-6.1.7601-SP1
Ren'Py 6.99.0.202
Seasons Of The Wolf 1.0.7.4


Windowed mode.
Could not get pygame screen: error('Negative swap interval unsupported in this GL',)

Windowed mode.
Screen sizes: virtual=(1280, 720) physical=(1280, 720)
Vendor: 'Google Inc.'
Renderer: 'ANGLE (ATI Radeon HD 4670)'
Version: 'OpenGL ES 2.0 (ANGLE 1.0.0.1166)'
Display Info: <Info({'blit_sw_CC': False, 'bitsize': 32, 'wm': True, 'losses': (0, 0, 0, 8), 'hw': False, 'masks': (16711680L, 65280L, 255L, 0L), 'current_h': 1200, 'current_w': 1920, 'shifts': (16, 8, 0, 0), 'blit_sw_A': False, 'blit_hw': False, 'blit_sw': False, 'bytesize': 4, 'blit_hw_CC': False, 'blit_hw_A': False, 'video_mem': 268435456})>
Extensions:
    GL_ANGLE_depth_texture
    GL_ANGLE_framebuffer_blit
    GL_ANGLE_framebuffer_multisample
    GL_ANGLE_instanced_arrays
    GL_ANGLE_pack_reverse_row_order
    GL_ANGLE_texture_compression_dxt3
    GL_ANGLE_texture_compression_dxt5
    GL_ANGLE_texture_usage
    GL_ANGLE_translated_shader_source
    GL_EXT_occlusion_query_boolean
    GL_EXT_read_format_bgra
    GL_EXT_robustness
    GL_EXT_texture_compression_dxt1
    GL_EXT_texture_format_BGRA8888
    GL_EXT_texture_storage
    GL_NV_fence
    GL_OES_element_index_uint
    GL_OES_packed_depth_stencil
    GL_OES_rgb8_rgba8
    GL_OES_standard_derivatives
    GL_OES_texture_float
    GL_OES_texture_float_linear
    GL_OES_texture_half_float
    GL_OES_texture_half_float_linear
    GL_OES_texture_npot
Number of texture units: 16
Using shader environment.
Using copy RTT.
Using angle renderer.
Texture testing:
- Hardware max texture size: 8192
- 64px textures work.
- 128px textures work.
- 256px textures work.
- 512px textures work.
- 1024px textures work.
- 2048px textures work.
Performance test:
- Target is 5 frames in 0.333333333333 seconds.
- Frame drawn at 0.000000 seconds.
- Frame drawn at 0.080000 seconds.
- Frame drawn at 0.081000 seconds.
- Frame drawn at 0.097000 seconds.
- Frame drawn at 0.113000 seconds.
- 0.113000 seconds to render 5 frames.
Traceback (most recent call last):
  File "C:\- indie dev -\games\renpy\renpy\execution.py", line 296, in run
    node.execute()
  File "C:\- indie dev -\games\renpy\renpy\ast.py", line 1236, in execute
    renpy.exports.with_statement(trans, paired)
  File "C:\- indie dev -\games\renpy\renpy\exports.py", line 1251, in with_statement
    return renpy.game.interface.do_with(trans, paired, clear=clear)
  File "C:\- indie dev -\games\renpy\renpy\display\core.py", line 1812, in do_with
    clear=clear)
  File "C:\- indie dev -\games\renpy\renpy\display\core.py", line 2214, in interact
    repeat, rv = self.interact_core(preloads=preloads, **kwargs)
  File "C:\- indie dev -\games\renpy\renpy\display\core.py", line 2840, in interact_core
    rv = root_widget.event(ev, x, y, 0)
  File "C:\- indie dev -\games\renpy\renpy\display\layout.py", line 846, in event
    rv = i.event(ev, x - xo, y - yo, cst)
  File "C:\- indie dev -\games\renpy\renpy\display\behavior.py", line 374, in event
    if map_event(ev, name):
  File "C:\- indie dev -\games\renpy\renpy\display\behavior.py", line 192, in map_event
    check_code = eval("lambda ev : " + compile_event(keysym, True), globals())
  File "C:\- indie dev -\games\renpy\renpy\display\behavior.py", line 51, in compile_event
    return compile_event(renpy.config.keymap[key], keydown)
  File "C:\- indie dev -\games\renpy\renpy\display\behavior.py", line 47, in compile_event
    return "(" + " or ".join([compile_event(i, keydown) for i in key]) + ")"
  File "C:\- indie dev -\games\renpy\renpy\display\behavior.py", line 122, in compile_event
    rv += " and ev.key == %d)" % (getattr(pygame.constants, key))
AttributeError: 'module' object has no attribute 'K_PRINT'
I think is due to this line (in my games I always replace S key with the more intuitive PRINT_SCREEN key to take screenshots):

Code: Select all

    config.keymap['screenshot'].remove('s')
    config.keymap['screenshot'].append('K_PRINT')
    config.keymap['help'].remove('K_F1')
follow me on Image Image Image
computer games

fk1995
Regular
Posts: 32
Joined: Sat Nov 17, 2012 3:45 am
Contact:

Re: Ren'Py 6.99 Prereleases

#15 Post by fk1995 »

I tried to play mp4 files on iOS and failed many time... the log said
failed to open audio stream of a.mp4
i'm using 44.1khz 56kbps aac

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot]