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.
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:
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'
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.
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.
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.
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.
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.
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?)
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?)