Page 1 of 1

Ren'Py 7.4.7 Released

Posted: Sun Jul 25, 2021 11:32 am
by PyTom
I'm happy to announce Ren'Py 7.4.7, the seventh patch release of Ren'Py 7.4. This release includes many fixes, and some major improvements.

Perhaps the biggest set of changes was to the Web port of Ren'Py, which has been rewritten to use the web browser's native audio processing. This prevents expensive operations, like decoding image files, from interrupting audio playback. (However, an issue with Safari still exists.) Self-voicing has also been added to the web plaform.

There have also been improvements to support for the iOS platform, that allow Ren'Py games to run on the latest iPhones without aggressive pillarboxing.

The input displayable has grown quite a bit of functionality, with more keys being supported, and the caret blinking to indicate that text can be edited.

The Atom editor has been updated.

There is quite a bit of new functionality in this release, please check out the changelog for some of the new things that can be done.

Ren'Py 7.4 is the the product of over a year of development, and one of the biggest releases of Ren'Py to date. This series of releases focuses on updating Ren'Py's internals so that Ren'Py is ready for its next 15 years.

Downloads of 7.4.7 can be found at:

https://www.renpy.org/release/7.4.7

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

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

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

https://www.renpy.org/doc/html/incompatible.html

Please also check out the credits and sponsor list.

Re: Ren'Py 7.4.7 Released

Posted: Mon Jul 26, 2021 3:43 pm
by Triority
The swing transition doesn't seem to be working now.

I've been using something like :

Code: Select all

scene bg tower2 with swing
but with the latest update it does nothing

Re: Ren'Py 7.4.7 Released

Posted: Mon Jul 26, 2021 11:14 pm
by PyTom

Re: Ren'Py 7.4.7 Released

Posted: Tue Jul 27, 2021 2:35 am
by Clef
The changelog stops at 7.4.6.

Re: Ren'Py 7.4.7 Released

Posted: Wed Jul 28, 2021 6:50 am
by apexchimps
Hi,

I just updated from 7.4.6 to 7.4.7 and the game is not working now. I encounter this error quite frequently along the code:

Image

The error appears in apparently innocent dialogue lines, like this, which have worked normally in the past:

Code: Select all

michael "Menuda aventura."
Image

I have tried with several versions and this is the result:
- 7.4.5.: Works fine
- 7.4.6.: Works fine
- 7.4.7.: Error
- 7.4.8.: Error

In other cases I usually just find a workaround and change the code to adapt it to the new functionalities. But in this case I do not see what should I change.

Any ideas?

Let me know if you need any additional information, which I will very gladly provide.

Thank you in advance.

Re: Ren'Py 7.4.7 Released

Posted: Wed Jul 28, 2021 10:07 am
by rayminator
apexchimps wrote: Wed Jul 28, 2021 6:50 am Hi,

I just updated from 7.4.6 to 7.4.7 and the game is not working now. I encounter this error quite frequently along the code:

Image

The error appears in apparently innocent dialogue lines, like this, which have worked normally in the past:

Code: Select all

michael "Menuda aventura."
Image

I have tried with several versions and this is the result:
- 7.4.5.: Works fine
- 7.4.6.: Works fine
- 7.4.7.: Error
- 7.4.8.: Error

In other cases I usually just find a workaround and change the code to adapt it to the new functionalities. But in this case I do not see what should I change.

Any ideas?

Let me know if you need any additional information, which I will very gladly provide.

Thank you in advance.
can you post a full trackback instead of a image that's cutting the most important part

there should be a button that's called copy bbcode
profile2.png
profile2.png (11.46 KiB) Viewed 6383 times

Re: Ren'Py 7.4.7 Released

Posted: Wed Jul 28, 2021 4:21 pm
by apexchimps
Hi,

Sure, here it is the full trackback:

Code: Select all

I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/03_00_Introduccion.rpy", line 91, in script
    michael "Menuda aventura."
TypeError: unsupported operand type(s) for &: 'float' and 'int'

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

Full traceback:
  File "game/03_00_Introduccion.rpy", line 91, in script
    michael "Menuda aventura."
  File "renpy/ast.py", line 716, in execute
    renpy.exports.say(who, what, *args, **kwargs)
  File "renpy/exports.py", line 1417, in say
    who(what, *args, **kwargs)
  File "renpy/character.py", line 1219, in __call__
    self.do_display(who, what, cb_args=self.cb_args, dtt=dtt, **display_args)
  File "renpy/character.py", line 871, in do_display
    **display_args)
  File "renpy/character.py", line 621, in display_say
    rv = renpy.ui.interact(mouse='say', type=type, roll_forward=roll_forward)
  File "renpy/ui.py", line 298, in interact
    rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
  File "renpy/display/core.py", line 3276, in interact
    repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, pause=pause, pause_start=pause_start, **kwargs)
  File "renpy/display/core.py", line 3790, in interact_core
    self.draw_screen(root_widget, fullscreen_video, (not fullscreen_video) or video_frame_drawn)
  File "renpy/display/core.py", line 2521, in draw_screen
    renpy.config.screen_height,
  File "render.pyx", line 492, in renpy.display.render.render_screen
  File "render.pyx", line 263, in renpy.display.render.render
  File "renpy/display/layout.py", line 814, in render
    surf = render(child, width, height, cst, cat)
  File "render.pyx", line 170, in renpy.display.render.render
  File "render.pyx", line 263, in renpy.display.render.render
  File "renpy/display/layout.py", line 814, in render
    surf = render(child, width, height, cst, cat)
  File "render.pyx", line 170, in renpy.display.render.render
  File "render.pyx", line 263, in renpy.display.render.render
  File "renpy/display/layout.py", line 814, in render
    surf = render(child, width, height, cst, cat)
  File "render.pyx", line 170, in renpy.display.render.render
  File "render.pyx", line 263, in renpy.display.render.render
  File "renpy/display/screen.py", line 681, in render
    child = renpy.display.render.render(self.child, w, h, st, at)
  File "render.pyx", line 170, in renpy.display.render.render
  File "render.pyx", line 263, in renpy.display.render.render
  File "renpy/display/layout.py", line 814, in render
    surf = render(child, width, height, cst, cat)
  File "render.pyx", line 170, in renpy.display.render.render
  File "render.pyx", line 263, in renpy.display.render.render
  File "renpy/display/layout.py", line 1238, in render
    st, at)
  File "render.pyx", line 170, in renpy.display.render.render
  File "render.pyx", line 263, in renpy.display.render.render
  File "renpy/display/layout.py", line 814, in render
    surf = render(child, width, height, cst, cat)
  File "render.pyx", line 170, in renpy.display.render.render
  File "render.pyx", line 263, in renpy.display.render.render
  File "renpy/text/text.py", line 2070, in render
    layout = Layout(self, width, height, renders, splits_from=virtual_layout)
  File "renpy/text/text.py", line 818, in __init__
    tw = (tw | 0x1f) + 1 if (tw & 0x1f) else tw
TypeError: unsupported operand type(s) for &: 'float' and 'int'

Windows-10-10.0.19041
Ren'Py 7.4.7.1862
apexchimps.detectivemax2 1.0
Wed Jul 28 22:17:57 2021
Thank you in advance!

Re: Ren'Py 7.4.7 Released

Posted: Fri Jul 30, 2021 10:08 pm
by PyTom
I'll make sure this is fixed.

There's also a fairly major issue in 7.4.7 that can corrupt rollback of lists and objects, so I'll be aiming to have a 7.4.8 with fixes out this weekend.

Re: Ren'Py 7.4.7 Released

Posted: Sat Jul 31, 2021 8:22 am
by apexchimps
Thank you in advance, PyTom! Let me know if you need any code, log, output...

Re: Ren'Py 7.4.7 Released

Posted: Mon Aug 02, 2021 4:01 pm
by Triority
Did get this error message when trying to compile for Android :

Code: Select all

I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/android.rpy", line 476, in <module>
IOError: [Errno 13] Permission denied: u'C:\\Users\\njk98\\Documents\\Renpy\\Welcome To Chichester 2 - Part I\\.android.json'

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

Full traceback:
  File "launcher/game/android.rpyc", line 469, in script
  File "C:\renpy-7.4.2-sdk/renpy/ast.py", line 923, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "C:\renpy-7.4.2-sdk/renpy/python.py", line 2235, in py_exec_bytecode
    exec(bytecode, globals, locals)
  File "game/android.rpy", line 476, in <module>
  File "C:\renpy-7.4.2-sdk\rapt\buildlib/rapt/configure.py", line 221, in configure
    config.save(directory)
  File "C:\renpy-7.4.2-sdk\rapt\buildlib/rapt/configure.py", line 60, in save
    with file(os.path.join(directory, ".android.json"), "w") as f:
IOError: [Errno 13] Permission denied: u'C:\\Users\\njk98\\Documents\\Renpy\\Welcome To Chichester 2 - Part I\\.android.json'

Windows-10-10.0.19041
Ren'Py 7.4.8.1895
Ren'Py Launcher 7.4.8.1895
Mon Aug  2 20:59:36 2021
While the file is hidden, it's not read-only. To get this to work, I had to make sure the .android.json wasn't hidden

Re: Ren'Py 7.4.7 Released

Posted: Mon Aug 02, 2021 5:43 pm
by PyTom
This isn't an error in Ren'Py - please make sure that the file is writable.

Re: Ren'Py 7.4.7 Released

Posted: Tue Aug 03, 2021 5:58 pm
by apexchimps
Hi, I just downloaded 7.4.8.1895 and the error I mentioned early in this thread is no longer happening. Thank you so much, Tom! Best regards!