Page 1 of 1

Ren'Py games not registering on sound mixer

Posted: Sat May 29, 2021 3:03 pm
by BáiYù
Hi all, I'm encountering a rather frustrating issue concerning audio channels on Windows 10. I don't know if this is a Windows or Ren'Py-side issue, but any games that I launch (from the engine launcher itself to distributed games) do not appear in the Sound Mixer bar and thus are not producing sounds whatsoever, even when I confirm that others can hear music in those builds. Firefox, Discord, TyranoBuilder, Media Player Classic, and system sounds are all working just fine.

I've done all the steps listed in this Microsoft Help thread, and it still haven't changed anything. I also installed the K-Lite Codec and updated my RealTek Audio drivers. EarTrumpet does not recognize Ren'Py games either.
https://answers.microsoft.com/en-us/win ... 2a0?page=2

I'm wondering if any other Windows10 users are encountering this issue? For reference, these are my laptop specs:

Code: Select all

Intel(R) Core(TM) i5-4200M CPU @ 2.50GHz 2.49 GHz
8.00 GB RAM
64-bit Operating System, x64-based processor

Re: Ren'Py games not registering on sound mixer

Posted: Sun May 30, 2021 1:21 pm
by bonnie_641
BáiYù wrote: Sat May 29, 2021 3:03 pm Hi all, I'm encountering a rather frustrating issue concerning audio channels on Windows 10.
Hello!
I don't know if I understood the problem correctly, but all Ren'Py games I tested on Windows 10 the Python icon appears.
In case it doesn't appear, it's probably an operating system problem (maybe some sound setting was modified in the privacy section).

Re: Ren'Py games not registering on sound mixer

Posted: Mon May 31, 2021 10:13 pm
by PyTom
Can you check the log.txt to see if there's any output there? If something fails during audio initialization, Ren'Py will suppress sound and keep going - but I can't think of anything that would cause that, except maybe a directsound dll being missing. (Unlikely.)

Re: Ren'Py games not registering on sound mixer

Posted: Thu Jun 03, 2021 7:38 pm
by BáiYù
bonnie_641 wrote: Sun May 30, 2021 1:21 pm
BáiYù wrote: Sat May 29, 2021 3:03 pm Hi all, I'm encountering a rather frustrating issue concerning audio channels on Windows 10.
Hello!
I don't know if I understood the problem correctly, but all Ren'Py games I tested on Windows 10 the Python icon appears.
In case it doesn't appear, it's probably an operating system problem (maybe some sound setting was modified in the privacy section).
Not even a general Python icon appears for any of them now, sadly enough.
PyTom wrote: Mon May 31, 2021 10:13 pm Can you check the log.txt to see if there's any output there? If something fails during audio initialization, Ren'Py will suppress sound and keep going - but I can't think of anything that would cause that, except maybe a directsound dll being missing. (Unlikely.)
I set debug.sound to True and launched the game. This was the resulting log.txt, though I couldn't figure out anything useful from it... then again, I'm not sure what I'm looking for.

Code: Select all

Thu Jun  3 19:31:59 2021
Windows-10-10.0.19041
Ren'Py 7.4.5.1648
 

Bootstrap to the start of init.init took 0.14s
Early init took 0.02s
Loader init took 0.16s
Loading error handling took 0.04s
Loading script took 0.67s
Loading save slot metadata. took 0.15s
Loading persistent took 0.00s
Importing _renpysteam: ImportError('No module named _renpysteam',)
Running init code took 0.19s
Loading analysis data took 0.07s
Analyze and compile ATL took 0.01s
Index archives took 0.00s
Backing up script files to 'C:\\Users\\user\\AppData\\Roaming/RenPy/backups\\Up All Night':
Dump and make backups. took 0.14s
Cleaning cache took 0.00s
Making clean stores took 0.00s
Initial gc. took 0.04s
DPI scale factor: 1.000000
nvdrs: Loaded, about to disable thread optimizations.
nvdrs: "Couldn't load nvlib." (can be ignored)
Creating interface object took 0.00s
Cleaning stores took 0.00s
Init translation took 0.07s
Build styles took 0.01s
Load screen analysis took 0.01s
Analyze screens took 0.02s
Save screen analysis took 0.10s
Prepare screens took 0.13s
Save pyanalysis. took 0.00s
Save bytecode. took 0.04s
Running _start took 0.00s
Performance test:
Interface start took 0.17s

Initializing gl2 renderer:
primary display bounds: (0, 0, 1366, 768)
swap interval: 1 frames
Windowed mode.
Vendor: 'Intel'
Renderer: 'Intel(R) HD Graphics 4600'
Version: '4.3.0 - Build 20.19.15.4835'
Display Info: None
Screen sizes: virtual=(1920, 1080) physical=(1184, 666) drawable=(1184, 666)
Maximum texture size: 4096x4096
Total time until interface ready: 2.5125579834s

Re: Ren'Py games not registering on sound mixer

Posted: Sat Jun 05, 2021 8:35 pm
by BáiYù
Found a workaround instead of a solution: Install VoiceMeeter Banana.

I'm not fond of the idea of having to keep all these extra programs for basic things to work on my laptop, but this will do for now.