Ren'Py 7.4.0 Prereleased

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
RicharDann
Veteran
Posts: 286
Joined: Thu Aug 31, 2017 11:47 am
Contact:

Re: Ren'Py 7.4.0 Prereleased

#31 Post by RicharDann »

PyTom>
Thank you, I can confirm at least that in 1028 the encoding problems I previously experienced have been fixed on my system.
However, I found another small bug. When removing an optional attribute from a shown layered image with the minus operator, this error is thrown:

Code: Select all

I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/script.rpy", line 22, in script
    show nora -happy with dissolve
AttributeError: 'list' object has no attribute 'discard'

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

Full traceback:
  File "game/script.rpy", line 22, in script
    show nora -happy with dissolve
  File "renpy/ast.py", line 1178, in execute
    show_imspec(self.imspec, atl=getattr(self, "atl", None))
  File "renpy/ast.py", line 1148, in show_imspec
    atl=atl)
  File "renpy/exports.py", line 720, in show
    new_what = renpy.game.context().images.apply_attributes(layer, key, name)
  File "renpy/display/image.py", line 931, in apply_attributes
    optional.discard(i)
AttributeError: 'list' object has no attribute 'discard'
The most important step is always the next one.

User avatar
PyTom
Ren'Py Creator
Posts: 16093
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 7.4.0 Prereleased

#32 Post by PyTom »

7.4.0.1034)

Fixed the issue starting on windows, thanks to akakyouryuu.

Fixed RichardDann's issue as well.
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
yukinogatari
Newbie
Posts: 10
Joined: Thu Jul 16, 2020 5:26 am
Github: yukinogatari
Contact:

Re: Ren'Py 7.4.0 Prereleased

#33 Post by yukinogatari »

On Windows 7, Ren'Py 7.4.0.1034, the launcher and games spaz out with a Nintendo Switch Pro Controller plugged in. It *seems* to think the buttons are constantly being pressed, because mousing over anything causes it to be immediately selected. It only happens with my Switch pro con, and not my DualShock 4, but those are the only controllers I have on hand. Log attached in case it helps.
Attachments
log.txt
(13.36 KiB) Downloaded 16 times

User avatar
akakyouryuu
Regular
Posts: 162
Joined: Fri Nov 30, 2012 10:29 am
Contact:

Re: Ren'Py 7.4.0 Prereleased

#34 Post by akakyouryuu »

Hello, Pytom. I founded that ren'py warp function didn't work in current version.

I tested old the_question.

script.rpy
27 scene bg lecturehall
28 with fade
29
30 "Well, professor Eileen's lecture was interesting."
31 "But to be honest, I couldn't concentrate on it very much."
32 "I had a lot of other thoughts on my mind."
33 "And they all ended up with a question."

I used below command
renpy the_question --warp script.rpy:31

In v6.99.4
The dialogue in line 31 and bg was displayed

In vRen'Py 7.4.0.1034
The dialogue in line 31 was displayed, but bg image wasn't.

Andy_kl
Newbie
Posts: 18
Joined: Sun Apr 09, 2017 12:00 pm
Contact:

Re: Ren'Py 7.4.0 Prereleased

#35 Post by Andy_kl »

Warp bug fixed. Good catch.

User avatar
PyTom
Ren'Py Creator
Posts: 16093
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 7.4.0 Prereleased

#36 Post by PyTom »

yukinogatari>>> How do you hook your pro controller up to the computer? I'm picking one up to test with, and I'd like to recreate your problem.
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
NikStory
Newbie
Posts: 17
Joined: Tue Nov 26, 2013 2:36 pm
Projects: My DSE, Console
Contact:

Re: Ren'Py 7.4.0 Prereleased

#37 Post by NikStory »

Renpy 7.4.0 does not start on Windows XP with an error.
Previous versions are stable.
Attachments
renerror.png

User avatar
uyjulian
Regular
Posts: 128
Joined: Sun Mar 08, 2015 1:40 pm
Github: uyjulian
Contact:

Re: Ren'Py 7.4.0 Prereleased

#38 Post by uyjulian »

NikStory wrote: Sun Dec 06, 2020 11:21 pm Renpy 7.4.0 does not start on Windows XP with an error.
Previous versions are stable.
It looks like you are missing dll. Try installing missing dll

User avatar
yukinogatari
Newbie
Posts: 10
Joined: Thu Jul 16, 2020 5:26 am
Github: yukinogatari
Contact:

Re: Ren'Py 7.4.0 Prereleased

#39 Post by yukinogatari »

PyTom wrote: Wed Dec 02, 2020 8:44 pm yukinogatari>>> How do you hook your pro controller up to the computer? I'm picking one up to test with, and I'd like to recreate your problem.
I connect via USB (a USB 2 port if that matters), using the Steam client's driver. After some experimentation, it seems that with Steam closed, the problem doesn't occur, but also the controller doesn't do anything in Ren'Py. So it may just be an issue with the Steam driver and not Ren'Py, though it still poses an issue for games released on Steam.

User avatar
NikStory
Newbie
Posts: 17
Joined: Tue Nov 26, 2013 2:36 pm
Projects: My DSE, Console
Contact:

Re: Ren'Py 7.4.0 Prereleased

#40 Post by NikStory »

uyjulian wrote: Mon Dec 07, 2020 11:32 pm It looks like you are missing dll. Try installing missing dll
If everything were that simple, this library has been used since Windows Vista and is not supported in 32-bit XP. I have tried several versions with no success.

User avatar
PyTom
Ren'Py Creator
Posts: 16093
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 7.4.0 Prereleased

#41 Post by PyTom »

I just uploaded a new version of 7.4 that won't use bcrypt.dll. But it's time to stop using Windows XP. Security support ended six years ago.
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
Imperf3kt
Lemma-Class Veteran
Posts: 3791
Joined: Mon Dec 14, 2015 5:05 am
itch: Imperf3kt
Location: Your monitor
Contact:

Re: Ren'Py 7.4.0 Prereleased

#42 Post by Imperf3kt »

PyTom wrote: Thu Dec 10, 2020 3:11 am I just uploaded a new version of 7.4 that won't use bcrypt.dll. But it's time to stop using Windows XP. Security support ended six years ago.
lol, try telling this to your bank. Most banking systems still run on Windows XP systems and the banks refuse to upgrade a working system.
https://en.wikipedia.org/wiki/Automated ... 20Embedded.
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.

Current project: GGD Mentor

Twitter

User avatar
PyTom
Ren'Py Creator
Posts: 16093
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 7.4.0 Prereleased

#43 Post by PyTom »

It's a good thing that one's unlikely to run Ren'Py on an ATM.

But more seriously, it's been 14 years since the release of XP's replacement, Windows Vista. It's been 11 years since the second replacement, Windows 7. More importantly, the software that Ren'Py depends on, like ffmpeg, is starting to drop support for Windows XP. Given that Firefox and Chrome both have dropped support for Windows XP, I suspect that I will be dropping support for it soon. I don't plan to do anything to actively break XP, and I'm not going to roll back this bycrypt fix, but I'll probably raise the minimum version to Windows 7 and not fix problems like this.
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
Imperf3kt
Lemma-Class Veteran
Posts: 3791
Joined: Mon Dec 14, 2015 5:05 am
itch: Imperf3kt
Location: Your monitor
Contact:

Re: Ren'Py 7.4.0 Prereleased

#44 Post by Imperf3kt »

Sorry, I meant that as a humorous remark, not a sarcastic retort.
I fully support dropping XP support
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.

Current project: GGD Mentor

Twitter

User avatar
PyTom
Ren'Py Creator
Posts: 16093
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 7.4.0 Prereleased

#45 Post by PyTom »

Yeah, looking into this more, supporting Windows XP is going to be too much work, now that ffmpeg had dropped support. So Ren'Py 7.4 will not run on Windows XP.
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

Post Reply

Who is online

Users browsing this forum: Google [Bot]