• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
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

Pandora Box used as Game Pad []

Scheduled Pinned Locked Moved Help and Support
configurationpandora boxhelpandsupport
12 Posts 5 Posters 4.6k 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.
  • S
    sliderem
    last edited by 24 May 2021, 11:33

    Hello,

    I have a Pandora Box 3d that I use as a controllers for my RetroPie installation, in "game pad mode" through the USBcable.

    Initially I used this on my Raspberry Pi 4 on the Recall Box, and it was detected very fast, out of the box, as two controllers "MBX n200" configured (I do not know what this means)

    When I moved to Retro Pi, as I want this to be my main installation, it detected only one MBX n200 for the two Pandora box joysticks and buttons.

    After searching on the net, I found this trick to add in /boot/cmdline.txt the Pandora Box ID
    usbhid.quirks=0x16c0:0x05e0:0x040

    Step 7 below
    https://www.instructables.com/Raspberry-Pi-Inside-Pandoras-Box-Arcade-System/

    It did the trick, worked to have this recognized as two controllers, I configured them, but they work only in the menu, not in the games :(!

    Could you give me some directions, what should I try ?
    I am very surprised that Recall Box is recognizing this flawlessly out of the box and RetroPie, NOT :(

    [Pandora Box]

    T B 2 Replies Last reply 24 May 2021, 12:56 Reply Quote 0
    • M
      mitu Global Moderator
      last edited by 24 May 2021, 12:29

      NOTE: Topic moved to Help & Support, the Controlblock form is specially for that kind of devices.

      Please add more info about your system, as detailed in https://retropie.org.uk/forum/topic/3/read-this-first.

      1 Reply Last reply Reply Quote 0
      • T
        Thorr69 @sliderem
        last edited by 24 May 2021, 12:56

        @sliderem I use a Pandora's Box 5 for my arcade setup. I had similar trouble at first. I took out the internal usb drive to make sure it didn't fire up its own game system. Then the thing that kept messing me up was that I had to make sure I connect BOTH usb controller connections. Once I did that, it worked without an issue. (I don't recall if I actually added the usbhid line to my system. I know I looked into it pretty heavily, but my system is packed in storage right now and I can't check.)

        If you've done the controller setup (just for stick 1) then it should cover everything. If mame2003plus is giving you a hard time then you might have to check to see if the setup has the controllers in Analog mode. That was the last thing i had to do for mine to make it work. Yours is a different model, so I can't really say anything specific that will help further, but I do know that the setup should work for you.

        RPi 3b
        Official PSU
        Official RetroPie image
        Pandora's Box 5 controller

        S 1 Reply Last reply 24 May 2021, 20:20 Reply Quote 0
        • S
          sliderem @Thorr69
          last edited by 24 May 2021, 20:20

          @thorr69 Thank you very much!
          I need the two sticks working fact in snes for example.

          Is there a different controller driver database for Recall Box transform Retro Pie ?

          Do y9u think I can identify the driver and copy it ?

          T 1 Reply Last reply 24 May 2021, 21:00 Reply Quote 0
          • T
            Thorr69 @sliderem
            last edited by 24 May 2021, 21:00

            @sliderem Hard to say, I have no experience with RecalBox. Does your Pandora's Box have switches for Xbox mode/PlayStation mode? If so, you should go with Xbox. You may need to uninstall and reinstall xboxdrv, too.

            RPi 3b
            Official PSU
            Official RetroPie image
            Pandora's Box 5 controller

            1 Reply Last reply Reply Quote 0
            • S
              sliderem
              last edited by 26 May 2021, 13:10

              Hello,

              After some debugging I discovered that the trick with usbhid.quirks=0x16c0:0x05e0:0x040 works quite well, and the emulationstation gets correctly the 2 joysticks, but retroarch does not get the right order of joysticks (I have 4 in total) and puts the second joystick of Pandora box, almost always on last position , even if I try to force and keep this on the second position.

              Any idea with this one ?on How to force retroarch to use the order provided in emulationstation or to predefine one in retroarch.

              Somehow this is not persisted!

              1 Reply Last reply Reply Quote 0
              • M
                mitu Global Moderator
                last edited by mitu 26 May 2021, 13:18

                Re-order the joypads by editing \\retropie\emulationstation\all\retroarch.cfg and adding

                input_player1_joypad_index=0
                input_player2_joypad_index=3
                input_player3_joypad_index=2
                input_player4_joypad_index=1
                

                this will switch the 4th detected joypad to P2 (index=3) and vice-verse (joystick with index 1 will be set as P4).

                1 Reply Last reply Reply Quote 0
                • T
                  Thorr69
                  last edited by 26 May 2021, 14:43

                  I would also add that you can usually get the order you want by the order of the ports you plug them into (so long as you don't use a USB hub). With the 4 ports on my Pi3b, I plug them in this order:
                  0 2
                  1 3

                  So, my pandora's box takes up 0 and 1, keyboard in 2, mouse in 3. if I add another controller, I replace the mouse or keyboard. My pandora's box always stays player 1 and 2 that way.

                  RPi 3b
                  Official PSU
                  Official RetroPie image
                  Pandora's Box 5 controller

                  S 1 Reply Last reply 26 May 2021, 16:21 Reply Quote 0
                  • S
                    sliderem
                    last edited by 26 May 2021, 16:18

                    I did that in RP setup, the reordering for global and specifically for snes, my test rom.

                    Somehow the retroArch is overriding that at start-up, even if my config is OK, the one that I want

                    1 Reply Last reply Reply Quote 0
                    • S
                      sliderem @Thorr69
                      last edited by 26 May 2021, 16:21

                      @thorr69 said in Pandora Box used as Game Pad []:

                      I would also add that you can usually get the order you want by the order of the ports you plug them into (so long as you don't use a USB hub). With the 4 ports on my Pi3b, I plug them in this order:
                      0 2
                      1 3

                      So, my pandora's box takes up 0 and 1, keyboard in 2, mouse in 3. if I add another controller, I replace the mouse or keyboard. My pandora's box always stays player 1 and 2 that way.

                      I use a usb hub for mouse/keyboard/sony and xbox controller.
                      Pandora is direct to Pi4.

                      could that be the issue ?

                      1 Reply Last reply Reply Quote 0
                      • B
                        Bernie @sliderem
                        last edited by 27 Jan 2022, 19:33

                        @sliderem
                        Thanks for putting me on the right track for configuring my pandora controller on retropie.

                        Since search engines continue to find this thread on the subject, I just would like to add that the trick with the usbhid.quirks is dependant on the model of the Pandora box.

                        The general procedure of adding usbhid.quirks to /boot/cmdline.txt is the same as described in
                        https://retropie.org.uk/docs/Xin-Mo-Controller/

                        BUT make sure you use
                        usbhid.quirks=0xVendorID:0xProductID:0x040

                        with VendorID, ProducID being the output from the command 'lsusb' for the corresponding controller!

                        A 1 Reply Last reply 23 Aug 2022, 03:20 Reply Quote 0
                        • A
                          Arifeen @Bernie
                          last edited by 23 Aug 2022, 03:20

                          @Bernie @sliderem Hello, My Pandora 3d controllers does not detect by raspberry pi4. I have installed Sanwa joysticks in my Pandora 3d. Also added usbhid.quirks=0x16c0:0x05e0:0x040 inside cmdline.txt. Do you have any idea? Is this because of my Sanwa sticks on pandora or should the Pandora ID remains same after joystick replacement? Really appreciate any suggestions.

                          1 Reply Last reply Reply Quote 0
                          • T Thorr69 referenced this topic on 22 Oct 2023, 03:12
                          • 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.

                            This community forum collects and processes your personal information.
                            consent.not_received