Ren'Py 5.6.6 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.
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:

#31 Post by PyTom »

You can try creating (in the game directory) a file containing:

Code: Select all

init:
    $ config.debug_sound = True
That will cause Ren'Py to report sound errors. Beyond that, I can't help much, since this part of the sound code is embedded in the SDL library. I would suggest using strace, especially

strace -f -eopen (command)

to see if any files fail to open.
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

gauveldt
Newbie
Posts: 8
Joined: Sat Jan 20, 2007 11:57 pm
Location: Prince George, BC, Canada
Contact:

#32 Post by gauveldt »

PyTom wrote:You can try creating (in the game directory) a file containing:

Code: Select all

init:
    $ config.debug_sound = True
That will cause Ren'Py to report sound errors. Beyond that, I can't help much, since this part of the sound code is embedded in the SDL library. I would suggest using strace, especially

strace -f -eopen (command)

to see if any files fail to open.
LOTS of stuff isn't opening... :cry:
strace -f -eopen ./renpy.sh &>errlog.txt
result is at http://rpg.animemayhem.com/renpyerrlog.txt
Attachments
errlog.txt
strace output
run renpy.sh (via strace)
launch the demo from the launcher
go through intro
select the music/multimedia tutorial
go through it
select I'm done for now
quit the launche
(451.8 KiB) Downloaded 109 times

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:

#33 Post by PyTom »

Try it with -e trace=file rather than -e open. It might be a stat call that's failing.
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

gauveldt
Newbie
Posts: 8
Joined: Sat Jan 20, 2007 11:57 pm
Location: Prince George, BC, Canada
Contact:

#34 Post by gauveldt »

PyTom wrote:Try it with -e trace=file rather than -e open. It might be a stat call that's failing.
I have:
declare -x SDL_AUDIODRIVER="alsa"

in exports,

and created the file
debug.rpy in the demo's game directory:

Code: Select all

init:
    $ config.sound.debug = True
after running the demo (still no sound) with:
strace -f -etrace=file ./renpy.sh demo &>errlog.txt

there's a debug.rpyc file (so it got compiled but did it get used?)

I don't get any error messages from enabling sound debug
Here's the trace (this is now symlinked so it shows the result of the most recent run which was to execute the strace... line above): http://rpg.animemayhem.com/renpyerrlog.txt

(This will save on sending an attachment each time)

monele
Lemma-Class Veteran
Posts: 4101
Joined: Sat Oct 08, 2005 7:57 am
Location: France
Contact:

#35 Post by monele »

Just a note about the Wiki reference :

http://www.renpy.org/wiki/renpy/doc/reference/NVL_Mode
The } transition statement
Is this a typo ? According to the context, I suppose it could be "the hide transition".

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:

#36 Post by PyTom »

Fixed, thanks.
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

gauveldt
Newbie
Posts: 8
Joined: Sat Jan 20, 2007 11:57 pm
Location: Prince George, BC, Canada
Contact:

Sound issues (cont'd)

#37 Post by gauveldt »

PyTom wrote:Try it with -e trace=file rather than -e open. It might be a stat call that's failing.
With my latest post, any ideas about the sound issues I'm having?

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:

#38 Post by PyTom »

Okay, nailed the audio problem. It was a library version issue, which was preventing sound from loading. The fix should be in the next release of Ren'Py, which should be in a few days or so.

EDIT: Or you can just drop the attached file into renpy-5.6.6/lib/linux-x86/lib/python2.4/pysdlsound . If you let me know it works, I'll post the fix on the main Ren'Py page.
Attachments
sound.so
(749.62 KiB) Downloaded 122 times
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

gauveldt
Newbie
Posts: 8
Joined: Sat Jan 20, 2007 11:57 pm
Location: Prince George, BC, Canada
Contact:

#39 Post by gauveldt »

PyTom wrote:Okay, nailed the audio problem. It was a library version issue, which was preventing sound from loading. The fix should be in the next release of Ren'Py, which should be in a few days or so.

EDIT: Or you can just drop the attached file into renpy-5.6.6/lib/linux-x86/lib/python2.4/pysdlsound . If you let me know it works, I'll post the fix on the main Ren'Py page.
Sound now works. Thank you greatly.

Regards,
Brian

Post Reply

Who is online

Users browsing this forum: Google [Bot]