HuiJia N64 USB adaptor setup
-
@mediamogul no, at EmulationStation controller config, it does not register any directions.
With the Help of the settings supplied by @seanr8 I was able to make a new config which works perfectly with Mupen 64 Plus and EmulationStation is navigable using the D pad.
-
@vretro, my goal is also to get 4 players working. As far as it getting registered as players 1&3 rather than 1&2, I haven't seen that myself yet mostly because my controllers aren't cooperating :P . I am surprised that it's showing as 1&3 for you, however, because, at least on my Pi, one of the adapters being plugged in adds two devices to /dev/input called js0 and js1. I'd assume that if it's were going to be controllers 1&3, it would register js0 and js2 for controllers 1 and 3. I could be just completely wrong in my understanding of how udev is assigning numbers or how mupen64plus is assigning controllers, however. If you plug in both adapters and no other controllers at all plugged in, when you run "ls /dev/input" how many "js" items are in there? That might give you an idea as to whether it's mupen64plus's refusal to use two of the adapters or if udev isn't seeing two adapters. Another trick would be to remove both adapters, get to the terminal, and run "dmesg -wH", then plug in the adapters one by one. dmesg will show you what is happening each time there is a new device plugged in, so if there are any errors with the second one being plugged in, dmesg might show that error. If not, I'd run "sudo journalctl" and look all the way at the bottom to see if any errors were logged in the systemd system log about the adapters.
Last night, I bought one of these adapters that has in its description that it works with the third party controllers that have been tested with it. Since they only have one port on them, if it works, I might buy another and see how it registers. The biggest draw back of them is that I need twice as many of them and each one costs twice as much as what I paid for the Mayflash ones.
If the new adapter doesn't solve the problem, I might start investigating doing something like described here and here to see if I can capture the behavior of the third party controllers on the Mayflash and possibly "debounce" the toggling in software with a custom driver for the Mayflashes or something. When I was in college, I did something like it on much less complex hardware and software, so I know it's possible... I just don't know if it's worth the trouble. -
@seanr8 Since my last post I have managed to get 2 Players working.
I deleted the Auto Config and configured using EmulationStation again, then copy and pasted the settings from your config.
There were a few different versions of the HuiJia adaptor on your configs, which seemed to have different number increments for player two. My config does not have these additional numbers and it works perfectly.
Maybe these will help you?
Thank you again for getting me on the right track.
Here are my configs on Gist with my working basic settings:
InputAutoCfg.ini
https://gist.github.com/vretro/8fdd4c5056de62867e0dee5bbddf5682mupen64plus.cfg
https://gist.github.com/vretro/274aa1808f8bd94ee3f07971273902b7 -
@vretro thanks for the config files! Now, my only issue is that my second Mayflash USB adapter for N64 isn't recognized in Mupen, but it IS recognized in EmulationStation. Any idea on what it could be? I think this might be the same issue @seanr8 is hitting.
Any advice or direction you can give is appreciated.
Thanks!
-
Nevermind, I figured it out. I think my SNES adapters were messing up the N64 adapters. Thanks again!
-
-
-
@vretro I've also got the HuiJia USB N64 adapter to use original controllers. Many thanks for the configs. you shared above they worked first try for me. I only have one controller but would this config work on 2 HuiJia USB N64 adaptors and 4 original controllers?
Sorry the next silly question but I'm new on this retropie world, how do I activate the memory pack, for any game using this or any controller? not sure if I press a hotkey, button or a change in the config. file? Cheers -
@lorocator Happy to help!
I can confirm that my config files will enable the use of 4 original controllers with 2 USB HuiJia adaptors - that is exactly what I have done.
Save files are handled with software and saved to Pi storage in the same directory as the game, by default. You can get support for that by searching the form.
Good luck and happy 4 player gaming!
-
Hey I know this thread is old, but I wanted to throw in a fix I did for good measure. It is not perfect, but seems to work very, very well and was a quick fix. First map your controller at the boot up. Then take the config file from /opt/retropie/configs/all/retroarch/autoconfig - should be HuiJiaUSBGamePad.cfg. Take that file and throw it into /opt/retropie/configs/n64.
-
@seanr8 ok couple things. I would buy an adapter from raphnet-tech.com. They work great. Second to make an exit work open up the retroarch config file created for the controller in /opt/retropie/configs/all/retroarch/autoconfig/ and add "input _enable_hotkey_button = "and set it to the trigger button. Yes i know it is in the retroarch file. For whatever reason that is where it looked for the hotkey. You could also try going into the mupen config file and manually setting the 2 exit buttons.
-
@seanr8 said in HuiJia N64 USB adaptor setup:
/opt/retropie/configs/n64
I apologize for reviving an old post but this post was perfectly on topic for what I am looking for. I have been scouring the internet for the past three days, and editing config files over and over with no luck. I also have the Mayflash with original n64 controller. With your config files, I was finally able to get actual input in roms with the controller. I can't tell you how excited I was and I can't thank you enough. However, I am having some additional in rom issues. For example in Mario, he walks instead of runs even with the joystick at full tilt. Any ideas on how to fix these issues? Did you run into these type of issues?
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.