• 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

Mayflash n64 controller adapter problems. All buttons configure in ES, but no config files generated or saved.

Scheduled Pinned Locked Moved Help and Support
mayflashemulationstation64 controllercontroller setucontroller help
26 Posts 10 Posters 9.0k 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.
  • E
    edmaul69 @Rion
    last edited by 15 Jul 2017, 01:18

    @rion or you could do like me and use a raphenet and a mayflash together. I have a n64 to wii classic controller raphnet chip inside my n64 controller with a wii nunchuck cable on the controller now plugged into my wiimote that is synced to a mayflash dolphin bar. Best way in my opinion.

    J 1 Reply Last reply 15 Jul 2017, 01:35 Reply Quote 0
    • J
      Justintoxicated @edmaul69
      last edited by Justintoxicated 15 Jul 2017, 01:35

      @edmaul69 said in Mayflash n64 controller adapter problems. All buttons configure in ES, but no config files generated or saved.:

      @rion or you could do like me and use a raphenet and a mayflash together. I have a n64 to wii classic controller raphnet chip inside my n64 controller with a wii nunchuck cable on the controller now plugged into my wiimote that is synced to a mayflash dolphin bar. Best way in my opinion.

      I have no idea what your saying but I just put the mayflash back in the package and will be returning to amazon. Is there another 2 port, one USB adapter I can use or should I give up on the N64 controllers and sell them? I am told the other mayflash with the PSP / N64 adapter works, but I'm hesitant to buy from a place that does not have a good return policy like amazon...

      E 1 Reply Last reply 15 Jul 2017, 03:07 Reply Quote 0
      • E
        edmaul69 @Justintoxicated
        last edited by 15 Jul 2017, 03:07

        @justintoxicated raphnet makes awesome adapters that will work.

        http://www.raphnet-tech.com/products/dual_n64_to_usb_adapter/index.php

        F 1 Reply Last reply 20 Mar 2019, 04:17 Reply Quote 0
        • J
          Justintoxicated @vretro
          last edited by 15 Jul 2017, 16:55

          @vretro I also tried the config files and they do not solve the issue. I tried using the name with the special character and without in the Mupen64Plus.cfg. It autogenerates the mupen64plus.cfg with the special char, but I tried setting mode 0 and removing it. Didn't matter the controller won't work in the game, and every time you launch a game it stops working in ES as well and needs to be reconfigured.

          N 1 Reply Last reply 16 Jul 2017, 02:16 Reply Quote 0
          • N
            NoOddJob @Justintoxicated
            last edited by 16 Jul 2017, 02:16

            @justintoxicated @vretro I am experiencing the exact same issue. I have been messing around with the config files for the past 2 weeks trying to get the damn thing to work. It is recognizing it as ?USB Gamepad USB Gamepad. The I can get the controller to work in game, but the peak analog values are messed up (I.e Mario won't run). It took me so long to get it even working in the roms but now you cannot edit the config file for the ?USB Gamepad USB Gamepad so I am behind the eightball once again. I can't edit the config file in putty because something about the ? Character throws the whole system off. Is it time to throw in the towel and give up? Are there other solid adaptors that will allow you to use an original N64 controller? Full Disclosure: I got so frustrated I ordered all the games I used to have for my N64 today. They just arrived. Man I wish I could get this thing to work on Retropie

            E J 2 Replies Last reply 16 Jul 2017, 02:27 Reply Quote 0
            • E
              edmaul69 @NoOddJob
              last edited by 16 Jul 2017, 02:27

              @nooddjob please read my post above for an awesome adapter.

              1 Reply Last reply Reply Quote 0
              • J
                Justintoxicated @NoOddJob
                last edited by Justintoxicated 16 Jul 2017, 05:17

                @nooddjob you are much closer to us (im in the processes of printing return label due to the char i can't fix !) But now here you are giving me hope that it might work in game! You should be able to edit the InputAutoCfg.ini, and when you launch mupen64plus, it will generate the correct settings in the mupen64plus.cfg file (unless you set mode to 0 which tells it not to override/generate) for that device.

                What are you using for an editor? I can edit in vim when I SSH in (or local terminal) but I don't expect non linux people to learn that. I can also edit via notepadd++ just by navigating to my retropie in windows explorer \RETROPIE\configs\n64\inputAutoCgi.ini. notepad++ is an ok general purpose editor that can handle a non native car as show in the screenshots posted above.

                Please share how you were able to get the controller to work in game :) I have this one and NES controller adapter I have been fighting with on my only day off. Rhe NES does not have the special char and still refuses to work (though it is through retroarch not mupen64plus.!

                here are the settings I pulled from links I found on the net and maybe links above. They looked ruffly correct compared to Jtest (which you can run to adjust your settings) Please note I may have modified the gamepad name which I would not do if you have it working!

                ; USB GamePad USB GamePad_START
                [USB GamePad USB GamePad]
                plugged = True
                plugin = 2
                mouse = False
                AnalogDeadzone = 100,100
                AnalogPeak = 20000,20000
                DPad R = button(13)
                DPad L = button(15)
                DPad D = button(14)
                DPad U = button(12)
                Start = button(9)
                Z Trig = button(8)
                B Button = button(2)
                A Button = button(1)
                C Button R = axis(3-)
                C Button L = axis(3+)
                C Button D = axis(2+)
                C Button U = axis(2-)
                R Trig = button(7)
                L Trig = button(6)
                Mempak switch = key(109)
                Rumblepak switch = key(114)
                X Axis = axis(0-,0+)
                Y Axis = axis(1-,1+)
                ; USB GamePad USB GamePad_END

                1 Reply Last reply Reply Quote 0
                • J
                  Justintoxicated
                  last edited by 25 Jul 2017, 18:35

                  So I got this working in mupen64plus but it still will not work in retroarch.

                  Starfox is much easier with the proper controller!

                  I feel like the driver just does not have a proper cfg file, and I'm thinking I could tweak one of the ones in udev and rename it with the joypad's name and possibly get it to register but I'm not really sure how those drivers get developed in the first place? Are these cfg files people typically write do to make the controllers recognizable in retroarch and es?

                  I might still return the adapter and try to find a better one, I just didn't really wanna spend $50+ on an adapter for N64. I have limited time I can return the adapter to amazon, so that puts a huge dent in development / configuration time trying to get it to work. Also I think Z and start need to be swapped in the config above.

                  1 Reply Last reply Reply Quote 0
                  • S
                    sduchnych
                    last edited by 13 Mar 2018, 01:01

                    I know this is a old topic but here is what i did to make this work

                    Delete your file here manually opt/retropie/configs/all/emulationstation/es_input.cfg
                    then start retropie and config controller and it should create the settings in your es_input.cfg
                    Here is mine
                    <?xml version="1.0"?>
                    <inputList>
                    <inputConfig type="joystick" deviceName="�USB GamePad USB GamePad" deviceGUID="03000000790000007918000010010000">
                    <input name="a" type="button" id="1" value="1" />
                    <input name="b" type="button" id="2" value="1" />
                    <input name="down" type="hat" id="0" value="4" />
                    <input name="hotkeyenable" type="key" id="0" value="1" />
                    <input name="left" type="hat" id="0" value="8" />
                    <input name="leftanalogdown" type="axis" id="1" value="1" />
                    <input name="leftanalogleft" type="axis" id="0" value="-1" />
                    <input name="leftanalogright" type="axis" id="0" value="1" />
                    <input name="leftanalogup" type="axis" id="1" value="-1" />
                    <input name="leftshoulder" type="button" id="6" value="1" />
                    <input name="lefttrigger" type="button" id="9" value="1" />
                    <input name="right" type="hat" id="0" value="2" />
                    <input name="rightanalogdown" type="axis" id="2" value="1" />
                    <input name="rightanalogleft" type="axis" id="3" value="1" />
                    <input name="rightanalogright" type="axis" id="3" value="-1" />
                    <input name="rightanalogup" type="axis" id="2" value="-1" />
                    <input name="rightshoulder" type="button" id="7" value="1" />
                    <input name="start" type="button" id="8" value="1" />
                    <input name="up" type="hat" id="0" value="1" />
                    </inputConfig>

                    next open your /opt/retropie/configs/n64
                    use gedit to open mupen64plus.cfg
                    Here is my config
                    [Input-SDL-Control1]

                    Mupen64Plus SDL Input Plugin config parameter version number. Please don't change this version number.

                    version = 2

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

                    mode = 0

                    Specifies which joystick is bound to this controller: -1=No joystick, 0 or more= SDL Joystick number

                    device = 0

                    SDL joystick name (or Keyboard)

                    name = "USB GamePad USB GamePad"

                    Specifies whether this controller is 'plugged in' to the simulated N64

                    plugged = True

                    Specifies which type of expansion pak is in the controller: 1=None, 2=Mem pak, 4=Transfer pak, 5=Rumble pak

                    plugin = "2"

                    If True, then mouse buttons may be used with this controller

                    mouse = False

                    Scaling factor for mouse movements. For X, Y axes.

                    MouseSensitivity = "2.00,2.00"

                    The minimum absolute value of the SDL analog joystick axis to move the N64 controller axis value from 0. For X, Y axes.

                    AnalogDeadzone = "1024,1024"

                    An absolute value of the SDL joystick axis >= AnalogPeak will saturate the N64 controller axis value (at 80). For X, Y axes. For each axis, this must be greater than the corresponding AnalogDeadzone value

                    AnalogPeak = "20000,20000"

                    Digital button configuration mappings

                    DPad R = "hat(0 right)"
                    DPad L = "hat(0 left)"
                    DPad D = "hat(0 down)"
                    DPad U = "hat(0 up)"
                    Start = "button(8)"
                    Z Trig = "button(9)"
                    B Button = "button(2)"
                    A Button = "button(1)"
                    C Button R = "axis(3-)"
                    C Button L = "axis(3+)"
                    C Button D = "axis(2+)"
                    C Button U = "axis(2-)"
                    R Trig = "button(7)"
                    L Trig = "button(6)"
                    Mempak switch = "key(44)"
                    Rumblepak switch = "key(46)"

                    Analog axis configuration mappings

                    X Axis = "axis(0-,0+)"
                    Y Axis = "axis(1-,1+)"

                    the main stuff i changed was
                    mode=0
                    AnalogPeak = "20000,20000"
                    AnalogDeadzone = "1024,1024"
                    Im sure peak can be a bit higher my controller is worn out and deadzone could be smaller as well but these work fine for me

                    1 Reply Last reply Reply Quote 0
                    • S
                      sduchnych
                      last edited by 13 Mar 2018, 01:10

                      @sduchnych said in Mayflash n64 controller adapter problems. All buttons configure in ES, but no config files generated or saved.:

                      SDL joystick name (or Keyboard)
                      name = "USB GamePad USB GamePad"

                      SDL joystick name (or Keyboard)

                      name = "USB GamePad USB GamePad" (this does have that special character infront of it but i cant copy it here

                      1 Reply Last reply Reply Quote 0
                      • F
                        Furluge @edmaul69
                        last edited by Furluge 20 Mar 2019, 04:17

                        @edmaul69 I know this is really old but as much as I love raphnet adapters, and they're my first choice for an adapter, they have some issues with the linux distro used in retropie that causes issues which is why I stopped using them for my retropie projects. (I mentioned this previous to @Rion as well.) Perhaps it's been fixed now that we're on stretch instead of jessie. Raphnet has a page all about the issue and how to fix it, but quite honestly patching and recompiling the kernel is not something I'm willing to do just for a USB adapter.

                        https://www.raphnet-tech.com/support/retropie/index.php

                        mituM 1 Reply Last reply 20 Mar 2019, 04:28 Reply Quote 0
                        • mituM
                          mitu Global Moderator @Furluge
                          last edited by 20 Mar 2019, 04:28

                          @Furluge said in Mayflash n64 controller adapter problems. All buttons configure in ES, but no config files generated or saved.:

                          https://www.raphnet-tech.com/support/retropie/index.php

                          The page states this is not an issue since RetroPie 3.8, which was released almost 3 years ago (https://retropie.org.uk/2016/05/).

                          Note: This section does not apply to RetroPie 3.8 SD card images, thanks to the use of a 4.4 series kernel.

                          F 1 Reply Last reply 20 Mar 2019, 04:35 Reply Quote 1
                          • F
                            Furluge @mitu
                            last edited by Furluge 20 Mar 2019, 04:35

                            @mitu Cool, good to know, I might have to switch back. I think three years ago would have been roughly around the time I stopped used the raphnet adapters due to the issue. Jut goes to show just how old this topic was. (2017, yikes.) (Edit: I did not buy one. I lost my goddamn mind and bought a bliss-box instead due having hell with updating to Raspian Stretch with 13 controllers connected at once.)

                            E 1 Reply Last reply 21 Mar 2019, 08:18 Reply Quote 1
                            • E
                              edmaul69 @Furluge
                              last edited by 21 Mar 2019, 08:18

                              @Furluge yeah i was the reason that raphael learned about the issue which affected a crap ton of controllers. Then he so awesomely found the bug in linux and created the fix for it. But yeah its been fixed for a long ole time. 😊

                              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.

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