RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Solarus - Gamepad settings (solved) and sound issues (solved)

    Scheduled Pinned Locked Moved Help and Support
    solarusgamepad
    17 Posts 2 Posters 1.5k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • DTEAMD
      DTEAM @DTEAM
      last edited by DTEAM

      @dteam

      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.

      launching.png

      DTEAMD 1 Reply Last reply Reply Quote 0
      • DTEAMD
        DTEAM @DTEAM
        last edited by

        @mitu

        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.

        mituM 1 Reply Last reply Reply Quote 0
        • mituM
          mitu Global Moderator @DTEAM
          last edited by

          @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.

          DTEAMD 1 Reply Last reply Reply Quote 0
          • DTEAMD
            DTEAM @mitu
            last edited by DTEAM

            @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

            DTEAMD 1 Reply Last reply Reply Quote 0
            • DTEAMD
              DTEAM @DTEAM
              last edited by

              @hhromic

              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?
              
              
              DTEAMD 1 Reply Last reply Reply Quote 0
              • DTEAMD
                DTEAM @DTEAM
                last edited by DTEAM

                @mitu

                AL lib: (EE) ALCplaybackAlsa_mixerProc: Wait timeout... buffer size too low?
                libpng warning: iCCP: known incorrect sRGB profile

                Do you think it's related to that ? I have speak to hhromic on Discord, He will take a look on that.

                mituM 1 Reply Last reply Reply Quote 0
                • mituM
                  mitu Global Moderator @DTEAM
                  last edited by

                  @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 ?

                  DTEAMD 1 Reply Last reply Reply Quote 0
                  • DTEAMD
                    DTEAM @mitu
                    last edited by DTEAM

                    @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.

                    mituM 1 Reply Last reply Reply Quote 0
                    • mituM
                      mitu Global Moderator @DTEAM
                      last edited by

                      @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.

                      DTEAMD 1 Reply Last reply Reply Quote 0
                      • DTEAMD
                        DTEAM @mitu
                        last edited by DTEAM

                        @mitu
                        Should I do this:

                        sudo apt-get --purge remove pulseaudio
                        sudo apt-get autoremove
                        
                        1 Reply Last reply Reply Quote 0
                        • mituM
                          mitu Global Moderator
                          last edited by

                          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.

                          DTEAMD 1 Reply Last reply Reply Quote 0
                          • DTEAMD
                            DTEAM @mitu
                            last edited by

                            @mitu
                            I don't see this option in the Audio menu.

                            I have :
                            0 - HDMI
                            1 - Headphone
                            M - Mixer
                            R - Rest to default

                            mituM 1 Reply Last reply Reply Quote 0
                            • mituM
                              mitu Global Moderator @DTEAM
                              last edited by

                              @dteam Then you don't have PulseAudio installed or it's not active/enabled.

                              DTEAMD 1 Reply Last reply Reply Quote 0
                              • DTEAMD
                                DTEAM @mitu
                                last edited by DTEAM

                                @mitu
                                Not installed
                                Audio card = default
                                Audio device Headphone
                                enable navigation sounds = on
                                enable video audion = on
                                OMX player audio device = alsa

                                All my emulators working fine except that one. It's strange

                                mituM 1 Reply Last reply Reply Quote 0
                                • mituM
                                  mitu Global Moderator @DTEAM
                                  last edited by mitu

                                  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 ?

                                  DTEAMD 1 Reply Last reply Reply Quote 2
                                  • DTEAMD
                                    DTEAM @mitu
                                    last edited by DTEAM

                                    @mitu
                                    Wow !!! solved !!! Thanks , you have hit the bullseye !

                                    1 Reply Last reply Reply Quote 0
                                    • First post
                                      Last post

                                    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.