Cholsonic Posted May 13, 2016 Posted May 13, 2016 Hello All, I have a bit of a weird one! I have the Direct Input version of Mame 0.149, and have it working fine with Xpadder.. Well almost; The only mappings that won't work are the Coin input and Start buttons. Once coin inserted from keyboard and pressed start (from the keyboard) all the Xpadder mappings work great! Any ideas? I have tried using different keys for Coins and Starts and mapped those on Xpadder but get same results. I am thinking it may be that Coins and Starts are somehow *above* the input level that Direct Input works on ie. a machine input level over player input level, if that makes sense at all!! Note: I am using Xpadder because I have a tendency to have gamepads plugged into my cab all the time and Mame wants to use the gamepads as Player 1. Note2: I have tried ControllerRemap and was working great, but I found that some games (Asteroids and probably more) were not using the ControllerRemap profile - presumably because Asteroids defaults to using it's own mappings)
kylecp1979 Posted May 13, 2016 Posted May 13, 2016 Have you tried a standard version of mame and not direct input? you can pick one up here http://mamedev.org/oldrel.html
Creezz67 Posted May 13, 2016 Posted May 13, 2016 When you have set the buttons for Coin and Start in XPadder, go to MAME.ini in your MAME emulator folder, then right click on it and tick read only. This will then save them. If you want to change any buttons on MAME again in future just remember to untick read only first, then tick again when you have changed buttons on XPadder. Hope this helps
Cholsonic Posted May 13, 2016 Author Posted May 13, 2016 Thanks for the replies guys.. Much appreciated. I'll give that a check when I am back in front of the Arcade and get back to you. Cheers
Cholsonic Posted May 13, 2016 Author Posted May 13, 2016 When you have set the buttons for Coin and Start in XPadder, go to MAME.ini in your MAME emulator folder, then right click on it and tick read only. This will then save them. If you want to change any buttons on MAME again in future just remember to untick read only first, then tick again when you have changed buttons on XPadder. Hope this helps So the buttons are already set in xpadder, the keys are already set in mame. I made mame.ini and mameui64.ini read-only... Didn't work, although I am not sure if I understood your steps fully. Can you clarify please? Do I need to start over? Have you tried a standard version of mame and not direct input? you can pick one up here http://mamedev.org/oldrel.html Yeah, I started on a standard version. NO xpadder keys recognised then. Now at least it's just the Coin and Start - although pretty frustrating as it's the first thing Ineed to press )
Cholsonic Posted May 13, 2016 Author Posted May 13, 2016 I have 2, 6 button joysticks with a start and select (shown as gamepad buttons 9 & 10) connected through one usb controller (Xin-mo something - I think). I can map the joysticks manually in mame and they work great... until I have another gamepad plugged in that takes the Player 1 spot.. I'll have to pick this up on Sunday now though as going away camping this weekend - see if there's any sun left !! If you have any further ideas, please let me know? Cheers
kylecp1979 Posted May 14, 2016 Posted May 14, 2016 I see can you possibly map one controller in mame and then map keyboard keys for the second input on the same conrtoller side then use x-padder for the keyboard keys you mapped in for the second input. Kind of something like this. I have x-arcade controller and 360 controls and keyboard for my inputs
Cholsonic Posted May 19, 2016 Author Posted May 19, 2016 I just had another look at it today (been a busy week at work!), and I have realised that Xpadder is not passing any key strokes from my start or select buttons... So it doesn't matter what keys I set, those buttons to use... Weirdly enough though, pressing Start and Select buttons (mapped to combine to make my Exit mame key) works as well as pressing Select and Button 6 (which is combined to a 'P') pauses the Mame.. This is strange. I shall dig a little more and get back to this thread, if anyone is still watching it!!?
Cholsonic Posted May 19, 2016 Author Posted May 19, 2016 It looks like the Set Selector is 'breaking' my keys on which I have the set selector on... This works for every key but does not include my key combos for exit or Pause p1.xpadderprofile ---> ;--- Xpadder Profile File --- DataType=Profile Version=2014.01.01 [Profile Settings] [Set Settings] [Assignments] Set1Button1Slots=Left Shift Set1Button2Slots=Left Control Set1Button3Slots=Alt Set1Button4Slots=Z Set1Button5Slots=X Set1Button6Slots=Space Set1Button9Slots=5 Set1Button10Slots=1 Set1Stick1UpSlots=Arrow Up Set1Stick1RightSlots=Arrow Right Set1Stick1DownSlots=Arrow Down Set1Stick1LeftSlots=Arrow Left However, if put in my key combos ( I hold button 9 and press 10 to pass a '.' (dot) [exit / cancel] | hold 10 and press 9 to pass '.' | hold button 9 and press button 5 to pass 'P' [Pause] ) like the below, then the combos work fine but buttons 9 and 10 don't work as the simple key presses ( '1' [start] and '5' [coin] ) ;--- Xpadder Profile File --- DataType=Profile Version=2014.01.01 [Profile Settings] [Set Settings] [Assignments] Set1Button1Slots=Left Shift Set1Button2Slots=Left Control Set1Button3Slots=Alt Set1Button4Slots=Z Set1Button5Slots=X Set1Button6Slots=Space Set1Button9Slots=5 Set1Button9SetSelect=1 Set1Button10Slots=1 Set1Button10SetSelect=2 Set1Stick1UpSlots=Arrow Up Set1Stick1RightSlots=Arrow Right Set1Stick1DownSlots=Arrow Down Set1Stick1LeftSlots=Arrow Left Set2Button5Slots=P Set2Button9SetSelect=0 Set2Button10Slots=Dot Set3Button9Slots=Dot Set3Button10SetSelect=0 Now I feel sure that I am setting this up wrong, any ideas? Anyone post their working p1.xpadderprofile contents? Cheers
Cholsonic Posted May 20, 2016 Author Posted May 20, 2016 Cracked it!! I woke up this morning with a flash of inspiration. I just needed to add the coin and start keys (5 & 1) into Set2 and Set3, otherwise the keys are not pressed when xpadder goes to the next set.. All very logical but I just didn't see it!! Here's my totally working xpadder profile ;--- Xpadder Profile File --- DataType=Profile Version=2014.01.01 [Profile Settings] [Set Settings] [Assignments] Set1Button1Slots=Left Shift Set1Button2Slots=Left Control Set1Button3Slots=Alt Set1Button4Slots=Z Set1Button5Slots=X Set1Button6Slots=Space Set1Button9Slots=5 Set1Button9SetSelect=1 Set1Button10Slots=1 Set1Button10SetSelect=2 Set1Stick1UpSlots=Arrow Up Set1Stick1RightSlots=Arrow Right Set1Stick1DownSlots=Arrow Down Set1Stick1LeftSlots=Arrow Left Set2Button5Slots=P Set2Button9Slots=5 Set2Button9SetSelect=0 Set2Button10Slots=Dot Set3Button9Slots=Dot Set3Button10Slots=1 Set3Button10SetSelect=0
Recommended Posts
Archived
This topic is now archived and is closed to further replies.