MAME Libretro button mapping issue.
-
I have some problem with the per console mapping of the MAME Libretro emulator.
This one should have been easy as pie, but still.The thing is that my X and A buttons perform the same action although the buttons are mapped to different keys (shift , space)
I tested it on the Mortal Kombat games. When I press either of the two the character is doing a high kick.
The lower kick should be assigned to the A button (space), but it seems as if both buttons are mapped to shift key.Player 2 controls work just fine.
Has anyone encountered this problem?HERE is my mapping from the MAME Config file.
input_remapping_directory = "/opt/retropie/configs/mame-libretro/"
input_player1_select = "y"
input_player1_start = "h"
input_player1_left = "left"
input_player1_right = "right"
input_player1_up = "up"
input_player1_down = "down"
input_player1_a = "space"
input_player1_b = "ctrl"
input_player1_x = "shift"
input_player1_y = "alt"
input_player1_l = "z"
input_player1_r = "c"
input_player1_l2 = "nul"
input_player1_r2 = "nul"
input_player1_l3 =
input_player1_r3 =input_player2_select = "u"
input_player2_start = "j"
input_player2_left = "d"
input_player2_right = "g"
input_player2_up = "r"
input_player2_down = "f"
input_player2_a = "w"
input_player2_b = "a"
input_player2_x = "q"
input_player2_y = "s"
input_player2_l = "i"
input_player2_r = "o"
input_player2_l2 = "nul"
input_player2_r2 = "nul"
input_player2_l3 =
input_player2_r3 =hotkeys
input_enable_hotkey = "y"
input_exit_emulator = "h"
input_save_state = "nul"
input_load_state = "nul"
input_state_slot_increase = "nul"
input_state_slot_decrease = "nul"
input_menu_toggle = "nul"
input_reset = "nul" -
Please format your posts. Did you press tab to configure controls in game?
-
@BuZz Hi. I haven't touched the settings inside the MAME emulator as I'm afraid that I will screw up the automatic controller configuration.
-
(i assume you're using lr-mame2003 as it is the default AFAIK)
@theink said in MAME Libretro button mapping issue.:
@BuZz Hi. I haven't touched the settings inside the MAME emulator as I'm afraid that I will screw up the automatic controller configuration.
have you let anyone else use your pi? :)
just to be sure, i would delete everything in
/home/pi/RetroPie/roms/mame-libretro/mame2003/cfg/
which will remove any TAB rebindings. -
@dankcushions So I take that on restart the system will create a new default settings file?
-
@theink if you re-run mame2003 it will (probably on exit - can't remember!)
-
@dankcushions I erased the folder, but it didn't help.
In the evening I will try fixing it through the TAB settings menu. -
Solved it.
I opened the config TAB menu of the MAME emulator.The mapping was messed up for some reason.
Here is how it looked like for the first 4 buttons of Player 1P1 button 1 = LCTRL or RetroPad1 B (This one is correct)
P1 button 2 = LALT or RetroPad1 Y (This one is also fine)
P1 button 3 = SPACE or RetroPad1 X (This one is supposed to be mapped to LSHIFT)
P1 button 4 = LSHIFT or RetroPad1 A (This one is supposed to be mapped to SPACE)Buttons 3 and 4 are rightfully mapped as RetroPad X and A, but for some reason, the first values (SPACE and LSHIFT) were switched.
What I did is to edit the value by hand with the keyboard.If you compare the mapping for the X and A buttons with the MAME retroarch.cfg you will notice the difference.
input_player1_a = "space"
input_player1_x = "shift"Have no clue why this happened, but it works now. :)
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.