How to get Xin-Mo Dual Arcade Working with retropie! UPDATE: Raspberry Pi 0,1,2 (And 3 in some cases)
-
Hi Thanks for the guide and efforts in compiling :) I've followed this through until 11); When i try and use the right side to input buttons/joystick movements into user 2, none of them register. They're all connected up as i've tested on PC and all are configured and working independently (using controller setupon pc) and if i just use the emulationstation controller setup i can set user 1 with all the right hand side buttons and joystick; it's as if i can ONLY use one side or the other! Sorry if that doesn't make complete sense! I'm using a Pi 2 model b :)
-
Hi, does anyone know how to get this working on raspberry Pi 3, I wired the xin mo, I'm only using player one.. I don't need player 2. I seem to be able to navigate emulation station but not in games.
Anyone please help?
I would greatly appreciate it
-
@DuckClimber said in How to get Xin-Mo Dual Arcade Working with retropie! Easy guide:-) UPDATE: Raspberry Pi 0,1,2:
UPDATE:Since I can't edit the guide on the old forum and I still see people having problems with the Xin-Mo, I continue the thread here. I know that for some people the "usbhid.quirks=0x16c0:0x05e1:0x040"-fix is enough, but apparently it don't work for everybody. (Including me)
Probably you are in the same situation as I was, pulling your hair because you can’t get the Xin-mo to work properly. And it is nearly impossible to find a easy to follow guide how to get it working. So when I got my Xin-mo working with all the emulators I decided to write this guide. Enjoy!
This is the setup I got:
Pi Model: Raspberry Pi 2
RetroPie Version Used: 3.3.1 Magnet link: Raspberry pi 2: magnet:?xt=urn:btih:6656bf7bd104930039f4eb81399976ebd297b8fe
Raspberry pi 1: magnet:?xt=urn:btih:45fa6ef6314ec23617238a19c9baadb707e2eda3&dn=retropie-v3.3.1-rpi1.img.gz
(Use uTorrent/Transmission to open the magnet link)
Built From: SD Image
USB Devices connected: Xin-Mo (http://www.xin-mo.com/?page_id=34)
Bought the Xin-mo with arcade buttons here: http://www.ultracabs.co.uk/usb-interface–standard-joystick-set-109-p.aspI have tested the Xin-mo with the following: MAME, FBA, Playstation, SNES, NES, SMS, SMD, Game boy, Game boy Advance, Doom.
If you are used to installing Retropie you can skip several steps.
Step 1: Connect the cables from the arcade buttons to the Xin-mo as shown in the attached picture. Else you will get player 1 as player 2 and vice versa. (Choose PS3 mode and not PC)
Step 2: Download and Write your RetroPie image to a SD-card.
Step 3: Insert the SD-card with RetroPie 3.x in your raspberry Pi, connect it to your network with a RJ-45 cable or wifi and boot it up.
Step 4: Go to the “RetroPie” menu and select : “raspberry Pi configuration tool raspi-config”. Then click: “Expand filesystem”. Reboot. (Not needed in newer RetroPie)
Step 5: Login to the terminal and set a root password, type: sudo passwd root and choose a password. For example: User: Root Password: raspberry
Step 6: Download this custom kernel (It will fix the problem with the joysticks messing with each other): https://www.dropbox.com/s/lty3yublbefr8r9/custom_kernel_1.20150818-1.tar.gz?dl=0
Newer kernel: Use this if you install 3.6/3.7: https://www.dropbox.com/s/4pn30vkecq1v0wp/custom_kernel_1.20160322-1.tar.gz?dl=0
The kernels will work for Raspberry Pi 0, 1 and 2. Will try to update the guide for Raspberry 3 as well.
(Thanks to feederchain for the kernels).Step 7: Don’t unpack the file just place it somewhere on the SD-card, in /home/ for example. (I used filezilla for transferring the file from my computer to the Pi) (Do this as ROOT!)
Step 8: Run these commands from the terminal on the Raspberry Pi or using SSH:
cd /home/ (This is the place you placed your file, so here I used /home/)
tar -xf custom_kernel_1.20150818-1.tar.gz (This command unpacks the file)
cd custom_kernel_1.20150818-1
sudo ./install.sh (This will install the custom kernel)After this the Raspberry Pi should reboot.
Step 9: Now we are going to modify the cmdline.txt so we get two controllers showing up instead of one.
SSH or terminal again:
cd /boot/
sudo nano cmdline.txtAdd the following content after a space at the end of the first line: usbhid.quirks=0x16c0:0x05e1:0x040
Press CTRL + X and type “Y” for yes, so it saves the file.
Step 10: Now you can register your buttons in EmulatorStation, but just register the left controller (Player 1). Now you should be able to navigate and press buttons.
Step 11: Go in to the RetroArch configuration and navigate to “input”, change the buttons you want for Player 1 and 2 for the Xin-mo. Then go to hotkeys menu and select what buttons you want for quitting a game, saving etc.
RetroPie—>Configure RetroArch/Launch RetroArch RGUI—–>Settings—->Input—->”Input Hotkey Binds” and “input User 1/2/3 etc Binds”
Step 12: Change the driver for the Xin-mo from sdl2 to udev.
Step 13: Go back to the main menu in RetroArch and save the config as a new file. (For me it didn’t work just to save the old file) Quit RetroArch setup.
Step 14: Navigate to the config file (using filezilla e.g.) in /opt/retropie/configs/all/ rename the file retroarch.cfg to retroarch.cfg.old, and rename the file you just created to retroarch.cfg. Reboot RetroPie.
Step 15: If you are using MAME you have to start a game and press TAB and edit the controls in there as well.
Step 16: DONE! Now both players should work in all the games, so you can play Street Fighter II or Tekken 3 with a friend. Enjoy!
(In Emulatorstation the right controller have some issues, but the left controllers is enough for navigating. And both is working in the games.)
Here is FileZilla: https://filezilla-project.org/download.php?show_all=1
Here is Win32diskimager For Writing or create a backup of RetroPie (Windows) : https://sourceforge.net/projects/win32diskimager/
Here is Pi Copier and Pi Filler if you are using Mac OSX: http://ivanx.com/raspberrypi/
This picture shows how you should place your wires. (Choose PS3) http://blog.petrockblock.com/wp-content/uploads/2016/01/arcade-controller-to-usb.jpg
And here is the old thread: http://blog.petrockblock.com/forums/topic/how-to-get-xin-mo-dual-arcade-working-with-retropie-easy-guide/
First of all, thanks for the effort in putting this together, however I'm like another user that posted here, USB quirks and kernel gave me the ability to configure both players but I have an autofire issue with the right side in the player 2 and I can't seem to figure out what it is!
I'm using a raspberry pi 2 and the xin mo that it's detected as THT THT Arcade Console 2P USB under emulationstation and retroarch.So far I tried version RetroPie version 3.6, 3.7 and 3.8.
Any hint it's greatly appreciated
-
hey Guys,
is there an update on how to get this fixed for the Pi3 ???Thanks
-
@karimi Im with you on this. Am heartbrroken with this. Although, have bought another cheap controller board off Aliexpress as a tester. Will let you know hownthat works out.
http://www.aliexpress.com/item/2-Players-Zero-Delay-USB-Encoder-PC-To-HAPP-Style-Joystick-Arcade-Push-Buttons-for-MAME/32655378742.html?spm=2114.30010308.3.2.gcLJM7&ws_ab_test=searchweb201556_0,searchweb201602_3_10037_10017_507_10032_401,searchweb201603_3&btsid=aaec54fe-b333-44c6-8bcd-990d72a991f9 -
@karimi said in How to get Xin-Mo Dual Arcade Working with retropie! Easy guide:-) UPDATE: Raspberry Pi 0,1,2:
hey Guys,
is there an update on how to get this fixed for the Pi3 ???Thanks
So you're saying that the Xin-Mo Dual doesn't work at all on the Pi3? I'm in the middle of building a bartop using a Pi3, and I ordered all the buttons/sticks and it comes with the Xin-Mo...
I might have to switch to Recalbox?
-
@strider_crb It works for me (using Xin Mo controller on Raspberry Pi and Retropie 3.8). But needed to do the fix mentioned in the Wiki.
EDIT: But I didn't install that kernel. Just went with usb quirk. -
@SteffenMB Ok cool. That is what I read, I didn't know if something changed that I was not aware of.
Thanks for the info.
-
Hi everybody! And sorry for the late reply, I have a couple of days off and I will try to solve some of your problems:-) I am still seeding the 3.3.1 image for Raspberry pi 1 and 2, and I guarantee that the Xin-Mo will work fully with that image if you follow the guide.
-
Yes it works fine with the fix and kernel or instruction guid for the Pi1 and Pi 2 but not with Pi 3. You will get a brick when u use the Kernel. I am not aware of an other way to fix the problem without the Kernel...and all other links to other threads where are posts like " check your cabling and so on" are ridiculous supports....
Thanks
-
Hey Guys,
is there any update?!? I am still facing with this xino and my pi3.
Thanks -
@grahamken said in How to get Xin-Mo Dual Arcade Working with retropie! UPDATE: Raspberry Pi 0,1,2 (And 3 in some cases):
@karimi Im with you on this. Am heartbrroken with this. Although, have bought another cheap controller board off Aliexpress as a tester. Will let you know hownthat works out.
http://www.aliexpress.com/item/2-Players-Zero-Delay-USB-Encoder-PC-To-HAPP-Style-Joystick-Arcade-Push-Buttons-for-MAME/32655378742.html?spm=2114.30010308.3.2.gcLJM7&ws_ab_test=searchweb201556_0,searchweb201602_3_10037_10017_507_10032_401,searchweb201603_3&btsid=aaec54fe-b333-44c6-8bcd-990d72a991f9Hey my freind, u got your controller from aliexpress? How it worked is is possible to get everything run?
Thanks
-
Hey Guys I finally got it, just add the quirk line NOT in a new line directly in the first line with one space. And check your device ID before...
Now I got antoher issue I cant figure out how to get my usb Hub running??!
My old one doesnt work so fine sometimes found some controllers sometimes no and now I bought a expansive good one and this one doesnt even be detected...Help plz
-
@fakeangeldc The usbquirks method worked for me. I got it all working except for Autofire on Joystick
Anyone find a solution for this?
-
@mrmohamed you won't believe what my issue was, the autofire was a result of a bad wiring, I accidentally plugged that switch on the NC (normally closed) instead of the NO (normally open), ground was OK, verify your wiring, that's all it was for me.
-
I'm running into an issue. I had this running flawlessly on the Pi2 in 3.7 but since upgrading to 4.0 my system crashed and I needed to start from scratch. I've transferred the newer kernel over but when I try to expand it within /home/ I get permission denied error messages.
Any ideas? This was SO helpful the first time but for some reason 4.0 doesn't wan to play nice!
-
@cujoac said in How to get Xin-Mo Dual Arcade Working with retropie! UPDATE: Raspberry Pi 0,1,2 (And 3 in some cases):
permission
Disregard....for some reason is just magically accepted my Xin_Mo upon reset...
-
i got it almost working.. p1 i can config but p2 does not work.. but i changed all the settings in retroarch saved it but still nothing..
-
@Nalacha did you use jstest or a similar utility to verify the values you're getting (if any) out of the p2 buttons? If not, I'd suggest you to try that just to rule out a possible wiring issue.
-
i did the jstest ... 2nd player does not work at all... any ideas? note i had all this working a long time ago..
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.