hiulit / RetroPie-Godot-Engine-Emulator

A scriptmodule to install a Godot "emulator" for RetroPie.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sound issues on RPi3 / Adding an override.cfg

ubbo opened this issue · comments

commented

Hi, thanks a lot for this great script, exactly what I was searching for :-)

I did some tests of running godot games from itch.io on a Raspberry Pi 3 with Retropie yesterday. I did not find any game running without issues yet, but found a fix for all sound issues which is described here: godotengine/godot#43928 (comment)

Putting a file named override.cfg into ~/RetroPie/roms/godot-engine with the following content does apply this fix to all games in that folder:

[audio]
mix_rate=48000
output_latency=20

Now I think this file could be put there by default on RPi3 (and probably also RPi2/1/0) boxes. Or be added there by an option in the config script, similar to the "Force GLES2" option.

This file may also have the possibility to override other settings contained in the .pck files which do cause issues on RPi systems. The parameters are described here:
https://docs.godotengine.org/de/stable/classes/class_projectsettings.html

I could try to come up with a pull request implementing the audio fix for RPI3 if it makes sense. And possibly test on RPi2 and RPI0.

Hi there! Thanks for the feedback!
I'll see what I can do about that :)

I'm working on it!

Screenshot from 2021-03-19 17-59-12

Screenshot from 2021-03-19 17-59-44

As you can see, I'm using the default audio/mix_rate and audio/output_latency. I've tested on a Pi3 and it worked for me. But you will be able to change the values ;)

This file may also have the possibility to override other settings contained in the .pck files which do cause issues on RPi systems.

What other issues did you find?

As of v.1.5.0, there's a new override.cfg file in ~/RetroPie/roms/godot-engine, with some default audio values, to let the user override settings of the Godot "emulator. You can change those values in the configuration dialog.