Solarus - Gamepad settings (solved) and sound issues (solved)
-
Hi,
Is there a way to set gamepad buttons on Solarus. I already set the exit combo (for me ---> 9+0), but my gamepad doesn't work proprely (joysticks are in reverse mode and my right joystick works instead of the left one). The directional cross does not work.I'm using a teensy Lc as gamepad for my homemade Handheld system.
Any idea?
Can i use option.cfg in /opt/retropie/configs/solarus
Inside we have
QUIT_COMBO="0+9"
or settings.dat in a specific game folder like: /opt/retropie/configs/solarus/zbom
We can see:
fullscreen = true sound_volume = 100 music_volume = 100 language = "en" joypad_enabled = true
@hhromic
new edit : I found some answers here . I figure out I have to play with my PS4 controller for now.Also. I have no sound with those games on my Pi3 and Pi4. Is It normal. Do I have to set something?
Regards
-
Ok, I found a solution to map gamepad in Solarus.
First, you have to found a way to save your game for a first time.
After that, go in /opt/retropie/configs/solarus/game name (like bom)
And open your save1.dat file
Inside, you will found a lot of infos and this :
_joypad_action = "button 3" _joypad_attack = "button 4" _joypad_down_key = "axis 3 -" _joypad_item_1 = "button 1" _joypad_item_2 = "button 2" _joypad_left_key = "axis 2 +" _joypad_pause = "button 9" _joypad_right = "axis 2 -" _joypad_up_key = "axis 3 +" _keyboard_action = "space" _keyboard_attack = "c" _keyboard_down = "down" _keyboard_item_1 = "x" _keyboard_item_2 = "v" _keyboard_left = "left" _keyboard_pause = "d" _keyboard_right = "right" _keyboard_up = "up"
Now you can set your gamepad with the good numbers. It doesn't work for the main menu, but It works when you are in the game!
However, I didn't fix my sound issue.
-
Hi mitu, I would like to know if this is a personal problem (sound problem) or if it is a global problem. If it's just me, I'll dig it out and try to figure it out on my own, but if it's like that for everyone, I'll make a request on github.
-
@dteam said in Solarus - Gamepad settings (solved) and sound issues (not solved):
Hi mitu, I would like to know if this is a personal problem (sound problem) or if it is a global problem
Not sure, I don't have Solarus installed. A log file would be useful to track the issue though.
-
@mitu
I'm trying to chat on Discord with the Solarus people. We'll see what they think about this issue. They have nice video games, I hope they can fix that problem.
New edit: They will do some tests tomorrow -
Here's my runcommand.log output;
Parameters: Executing: /opt/retropie/ports/solarus/solarus.sh "/home/pi/RetroPie/roms/solarus/zbom.solarus" [Solarus] [0] Info: Solarus 1.6.5 (3aec70b) [Solarus] [0] Info: Opening quest '/home/pi/RetroPie/roms/solarus/zbom.solarus' [Solarus] [0] Info: Connected to audio device 'ALSA Default' [Solarus] [0] Info: Joypad quit combo enabled: 0+9 [Solarus] [0] Info: Joypad support enabled: true [Solarus] [0] Info: SDL: 2.0.10 [Solarus] [0] Info: Using modern GL Shaders [Solarus] [0] Info: Renderer: GlRenderer [Solarus] [0] Info: OpenGL: OpenGL ES 3.1 Mesa 19.3.2 [Solarus] [0] Info: OpenGL vendor: Broadcom [Solarus] [0] Info: OpenGL renderer: V3D 4.2 [Solarus] [0] Info: OpenGL shading language: OpenGL ES GLSL ES 3.10 [Solarus] [0] Info: Quest format: 1.6 [Solarus] [0] Info: Fullscreen: no [Solarus] [0] Info: LuaJIT: yes (LuaJIT 2.1.0-beta3) [Solarus] [0] Info: Fullscreen: yes [Solarus] [0] Info: Language: en [Solarus] [0] Info: Lua console: no [Solarus] [0] Info: Turbo mode: no [Solarus] [0] Info: Fullscreen: yes [Solarus] [0] Info: Cursor visible: no [Solarus] [0] Info: Simulation started AL lib: (EE) ALCplaybackAlsa_mixerProc: Wait timeout... buffer size too low? AL lib: (EE) ALCplaybackAlsa_mixerProc: Wait timeout... buffer size too low? AL lib: (EE) ALCplaybackAlsa_mixerProc: Wait timeout... buffer size too low? AL lib: (EE) ALCplaybackAlsa_mixerProc: Wait timeout... buffer size too low? AL lib: (EE) ALCplaybackAlsa_mixerProc: Wait timeout... buffer size too low? AL lib: (EE) ALCplaybackAlsa_mixerProc: Wait timeout... buffer size too low? libpng warning: iCCP: known incorrect sRGB profile libpng warning: iCCP: known incorrect sRGB profile AL lib: (EE) ALCplaybackAlsa_mixerProc: Wait timeout... buffer size too low? AL lib: (EE) ALCplaybackAlsa_mixerProc: Wait timeout... buffer size too low? AL lib: (EE) ALCplaybackAlsa_mixerProc: Wait timeout... buffer size too low? AL lib: (EE) ALCplaybackAlsa_mixerProc: Wait timeout... buffer size too low? AL lib: (EE) ALCplaybackAlsa_mixerProc: Wait timeout... buffer size too low? AL lib: (EE) ALCplaybackAlsa_mixerProc: Wait timeout... buffer size too low? libpng warning: iCCP: known incorrect sRGB profile AL lib: (EE) ALCplaybackAlsa_mixerProc: Wait timeout... buffer size too low? AL lib: (EE) ALCplaybackAlsa_mixerProc: Wait timeout... buffer size too low? AL lib: (EE) ALCplaybackAlsa_mixerProc: Wait timeout... buffer size too low? AL lib: (EE) ALCplaybackAlsa_mixerProc: Wait timeout... buffer size too low? AL lib: (EE) ALCplaybackAlsa_mixerProc: Wait timeout... buffer size too low? AL lib: (EE) ALCplaybackAlsa_mixerProc: Wait timeout... buffer size too low? AL lib: (EE) ALCplaybackAlsa_mixerProc: Wait timeout... buffer size too low? AL lib: (EE) ALCplaybackAlsa_mixerProc: Wait timeout... buffer size too low? AL lib: (EE) ALCplaybackAlsa_mixerProc: Wait timeout... buffer size too low? AL lib: (EE) ALCplaybackAlsa_mixerProc: Wait timeout... buffer size too low? AL lib: (EE) ALCplaybackAlsa_mixerProc: Wait timeout... buffer size too low? AL lib: (EE) ALCplaybackAlsa_mixerProc: Wait timeout... buffer size too low? AL lib: (EE) ALCplaybackAlsa_mixerProc: Wait timeout... buffer size too low? AL lib: (EE) ALCplaybackAlsa_mixerProc: Wait timeout... buffer size too low? AL lib: (EE) ALCplaybackAlsa_mixerProc: Wait timeout... buffer size too low? AL lib: (EE) ALCplaybackAlsa_mixerProc: Wait timeout... buffer size too low? AL lib: (EE) ALCplaybackAlsa_mixerProc: Wait timeout... buffer size too low? AL lib: (EE) ALCplaybackAlsa_mixerProc: Wait timeout... buffer size too low? AL lib: (EE) ALCplaybackAlsa_mixerProc: Wait timeout... buffer size too low? AL lib: (EE) ALCplaybackAlsa_mixerProc: Wait timeout... buffer size too low? AL lib: (EE) ALCplaybackAlsa_mixerProc: Wait timeout... buffer size too low? AL lib: (EE) ALCplaybackAlsa_mixerProc: Wait timeout... buffer size too low? AL lib: (EE) ALCplaybackAlsa_mixerProc: Wait timeout... buffer size too low? AL lib: (EE) ALCplaybackAlsa_mixerProc: Wait timeout... buffer size too low? AL lib: (EE) ALCplaybackAlsa_mixerProc: Wait timeout... buffer size too low? AL lib: (EE) ALCplaybackAlsa_mixerProc: Wait timeout... buffer size too low? AL lib: (EE) ALCplaybackAlsa_mixerProc: Wait timeout... buffer size too low? AL lib: (EE) ALCplaybackAlsa_mixerProc: Wait timeout... buffer size too low? AL lib: (EE) ALCplaybackAlsa_mixerProc: Wait timeout... buffer size too low?
-
-
@dteam said in Solarus - Gamepad settings (solved) and sound issues (not solved):
AL lib: (EE) ALCplaybackAlsa_mixerProc: Wait timeout... buffer size too low?
This might be related to the sound issue. Do you have PulseAudio installed and active ?
-
@mitu
I installed the official image from Retropie with the last update.
I never played with sound parameters before. No I guess.Hhromic told me this on Discord :
@Dteam looks like the audio device is opened by something else and Solarus can't use it.
Do you have something else running in the background that uses the sound output?
Maybe PulseAudio ? I have read recently that it causes trouble sometimes. I understand RetroPie should have disabled it for you automatically. -
@dteam said in Solarus - Gamepad settings (solved) and sound issues (not solved):
I installed the official image from Retropie with the last update.
I never played with sound parameters before. No I guess.I tested the same game (Book of Mudora) and I have no issues with the sound in Solarus. Check again if you have PulseAudio installed and active - it's installed automatically in Raspberry Pi OS if you install the desktop.
-
@mitu
Should I do this:sudo apt-get --purge remove pulseaudio sudo apt-get autoremove
-
You can disable PulseAudio from the Audio menu in RetroPie - it will tell you if it's active. Removing it might remove other needed packages also.
-
@mitu
I don't see this option in the Audio menu.I have :
0 - HDMI
1 - Headphone
M - Mixer
R - Rest to default -
@dteam Then you don't have PulseAudio installed or it's not active/enabled.
-
@mitu
Not installed
Audio card = default
Audio device Headphone
enable navigation sounds = on
enable video audion = on
OMX player audio device = alsaAll my emulators working fine except that one. It's strange
-
Might be an OpenAL issue. Can you try creating a configuration file -
$HOME/.alsoftrc
- with the following contents:[alsa] mmap = false
and re-try starting a Solarus game ?
-
@mitu
Wow !!! solved !!! Thanks , you have hit the bullseye !
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.