I have the piMAME 7.10 build up and running with a xin-mo 2 player adapter. Successfully have 2 player with all buttons needed for both players and to play SF2. I'm new to the field and now that my primary goal is done I've found that I would like to use FBA for some additional roms to play, but having an issue getting 2nd player to work with the xin-mo. According to the FBA readme file I'm on 7.3 and it should support 2 player, I think the problem I'm having is that the xin-mo is being recognized as 1 controller; as when configuring the buttons in mame4all I noticed that the player two was coming up as J1 JoyAxis 3 or 2 for second player and 0 and 1 for 1 player, and all the buttons were coming up as J1 JoyButton ##. I tried to transfer this information over to the fba2x.cfg, but all I was successfully able to do was move player 1 controls to the player 2 side and player 1 didn't work anymore. Example in the [joystick] section for player 2 I would update A_2 to equal the button on the controls, but changed it to A_1... so Player 1 had A_1=0 and Player 2 had A_1=10. If I leave it as the _2 it doesn't recognize it.
Anyone else have success with the Xin-Mo 2 player in FBA? should it be supported or not?
I am running into the same issue except for the SNES9X.cfg. I can't seem to figure this out. Xin-mo dual now works with the kernel patch that was applied on 7.10, however, it was only able to get it working for player 1.
I've tried adding X_2=[button mapping for player 2] but had no luck it doesn't seem to recognize buttons past player 1. Secondly I can't seem to get axis's 2 and 3 assigned to player 2.
All the buttons work and are showing up with jstest. Interestingly enough, I can assign player 1 all of player 2's buttons/joystick configs and it will work.
SNES version does support 2 player but I suppose that is only on the keyboard?
As a side note xin mo dual player 1 AND player 2 will work for mame4all. Perhaps it's an issue strictly with the snes emulator.
I'm having the same problem with Mame4all... all buttons show up as Player 1 buttons #0 through 15 so I have 3 buttons in my setup which I can't use. @ID10T_Form: did you do anything special to get player 2 working? The 2 joysticks work fine, it just seems I can only use a max of 16 buttons which limits me.
I noticed the same thing with mine, but since I was able to get 8 buttons per player it didn't bother me much as used the GPIO of extra's. I just went into the general input settings of mame and mapped the joysticks and buttons to the player, didn't have any issues doing that and it finding the items. FBA doesn't seem to like it though which is still my problem and haven't found a solution yet to get that to run as two player.
@Dillon: I'm not trying to use Mame4all. The brief amount of time I spent on Mame4all, it appears that I could map buttons and use them (I don't recall if I tried to use them all) and both joysticks did work.
My overall motivation was to get pisnes emulator working for both joysticks. It doesn't appear that the snes9x.cfg supports the configuration for 2 joysticks. From what I've found/read in the release notes for pisnes that it DOES support 2 player but with the caveat of player 1 using the joystick and player 2 using the keyboard.
I want pisnes to utilize BOTH joysticks (for xin mo dual) but I'm afraid I am going to be on a waiting list until the pisnes release notes specifically says it supports the xin mo dual.
I've been reading that this is also the same case for the FBA emulator.
He uses retroarch to map both joysticks and buttons (like we can do with mame4all). I don't know if his retroarch.cnf carries over into the snes emulation. If it doesn't then I would end up in the same situation I have here.
on mame4all i cant config my INSERT COIN button and START for player 2. the rest is just working fine, i just do a start for p2 on keyboard and play.
the frontend menu doest recognize these last inputs.. maybe ill need to change it directly on the code. anyone knows where's this mama4all config file?
are u guys running jtest? i could run it and identify all inputs. so i put them on fba2x.cfg but i still have no luck to play marvel vs campcom with 2 joysticks.
It seems that there is a limitation in the number of the button that can be mapped on advmame, mame4all and FBA.
Due to Xin-mo is recognized as only 1 joystick with 4 axis and 22 buttons...
I have P1 & P2 wired to buttons 21 and 22 an no way. P1 mapped to b21 and P2 mapped to b22. The game does not start...
Jstest is working well an the buttons are recognized... even UI_Cancel is mapped to b21 and b22 and it works... when I press the two buttons simultaneously escape.
I have not yet tested this but you bet your butt I will be shortly. I've been sitting on this project for way to effin long. Perhaps more people can verify this?
Finally, I rewired the Xin-mo to use only the 16 first buttons( 7 per player and the rest for Player1 and Player2). For pause button I use the GPIO from the pi, with retrogame.c from adafruit** (no resistors needed). I added a new button for coin using GPIO too and so far mame4all is fully working without keyboard.