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

    MKDD Tint Issue RPI5

    Scheduled Pinned Locked Moved Help and Support
    lr-dolphinmkdddoubledashvulkandrivers
    174 Posts 10 Posters 36.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.
    • TPRT
      TPR @retropieuser555
      last edited by TPR

      @retropieuser555 So I've been messing around with the automapping and controller detecting script, I've now been able to get it to work pretty successfully, and I've tested it with a number of different controllers and it is working fine, except for one..... the 8Bitdo Pro 2 controller.

      I think this is the issue. When emulationstation detects the controller it sees it as this:
      466011937_760832592924595_1361551897648252842_n.jpg
      but it saves it as a file called:
      8BitDo Ultimate Wireless Pro 2 Wired Controller.ini

      and in that file the ID is this:

      [Profile]
      Device = evdev/0/8BitDo Ultimate Wireless / Pro 2 Wired Controller

      And it doesn't load or work. In fact, it gets confused and loads the profile for whatever the last controller I had.

      I think it doesn't like the slash "/" in the ID as it may be looking for it in the file name but the file name cannot have that character in it.

      I have noticed that the dolphin script needs to have the exact file name match the controller device ID for it to work.

      Do you have any idea what database file emulationstation is pulling those Device ID's from and maybe I can try changing the name from "8BitDo Ultimate Wireless / Pro 2 Wired Controller" to "8BitDo Ultimate Wireless Pro 2 Wired Controller" and I have a feeling that will work.

      Anyone have any thoughts? @DTEAM or @mitu

      1 Reply Last reply Reply Quote 0
      • TPRT
        TPR
        last edited by TPR

        @retropieuser555
        So a little update. I can confirm that the script works just fine with at least ten different controllers I just tried. The only trouble I'm having is with the above 8Bitdo controller that puts the "/' slash in the device name.

        Any ideas on how to remove that or work around that?

        Here's all the devices I have tried so far:

        Capture.PNG

        retropieuser555R 1 Reply Last reply Reply Quote 0
        • retropieuser555R
          retropieuser555 @TPR
          last edited by retropieuser555

          @TPR you might have a problem there as forward slash is reversed by Linux in file names. When using jstest the device has a forward slash in it? Also and the 3 other modes as I know my Pro 2 has 4 modes, so I assume the wired controller is the same

          Pi 5 4GB

          Retroflag GPI with raspberry pi zero 2 w/ wifi

          Retroachievements:- lovelessrapture

          TPRT 1 Reply Last reply Reply Quote 0
          • TPRT
            TPR @retropieuser555
            last edited by

            @retropieuser555 said in MKDD Tint Issue RPI5:

            @TPR you might have a problem there as forward slash is reversed by Linux in file names. When using jstest the device has a forward slash in it? Also and the 3 other modes as I know my Pro 2 has 4 modes, so I assume the wired controller is the same

            Yep. That appears to be the name the Pi sees. And I have tried all four settings on my Pro 2 paired with the 8Bitdo Black Retro Receiver and I get the same results:
            input.png

            Is there a work around for this?

            1 Reply Last reply Reply Quote 0
            • TPRT
              TPR
              last edited by TPR

              @retropieuser555 Ok so I think I found my own work around. Here's what I had to do...

              1. Instead of using the 8Bitdo Retro Receiver I paired it via bluetooth using the X option on the back of the controller. At that point, emulationstation saw the controller as this:

              Screenshot 2024-12-22 12-05-27.png

              1. Dolphin didn't like that and I got this error:
                Screenshot 2024-12-22 12-15-49.png

              2. What was interesting is that in my GCPad config folder, I did have a file created called Xbox One S Controller.ini but dolphin seemed to think it was looking for 8BitDo Pro 2.ini

              3. I renamed the file to 8BitDo Pro 2.ini and it loaded up without getting that error. But the controls still didn't work. I opened up the .ini file and saw this:
                Screenshot 2024-12-22 at 14.17.16.png

              And noticed that, even though emulationstation displayed one device name, the script was still using the other. So I opened up Dolphin to see what it was seeing.

              1. So in Dolphin, the controller was seen as this:
                Screenshot 2024-12-22 12-50-38.png

              2. So I went into the .ini file and changed the device name to match that:
                Screenshot 2024-12-22 at 12.19.12.png

              3. And that worked! Most of the controllers seemed to be okay, but the exit hotkey didn't work, so I had to go into the .ini files and edit both of them to make sure the hotkeys matched up and the buttons were assigned correctly.

              4. Here is what my two .ini files look like now:
                Screenshot 2024-12-22 at 12.55.12.png
                Screenshot 2024-12-22 at 12.55.25.png

              And everything seems to work!

              I'll still keep messing around with this, but other than the one controller profile where the script seemed to not like the "/" being in the device name, every other controller I've tried seems to work just fine.

              TPRT 1 Reply Last reply Reply Quote 0
              • TPRT
                TPR @TPR
                last edited by

                @retropieuser555 Had another minor issue with the Logitech F310 Gamepad.

                I configured the controller through emulatationstation and then loaded up Dolphin and everything seemed to be fine except for the D-Pad wasn't working.

                So then I went into Dolphin, loaded the Logitech Gamepad F310.ini file that your script had made and then saved it out.

                D-Pad now works...

                But exiting the game doesn't!

                Apparently when I edited the Logitech Gamepad F310.ini file in Dolphin in removed the Hotkey setting when it re-saved it, so I went back in and edited the file manually to add back in Hotkey setting and now that works:
                Screenshot 2024-12-22 at 13.28.19.png

                Also, the Logitech F310 has two settings on the controller. On the other setting, it made a file called "Logitech Dual Action.ini" which gave me an error. Dolphin was looking for a file called "Logitech Logitech Dual Action.ini" so I renamed the file to that, followed the same steps I did above for the other controller setting, and now that works!

                So at the moment, I have the following four controllers I appear to be able to swap without any issues now that I've made the edits that I did:

                1. XBOX 360 Controller (seemed to work without needing any edits)
                2. Playstation 3 Controller (worked without edits)
                3. Logitech F310 Controller (needed file name edits, re-mapping D-Pad and adding back the Hotkey)
                4. 8Bitdo Pro 2 (Did not work with Retro Receiver due to device name having the slash "/" in it. Worked via bluetooth but needed to rename the files and the devices, and also edit the controller settings to add back to the Hotkey)
                TPRT 1 Reply Last reply Reply Quote 0
                • TPRT
                  TPR @TPR
                  last edited by

                  @retropieuser555 So another little update...

                  When using the USB Retro Receiver 2 with the Pro 2 controller, PS5 controller, Switch Pro Controller, or an XBOX One X controller, they all identify as "8BitDo Ultimate Wireless / Pro 2 Wired Controller" as a "device." Is there any work around at all for this? Where is emulationstation pulled that device name from and maybe I can change it in that database somewhere?

                  retropieuser555R 1 Reply Last reply Reply Quote 0
                  • retropieuser555R
                    retropieuser555 @TPR
                    last edited by

                    @TPR not really no. Emulationstation's names are SDL which aren't necessarily the same device names you'd get from evdev. 8bitdo might use the same names as a manufacturer but trouble I've found is SDL doesn't seem to have universal names. So SDL names are different on dolphin compared to emulationstation. Otherwise the script would've been miles easier and could just make a dolphin config for SDL mode when mapping a controller in ES. So I ended up using evdev as that is at least consistent between dolphin and Linux itself.

                    The names come from /proc/bus/input/devices which you can see for anything connected to the machine using

                    cat /proc/bus/input/devices
                    

                    If I have time I'm tempted to use the I: identifier to check the connected devices against the ini files. That way it'd avoid any possibility of a controllers special characters on the names screwing things up. I've got a tribute 64 controller that has a comma in the name so I can test with that

                    Pi 5 4GB

                    Retroflag GPI with raspberry pi zero 2 w/ wifi

                    Retroachievements:- lovelessrapture

                    TPRT 2 Replies Last reply Reply Quote 0
                    • TPRT
                      TPR @retropieuser555
                      last edited by TPR

                      @retropieuser555 said in MKDD Tint Issue RPI5:

                      If I have time I'm tempted to use the I: identifier to check the connected devices against the ini files. That way it'd avoid any possibility of a controllers special characters on the names screwing things up. I've got a tribute 64 controller that has a comma in the name so I can test with that

                      Weird... my Tribute 64 identifies as an "XBOX 360 Controller." This one right?
                      465954059_1233616577926329_5262571190756651208_n.jpg
                      462642897_938716891109454_12187783765131482_n.png

                      I really do hope there is a fix for this. It's crazy to me that Dolphin doesn't auto detect the connected controller like every other emulator core seems to do!

                      On the plus side, at least connecting it via bluetooth does seem to help. And I've got a Mayflash USB Receiver on the way so I'm curious to see if the 8Bitdo is assigned a different device ID with that one.

                      I've managed to get something like 20 different controllers to work with it now swapping them in and out so the script works great for everything but that one Retro Receiver. I'd had to go in and re-configure the D-Pad on some controllers and add back the hotkey but it all works once I re-save the profile!

                      1 Reply Last reply Reply Quote 0
                      • TPRT
                        TPR @retropieuser555
                        last edited by

                        @retropieuser555 said in MKDD Tint Issue RPI5:

                        If I have time I'm tempted to use the I: identifier to check the connected devices against the ini files. That way it'd avoid any possibility of a controllers special characters on the names screwing things up. I've got a tribute 64 controller that has a comma in the name so I can test with that

                        I did just come across one with a comma in it that didn't work. Even though the file name and the ID name are the same, it still didn't load the profile:

                        Screenshot 2024-12-23 at 12.02.08.png
                        Screenshot 2024-12-23 12-01-34.png

                        1 Reply Last reply Reply Quote 0
                        • TPRT
                          TPR @gvx64
                          last edited by

                          @gvx64 said in MKDD Tint Issue RPI5:

                          @sugarfree m3u (multi-disc) support was added to dolphin in 5.0-9343 (https://dolphin-emu.org/download/dev/1d3e3de44b177eb7bdd07a02afefb83ac9ba5812/ - committed on January 15, 2019). That was about 1.5 years after the commit date for 5.0-4544. So no, dolphin-rpi does not support m3u files at this time.

                          A couple of questions for you now that I'm coming back to figuring out GC...

                          1. So RE4 is playable, you just have to manually swap discs in the backend, correct?

                          2. Where does rpi pull the game configs from? Is it the same /opt/retropie/configs/gc/local/GameSettings folder as the normal dolphin core?

                          3. I've noticed that RVZ files do run, but they don't appear in my listing of games. Is that normal?

                          G 1 Reply Last reply Reply Quote 0
                          • TPRT
                            TPR
                            last edited by

                            @retropieuser555 Something else I just noticed about the script. If you have two controllers connected, they both work, but only controller 2 has the ability to exit out of a game with the hotkey. Controller 1 no longer does this.

                            1 Reply Last reply Reply Quote 0
                            • TPRT
                              TPR
                              last edited by TPR

                              @retropieuser555 The script does not seem to work with .m3u files. Neither Metal Gear Solid or Medal of Honor Rising Sun worked with the controller.

                              EDIT: Nevermind. Got the M3U file to work. Seems like the discs have to be visible in the same directory as the m3u to work correctly.

                              I had my disc files as .Metal Gear Solid - The Twin Snakes (USA) (Disc 1).rvz so they wouldn't appear in the listing and then I also tried putting them in a different folder and neither worked.

                              But if the .rvz file is visible in the same folder as the m3u, it seems to work.

                              TPRT 1 Reply Last reply Reply Quote 0
                              • G
                                gvx64 @TPR
                                last edited by gvx64

                                @TPR

                                1. Yes, my experience with multidisc iso's in dolphin (Baten Kaitos) is that when you reach the end of disc 1 the save file should get updated, then you can close the emulator and reopen with disc 2. RE4 should be fully playable on a Pi5 using dolphin-rpi.

                                2. /home/pi/DolphinConfig5.0/GameSettings/ (if you installed using the script or using the instructions in post #42 of this thread).

                                3. Thanks for letting me know, is this the game-list inside the main dolphin gui window? I will look into it.

                                Adding m3u support to dolphin-rpi is still on my to-do list.

                                TPRT 4 Replies Last reply Reply Quote 0
                                • TPRT
                                  TPR @gvx64
                                  last edited by

                                  @gvx64 said in MKDD Tint Issue RPI5:

                                  @TPR

                                  1. Yes, my experience with multidisc iso's in dolphin (Baten Kaitos) is that when you reach the end of disc 1 the save file should get updated, then you can close the emulator and reopen with disc 2. RE4 should be fully playable on a Pi5 using dolphin-rpi.

                                  2. /home/pi/DolphinConfig5.0/GameSettings/ (if you installed using the script or using the instructions in post #42 of this thread).

                                  3. Thanks for letting me know, is this the game-list inside the main dolphin gui window? I will look into it.

                                  Adding m3u support to dolphin-rpi is still on my to-do list.

                                  1. Perfect, thank you!

                                  2. Found it!

                                  3. Yes, the main game-list. Only my iso or ciso files appear.

                                  Also do you think @retropieuser555's controller detection script will work with your version?
                                  https://retropie.org.uk/forum/post/301107

                                  1 Reply Last reply Reply Quote 0
                                  • TPRT
                                    TPR @gvx64
                                    last edited by

                                    @gvx64 said in MKDD Tint Issue RPI5:

                                    Adding m3u support to dolphin-rpi is still on my to-do list.

                                    Oh man that would be incredible!

                                    1 Reply Last reply Reply Quote 0
                                    • TPRT
                                      TPR @TPR
                                      last edited by

                                      @TPR said in MKDD Tint Issue RPI5:

                                      @retropieuser555 The script does not seem to work with .m3u files. Neither Metal Gear Solid or Medal of Honor Rising Sun worked with the controller.

                                      EDIT: Nevermind. Got the M3U file to work. Seems like the discs have to be visible in the same directory as the m3u to work correctly.

                                      I had my disc files as .Metal Gear Solid - The Twin Snakes (USA) (Disc 1).rvz so they wouldn't appear in the listing and then I also tried putting them in a different folder and neither worked.

                                      But if the .rvz file is visible in the same folder as the m3u, it seems to work.

                                      @retropieuser555

                                      Nope, I was right the first time. .m3u files don't work. I was fooled into thinking it did because I had loaded Metal Gear Solid - The Twin Snakes (USA) (Disc 1).rvz on its own so it saved my XBOX 360 profile to the config, and then it kept loading that up every time I would load that game again, but then on other games, the .m3u file didn't work.

                                      I went back to Metal Gear and tried another controller and it poped up with XBOX 360 even with a different controller connected.

                                      So the .m3u files don't currently work correctly.

                                      1 Reply Last reply Reply Quote 0
                                      • TPRT
                                        TPR @gvx64
                                        last edited by TPR

                                        @gvx64 said in MKDD Tint Issue RPI5:

                                        @TPR

                                        1. Yes, my experience with multidisc iso's in dolphin (Baten Kaitos) is that when you reach the end of disc 1 the save file should get updated, then you can close the emulator and reopen with disc 2. RE4 should be fully playable on a Pi5 using dolphin-rpi.

                                        Does this work from launching a game through emulationstation or just through Dolphin?

                                        retropieuser555R 1 Reply Last reply Reply Quote 0
                                        • retropieuser555R
                                          retropieuser555 @TPR
                                          last edited by

                                          @TPR if you're unsure and have a copy of tales of Symphonia you can test it by setting the m3u to go disc 2 then disc 1, as the game behaviour on a real GameCube is it tells you to swap discs and waits for the user to swap, then carries on from disc 1

                                          Pi 5 4GB

                                          Retroflag GPI with raspberry pi zero 2 w/ wifi

                                          Retroachievements:- lovelessrapture

                                          TPRT 3 Replies Last reply Reply Quote 0
                                          • TPRT
                                            TPR @retropieuser555
                                            last edited by

                                            @retropieuser555 said in MKDD Tint Issue RPI5:

                                            @TPR if you're unsure and have a copy of tales of Symphonia you can test it by setting the m3u to go disc 2 then disc 1, as the game behaviour on a real GameCube is it tells you to swap discs and waits for the user to swap, then carries on from disc 1

                                            Let me try that right now.

                                            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.