Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

Mame2003 Input Binding Issues



  • I am going to do my best to describe my problem. I have looked all over the forums, and google to find a solution.

    I am using a ipac 4 on a raspberry pi 3b+ with the latest version of RetroPie running.
    The problem arose when attempting to setup controls for Street fighter.

    My Mame2003 bindings seem to be off compared to what my my Global retroarch.cfg file says.

    for instance in my Global retroarch.cfg file my buttons are as follows
    input_player1_a = "a"
    input_player1_b = "b"
    input_player1_x = "c"
    input_player1_y = "d"
    input_player1_l = "e"
    input_player1_r = "f"
    input_player1_l2 = "ralt"

    when accessing the input binding from within a Mame2003 rom buttons are

    User1Button1 = (key: b)
    User1Button2 = (key: d)
    User1Button3 = (key: c)
    User1Button4 = (key:a)
    User1Button5 = (key:e)
    User1Button6 = (key:f)
    User1Button7 = (key:ralt)

    No matter what I do I am not able to get controls to work properly, appears to me to be having issue with buttons 1thru4, If i attempt to change in the RGUI the controls get messed up entirely.

    Mame2010 setting look better to what I think it should be

    User1Button1 = (key: a)
    User1Button2 = (key: b)
    User1Button3 = (key: c)
    User1Button4 = (key:d)
    User1Button5 = (key:e)
    User1Button6 = (key:f)
    User1Button7 = (key:ralt)

    If anyone has any suggestions I would greatly appreciate it.


  • Global Moderator

    DId you enable 'Save config on Exit' in RGUI ? This has the tendency to mess up the controller configuration ever so subtly so it's not recommended.
    The global retroarch.cfg configures the RetroPad - if you configure the controller in Emulationstation's input configuration, a separate .cfg file will be saved with your gamepad configuration in /opt/retropie/configs/all/retroarch-joypads and you can change there the button mapping.



  • @mitu is Rgui adding the hidden ascii characters or secret spaces/tabs thing?


  • Global Moderator

    @Tom_Neverwinter I don't know what you're referring to.



  • its the way mame2003 joypad is mapped for you needll to put on game focus mode and youll be fine



  • @mitu

    When prompted with the controller configure I input the controls needed. I am not currently using a gamepad only a ipac 4 as a keyboard interface.

    I started a fresh install of Retropie on another SD card. Having the same issue, mame2003 button mapping seems off compared to all the other emulators I have running.


  • Global Moderator

    @roycebryan You can re-order your gamepad controls the way you'd like, but for arcade games it's not a one-size-fits-all unfortunately. I forgot to mention you can use the Core input remappign feature to have it stick.
    And while you're at it, you can give Mame2003-plus a try, there's more controls control(!) in this version which might get you closer to other Mame emulators, plus more games are available. It has more games added - over the Mame 2003 ROMset - and it's actively developed. You can install it from source from the Experimental packages section in RetroPie-Setup.



  • @mitu said in Mame2003 Input Binding Issues:

    Thanks I will give Mame2003-plus a try. I was hoping to setup my retroarch.cfg files for each game outside of retroarch by editing the .cfg file myself, that way when/if I need to redo my system I will have the files already setup and working.

    I was using this https://retropie.org.uk/forum/topic/8987/guide-setting-up-a-retropie-controls-using-ipac2-controller-extensive-tutorial-preconfigured-files/2 as a guide.

    Thanks for your help I will do some more exploration.


  • Global Moderator

    @roycebryan You can certainly do that (using a cfg file for each ROM).
    Using the Core input mapping and creating an remap per game would be similar - the config file would saved in the RetroArch overrides folder.



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.