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

    Dolphin hangs after attempting a control map?

    Scheduled Pinned Locked Moved Help and Support
    dolphinps3 controllergamecubenucgui on startup
    11 Posts 3 Posters 1.8k 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
      fauslyfox110
      last edited by

      I am running retropie x86 on a NUC I have laying around and I want to test gamecube on it. I have installed Dolphin and am able to start a game in emulationstation, in this case Mario Kart Double Dash, but I can't seem to control anything in the game. I attempted a remap to a ps3 controller but afterwards when I tried to run Dolphin again, it hangs on the emulator launch screen indefinitely. I reset the default map for the keyboard and I can launch again. How can I resolve this issue? I am wondering if I am doing the remap incorrectly. Below are my specs and procedures:

      Ubuntu 18.04 Desktop
      Screenshot from 2021-01-05 23-52-42.png

      procedure:

      1. install retropie
      2. install Dolphin via retropie_setup.sh
      3. test run a game in emulation station for gamecube
      4. game runs fine, controls don't work, only alt-f4 to exit works
      5. to map my ps3 controller via dolphin-gui i run:
        sudo /opt/retropie/emulators/dolphin/bin/dolphin-emu
        and receive the following:
        QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
      6. Next I map the ps3 controller sorry for the bad picture -- and ignore the device input, this is a picture of the ps3 controller map right before I reset to default):
        Screenshot from 2021-01-06 00-06-30.png
      7. After I click save and close dolphin I got to emulationstation and try to run mario kart again and the screen hangs here:
        Screenshot from 2021-01-06 00-08-32.png

      I checked the error file and this is what I see:
      cat /dev/shm/runcommand.log
      Parameters:
      Executing: /opt/retropie/emulators/dolphin/bin/dolphin-emu-nogui -e "/home/john/RetroPie/roms/gc/Mario Kart - Double Dash!! (USA).iso"
      mv: replace '/home/john/.config/mimeapps.list', overriding mode 0644 (rw-r--r--)?

      Again, I reset the controls back to default and then I can run mario kart again. How do I get these ps3 controllers mapped properly? I am assuming I am doing it incorrectly.

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

        @fauslyfox110 said in Dolphin hangs after attempting a control map?:

        sudo /opt/retropie/emulators/dolphin/bin/dolphin-emu

        Don't use sudo to run any emulator, just launch it normally, without sudo.

        F 1 Reply Last reply Reply Quote 0
        • F
          fauslyfox110 @mitu
          last edited by fauslyfox110

          @mitu That simple, works perfectly thank you for the fix.

          One last question: Is there a specific field in dolphin's gui that you know would be used as the hotkey for exiting the emulator? As of now I exit dolphin with alt-f4 to get back to emulation station. My hotKey is set to select via emulationstation's configureInput but dolphin doesn't respond to it, I figured it also had to be bound via the gui.

          Below is my controller scheme I just entered for my ps3 controller:

          mvimg_20210106_093637.jpg

          YFZdudeY 1 Reply Last reply Reply Quote 0
          • YFZdudeY
            YFZdude @fauslyfox110
            last edited by

            @fauslyfox110
            Dolphin has a separate screen for Hotkeys.

            https://dolphin-emu.org/docs/guides/configuring-controllers/#Hotkey_Settings

            F 1 Reply Last reply Reply Quote 0
            • F
              fauslyfox110 @YFZdude
              last edited by fauslyfox110

              @yfzdude

              Thanks, checked the hot key section in dolphin after checking the documentation you sent, but I can't locate the proper input for exiting that works. I tried assigning "Exit" to select and now THUMBL on my ps3 controller but no dice.

              I also searched all the tabs to try to locate alt-f4 since that is the current exit hotkey, but I don't see it anywhere. I would assume that I would need to replace alt-f4 with the "select" or "THUMBL". Any idea where that would be? Appreciate the help.

              Screenshot from 2021-01-06 10-26-04.png

              mituM YFZdudeY 2 Replies Last reply Reply Quote 0
              • mituM
                mitu Global Moderator @fauslyfox110
                last edited by

                @fauslyfox110 Alt+F4 is a window manager command, in your screenshot, Exit seems to be mapped to ThumbLeft.

                F 1 Reply Last reply Reply Quote 0
                • YFZdudeY
                  YFZdude @fauslyfox110
                  last edited by

                  @fauslyfox110
                  I haven't messed with my Dolphin setup in a while. I don't think I ever got it working the way I wanted for hotkeys. Since I always had a keyboard plugged in I just hit Esc or ALT+F4 on the keyboard to get out.

                  One important thing I noticed but never tried, when you are selecting one of the input fields to edit, Left Click is to set the input, but Right Click is supposed to allow you to select more input options such as having most of your inputs come from the device in the drop down list, but you can map individual items with Right Click to a different control device. I notice even though your drop down menu shows the PS3 controller, many of the keys are labels that I would associate with a keyboard. (F9, Escape, etc.)

                  I will try to find a few minutes later tonight and see if I can get it working with my setup and let you know if it works for me.

                  F 1 Reply Last reply Reply Quote 0
                  • F
                    fauslyfox110 @mitu
                    last edited by

                    @mitu

                    Got it, so alt-f4 is separate from dolphin and is a general window command.

                    So in my case mapping Exit to THUMBL had no effect in terms of exiting the game into emulationstation. I tried SELECT and that had no effect either.

                    Is there a recommended approach to troubleshoot here?

                    1 Reply Last reply Reply Quote 0
                    • F
                      fauslyfox110 @YFZdude
                      last edited by

                      @yfzdude

                      This is what I am thinking will have to be the case, simply use the keyboard to exit. My setup will be a micro keyboard as a main controller for Ubuntu desktop and my ps3 controllers for play, so that should suffice worst comes to worst.

                      On the rightclick I will test as well, looking at the documentation I see they mention this so perhaps this is the answer. Thanks for the help so far guys.

                      YFZdudeY 1 Reply Last reply Reply Quote 0
                      • YFZdudeY
                        YFZdude @fauslyfox110
                        last edited by

                        @fauslyfox110
                        I got it figured out finally.

                        After you set your hotkeys, you need to use the runcommand dialog to change the default emulator from dolphin to dolphin-gui. This enables the hotkeys to function correctly.

                        However, you will immediately find the other nuisance I ran into. By default, dolphin wants to confirm Yes/No every time you stop or exit the emulator. From the manually launched GUI where you set the controls and configs, open Options -> Configuration then switch to the Interface tab, and look for the option labeled Confirm on Stop and uncheck the box.

                        Now finally you will be able to use the hotkey without a confirmation dialog and it will kick back into Emulation Station like it is supposed to.

                        F 1 Reply Last reply Reply Quote 0
                        • F
                          fauslyfox110 @YFZdude
                          last edited by

                          @yfzdude

                          Awesome, thanks a bunch dude. This is a good setup, appreciate the help.

                          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.