Main > Software Forum
MAME CTRLR file for X-Arcade and XBOX 360 Pads
squeak450:
OK i got it to work the only thig is it didn't like the XARCADE_XBox360x4_0_173 in the mame.ini file. i take it out and i can use it. Now i have a xarcade stick and the two xbox controllers. Is there anyway to make the controller come up automatically as player 3 & 4. I had 4 controllers so i was able to get all my controllers running? just wanted to know if i could have the xarcade stick as always player one and two and my 2 xbox controller when turned on come up as 3 & 4.
goAMinD:
--- Quote from: squeak450 on February 14, 2017, 10:25:24 pm ---OK i got it to work the only thig is it didn't like the XARCADE_XBox360x4_0_173 in the mame.ini file. i take it out and i can use it. Now i have a xarcade stick and the two xbox controllers. Is there anyway to make the controller come up automatically as player 3 & 4. I had 4 controllers so i was able to get all my controllers running? just wanted to know if i could have the xarcade stick as always player one and two and my 2 xbox controller when turned on come up as 3 & 4.
--- End quote ---
Ok cool, but does the buttons on the xbox controller still work then? The back button that are credit and the start button as start player one?
I don't know how to do the auto player 3 and 4 unfortunately.
squeak450:
No thats the only 2 buttons i can't get to respond are the start and select. I even tried the joytokey method and got the whole controller working but still the start and select would not work for coin insertion. so i was still using my keyboard for that. and now that i have my tankstick the original layout( i guess from older version of mame) the coin insertion was the side button (number pad 3) well now player one is Number pad 5. I guss i'll just have to reprogram my tank stick being coin inserts for player 1 and 2 or off on that
goAMinD:
Ok, I sniped the mapping part from the config file to show the mapping of the Coin/credit and the start button. Scroll down to where you can see the mapping of <port type="START1"> and <port type="COIN1">. These two are mapped to JOYCODE1 button 7 and 8 which are the Select and Start buttons on your Xbox controller. If you can see this in your file, this is OK.
--- Code: ---<mameconfig version="10">
<system name="default">
<!-- X-Arcade and XBox360x4 by AldousHxlE input configuration file. Updated for MAME 0.173 by YM2612. -->
<input>
<remap origcode="KEYCODE_UP" newcode="KEYCODE_8_PAD" />
<remap origcode="KEYCODE_DOWN" newcode="KEYCODE_2_PAD" />
<remap origcode="KEYCODE_LEFT" newcode="KEYCODE_4_PAD" />
<remap origcode="KEYCODE_RIGHT" newcode="KEYCODE_6_PAD" />
<port type="UI_UP">
<newseq type="standard">JOYCODE_1_YAXIS_UP_SWITCH OR KEYCODE_8PAD OR JOYCODE_1_DPADUP</newseq>
</port>
<port type="UI_DOWN">
<newseq type="standard">JOYCODE_1_YAXIS_DOWN_SWITCH OR KEYCODE_2PAD OR JOYCODE_1_DPADDOWN</newseq>
</port>
<port type="UI_LEFT">
<newseq type="standard">JOYCODE_1_XAXIS_LEFT_SWITCH OR KEYCODE_4PAD OR JOYCODE_1_DPADLEFT</newseq>
</port>
<port type="UI_RIGHT">
<newseq type="standard">JOYCODE_1_XAXIS_RIGHT_SWITCH OR KEYCODE_6PAD OR JOYCODE_1_DPADRIGHT</newseq>
</port>
<port type="UI_SELECT">
<newseq type="standard">KEYCODE_ENTER OR JOYCODE_1_BUTTON1 OR KEYCODE_LCONTROL</newseq>
</port>
<port type="START1">
<newseq type="standard">KEYCODE_1 OR JOYCODE_1_BUTTON7</newseq>
</port>
<port type="START2">
<newseq type="standard">KEYCODE_2 OR JOYCODE_2_BUTTON7</newseq>
</port>
<port type="COIN1">
<newseq type="standard">KEYCODE_3 OR JOYCODE_1_BUTTON8</newseq>
</port>
<port type="COIN2">
<newseq type="standard">KEYCODE_4 OR JOYCODE_2_BUTTON8</newseq>
--- End code ---
tallpr24:
Hey Guys,
Noob here, I have followed your directions using the xbo360 controller cfg file and the mame.ini. Everything is working great!!
the only thing I cant figure out is how to exit out of the game using the controller. I'm using mame64ui version 0.186 and using launchbox.
any suggestions??
I tried pressing different combinations but no luck
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version