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

    SF30 Pro 8bitdo - mupen64plus

    Scheduled Pinned Locked Moved Help and Support
    8bitdo sf30 promupen64plusjoystick mappin
    11 Posts 3 Posters 3.1k 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.
    • F
      fraisdos125
      last edited by

      Good day,

      mupen64plus works good on raspberry p3b+, installation carried out from terminal under Raspbian lite.

      When it comes to the SF30 Pro mapping under this emulator (mupen64plus) it is another topic. This emulator uses his own joystick mapping in opposition to retroarch mapping.

      Joystick started in DInput (start+B).
      In that case, jstest gives the following:
      0_1528661432686_SF30 Pro mapping.jpg

      Based on that I tried to configure to file InputAutoCfg.ini under roms/n64 folder with :
      ; 8Bitdo SF30 Pro_START
      [8Bitdo SF30 Pro]
      plugged = True
      plugin = 2
      mouse = False
      DPad R = axis(6+)
      DPad L = axis(6)
      DPad D = axis(7+)
      DPad U = axis(7-)
      Start = button(11)
      Z Trig = button(10)
      B Button = button(1)
      A Button = button(0)
      C Button R = axis(2+)
      C Button L = button(4) axis(2-)
      C Button D = button(0) axis(3+)
      C Button U = axis(3-)
      X Axis = axis(0-,0+)
      Y Axis = axis(1-,1+)
      R Trig = button(7)
      L Trig = button(6)
      Mempak switch = button(13)
      Rumblepak switch = button(14)
      AnalogDeadzone = 4096,4096
      AnalogPeak = 32767,32767
      #AnalogPeak = 32768,32768
      ; 8Bitdo SF30 Pro_END

      Even with this modification I still have issues with the joystick. As for example select+L (load state) and select+R (save state) doesn't work.

      Any idea what is wrong ?

      quicksilverQ 1 Reply Last reply Reply Quote 0
      • quicksilverQ
        quicksilver @fraisdos125
        last edited by

        @fraisdos125 can you be more specific? What do you mean they don't work? Do all the other controls work properly? What happens when you load state? Does the game crash or nothing happens?

        F 1 Reply Last reply Reply Quote 0
        • F
          fraisdos125 @quicksilver
          last edited by

          @quicksilver
          When I try to save the game status (select+R), nothing happens. That gives the feeling that the select button is not recognised.
          For the other controls, D-Pad doesn't look to work as well, for this I have to test to be sure.

          quicksilverQ 1 Reply Last reply Reply Quote 0
          • quicksilverQ
            quicksilver @fraisdos125
            last edited by quicksilver

            @fraisdos125 does start+select properly close the emulator/game?

            Hotkey+L in mupen64plus does not have an onscreen text that shows the save state. What happens when you load state?

            1 Reply Last reply Reply Quote 0
            • F
              fraisdos125
              last edited by

              Select+R doesn't nothing. Idem for Select+Start.
              For Select+Start I understand as I have already changed the mapping for that action.

              I went back on the configuration files and have done few mods:
              mupen64plus.cfg:

              [CoreEvents]
              Joy Mapping Stop = "J0B2/B11"
              Joy Mapping Save State = "J0B2/B7"
              Joy Mapping Load State = "J0B2/B6"
              Joy Mapping Increment Slot = "JB0B2/B10"
              Joy Mapping Increase Volume = "J0B2/B8"
              Joy Mapping Decrease Volume = "JB0B2/B9"

              Always with the following InputAutoCfg.ini
              ; 8Bitdo SF30 Pro_START
              [8Bitdo SF30 Pro]
              plugged = True
              plugin = 2
              mouse = False
              DPad R = axis(6+)
              DPad L = axis(6-)
              DPad D = axis(7+)
              DPad U = axis(7-)
              Start = button(11)
              Z Trig = button(10)
              B Button = button(1)
              A Button = button(0)
              C Button R = axis(2+)
              C Button L = button(4) axis(2-)
              C Button D = button(0) axis(3+)
              C Button U = axis(3-)
              X Axis = axis(0-,0+)
              Y Axis = axis(1-,1+)
              R Trig = button(7)
              L Trig = button(6)
              Mempak switch = button(13)
              Rumblepak switch = button(14)
              AnalogDeadzone = 4096,4096
              AnalogPeak = 32767,32767
              #AnalogPeak = 32768,32768
              ; 8Bitdo SF30 Pro_END

              with the above I should have:
              hotkey+Start to stop the emulator
              hotkey+R to save
              hotkey+L to load
              hotkey+select to increment slot
              hotkey+L2 to increase volume
              hotkey+R2 to decrease volume.

              This mods have been done through ssh being outside of my home. I will test the result when I will be back in few days and let you know.
              Many thanks

              1 Reply Last reply Reply Quote 0
              • F
                fraisdos125
                last edited by

                I am really lost.
                I did again some changes in the files.
                Here are the current settings:

                InputAutoCfg.ini:

                ; 8Bitdo SF30 Pro_START
                [8Bitdo SF30 Pro]
                plugged = True
                plugin = 2
                mouse = False
                DPad R = hat(0 Right)
                DPad L = hat(0 Left)
                DPad D = hat(0 Down)
                DPad U = hat(0 Up)
                Start = button(11)
                Z Trig = button(9)
                B Button = button(4)
                A Button = button(1)
                C Button R = axis(2+)
                C Button L = axis(2-)
                C Button D = axis(3+)
                C Button U = axis(3-)
                X Axis = axis(0-,0+)
                Y Axis = axis(1-,1+)
                R Trig = button(7)
                L Trig = button(6)
                Mempak switch = button(13)
                Rumblepak switch = button(14)
                AnalogDeadzone = 4096,4096
                AnalogPeak = 32767,32767
                ; 8Bitdo SF30 Pro_END

                and in mupen64plus.cfg
                Joy Mapping Save State = "J1B2/B7"
                Joy Mapping Load State = "J1B2/B6"
                Joy Mapping Increment Slot = "J0B0B2/B10"
                Joy Mapping Screenshot = ""
                Joy Mapping Pause = "J0B02/B0"
                Joy Mapping Mute = "J0B02/B1"
                Joy Mapping Increase Volume = "J0B2/B8"
                Joy Mapping Decrease Volume = "J0B2/B9"

                With the above I expect:
                A by pressing B button: OK
                B by pressing Y button: OK
                Start by pressing start button: OK
                L trigger by pressing L button: OK
                R trigger by pressing R button: OK
                Z button by pressing R2 button: looks not working
                Mempack by pressing Left Thumb: OK
                Rumblepack by pressing Right Thumb: OK

                hotkey (retropie button) +Start for stopping the emulator: doesn't work.
                hotkey+R for saving state: looks not working.
                hotkey+L for loading state: looks not working.
                hotkey+L2 for incrementing slot: looks not working.
                hotkey+A for loading state: looks not working.
                hotkey+B for mutting: doesn't work.
                hotkey+L2 for increasing the sound: doesn't work.
                hotkey+R2 for decreasing the sound: doesn't work.

                Apparently hotkey has no effect.
                Any idea ?

                1 Reply Last reply Reply Quote 0
                • F
                  fraisdos125
                  last edited by

                  it seems that hotkeys are dynamically written into mupen64plus.cfg.
                  The previous one has been modified when mupen64plus started with 2 joysticks.

                  No with only one and correction first, I have the following one:
                  Joy Mapping Stop = "J0B2/B11"
                  Joy Mapping Fullscreen = ""
                  Joy Mapping Save State = "J0B2/B7"
                  Joy Mapping Load State = "J0B2/B6"
                  Joy Mapping Increment Slot = "J0B2/B10"
                  Joy Mapping Screenshot = ""
                  Joy Mapping Pause = "J0B2/B0"
                  Joy Mapping Mute = "J0B2/B1"
                  Joy Mapping Increase Volume = "J0B2/B8"
                  Joy Mapping Decrease Volume = "J0B2/B9"

                  hotkey + start: OK
                  hotkey + L: quit the emulator instead of loading state expected
                  L: doesn't work as expected
                  R2 is the working as L button.

                  the more I look into the troubleshooting, the more I am lost :-)

                  1 Reply Last reply Reply Quote 0
                  • S
                    snock
                    last edited by snock

                    Hello, I put my configuration, try it ...
                    https://transfer.sh/EJE6O/mupen64plus.cfg
                    https://transfer.sh/14bsb3/InputAutoCfg.ini

                    Review the file /opt/retropie/configs/all/autoconf.cfg and add / modify the following:

                    mupen64plus_audio = "0"
                    mupen64plus_compatibility_check = "1"
                    mupen64plus_hotkeys = "0"

                    F 1 Reply Last reply Reply Quote 0
                    • F
                      fraisdos125 @snock
                      last edited by

                      @snock said in SF30 Pro 8bitdo - mupen64plus:

                      Hello, I put my configuration, try it ...
                      https://transfer.sh/EJE6O/mupen64plus.cfg
                      https://transfer.sh/14bsb3/InputAutoCfg.ini

                      Review the file /opt/retropie/configs/all/autoconf.cfg and add / modify the following:

                      mupen64plus_audio = "0"
                      mupen64plus_compatibility_check = "1"
                      mupen64plus_hotkeys = "0"

                      Thank you snock.
                      Troubleshooting goes ahead. I changed mupen64plus_audio = "1" to mupen64plus_audio = "0" and then I can save and load status with hotkey + (R and L) Trigger. But others like hotkey + start (which was the one I want to leave the emulator) doesn't work anymore.

                      Based on the above I suspect a corrupted mupen64plus.cfg file.
                      As soon as I can I will use your file and see the result.

                      1 Reply Last reply Reply Quote 1
                      • F
                        fraisdos125
                        last edited by fraisdos125

                        @snock
                        With your files, freshly replacing mine I can:

                        • leave the emulator with start and select,
                        • save
                        • load

                        Few troubles with A button which doesn't work, left analog no actions, right analog ok.
                        I restarted emulationsation and then left analog OK, exit emulator ok, save and load ok.
                        L doesn't work, R2 replaces it.

                        Really strange :-)

                        One question, which mode are you using ? B+start or ?

                        1 Reply Last reply Reply Quote 0
                        • F
                          fraisdos125
                          last edited by fraisdos125

                          All solved and work as expected after modifying mupen64plus.cfg from:
                          # Controller configuration mode: 0=Fully Manual, 1=Auto with named SDL Device, 2=Fully automatic
                          mode = 2

                          to:
                          # Controller configuration mode: 0=Fully Manual, 1=Auto with named SDL Device, 2=Fully automatic
                          mode = 1

                          I have done my own mapping, at the end:
                          0_1531725491626_2d77c9b5-705b-4701-adca-ef13e511e992-image.png

                          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.