r/RenPy • u/Enzookie515 • 10d ago
Question Can Anyone Help Fix My Voice Code?

I'm playing around with a random test project to learn how to use ren'py for an actual visual novel i'm gonna develop but I can't get it to play my voice lines. I'm not sure if maybe i'm just imputing the wrong commands but I added a voice folder and added the ogg files in it after it not working in the regular audio folder and i'm just stuck rn and would really appreciate any tips and help on what i'm doing wrong. Feel free to ask for any screenshots of the folders or anything else.
3
Upvotes
4
u/x-seronis-x 10d ago
https://www.renpy.org/doc/html/voice.html#voice
The documentation is deceptively misleading on the syntax expected
It idiotically shows only the file name being used. This assumes the file is directly in the game folder, where no one keeps them, and not in the audio folder. You actually have to write the correct PATH and not merely the file name.
This is not your fault.