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

  • I bought a second micro SD RAM card and set up a new image of RetroPie on it and swapped it in for my old Pi memory. I still have my ROMs on a USB drive. (I didn't change that.)

    I put the new card in and started RetroPie, then updated it through the menu, then installed AdvMame binary packages.

    I have a 0.106 ROM set for AdvMame in the proper directory. After doing all the install work, including a few things like setting up ssh and replacing the original Samba config file with my own, I restarted.

    I've seen comments in several threads from people who have said they installed AdvMame and then just started using. Not at all what I'm experiencing. AdvMame looks okay. The games are there and they start up like they should. But that's where the good part ends. AdvMame does not respond, at all, to my controls. I can press ESC on my USB keyboard and get a menu up of controls and I can get a keyboard map. I tested it and 5 deposits a coin and 1 starts one player. So if all I wanted was to use my keyboard for AdvMame, that would work, but the controls don't work at all.

    Note the controls work fine with Mame-Libretro.

    I ran advj to get a look at what AdvMame saw for my controller. See below for the output. I also ran it for a while and checked out the response to the joysticks, which seems to be working properly.

    So what do I need to do to get AdvMame to play nicely with my controller?


    Driver event, joysticks 2
    joy 0 'd209_0441' 'Ultimarc Mini-PAC', controls 2, buttons 16, ball axes 0
    control 0 [stick], axes 4
    axe 0 [x]
    axe 1 [y]
    axe 2 [z]
    axe 3 [rz]
    control 1 [hat], axes 2
    axe 0 [x]
    axe 1 [y]
    button 0 [trigger]
    button 1 [thumb]
    button 2 [thumb2]
    button 3 [top]
    button 4 [top2]
    button 5 [pinkie]
    button 6 [base]
    button 7 [base2]
    button 8 [base3]
    button 9 [base4]
    button 10 [base5]
    button 11 [base6]
    button 12 [extra1]
    button 13 [extra2]
    button 14 [extra3]
    button 15 [dead]
    joy 1 'd209_0441_2' 'Ultimarc Mini-PAC', controls 2, buttons 16, ball axes 0
    control 0 [stick], axes 4
    axe 0 [x]
    axe 1 [y]
    axe 2 [z]
    axe 3 [rz]
    control 1 [hat], axes 2
    axe 0 [x]
    axe 1 [y]
    button 0 [trigger]
    button 1 [thumb]
    button 2 [thumb2]
    button 3 [top]
    button 4 [top2]
    button 5 [pinkie]
    button 6 [base]
    button 7 [base2]
    button 8 [base3]
    button 9 [base4]
    button 10 [base5]
    button 11 [base6]
    button 12 [extra1]
    button 13 [extra2]
    button 14 [extra3]
    button 15 [dead]

    Press Break to exit
    joy 0, [----------------], 0/0 [ 0 -] 0/1 [ 0 -] 0/2 [ 0 -] 0/3 [ 0 -] 1/0 [ 0 -] 1/1 [ 0 -] []
    joy 1, [----------------], 0/0 [ 0 -] 0/1 [ 0 -] 0/2 [ 0 -] 0/3 [ 0 -] 1/0 [ 0 -] 1/1 [ 0 -] []

  • Global Moderator

    @Tango said in AdvMame - Looks Pretty, Does Nothing:

    So what do I need to do to get AdvMame to play nicely with my controller?

    Press Tab on your keyboard and configure your input - advmame has its own input handling, and is not automatically configured from EmulationStation's input dialog. You need to configure it before using your gamepad.


  • @mitu said in AdvMame - Looks Pretty, Does Nothing:

    @Tango said in AdvMame - Looks Pretty, Does Nothing:

    So what do I need to do to get AdvMame to play nicely with my controller?

    Press Tab on your keyboard and configure your input - advmame has its own input handling, and is not automatically configured from EmulationStation's input dialog. You need to configure it before using your gamepad.

    Oh. So bloody obvious and I missed it.

    Is this a one-time configuration? Or do I have to repeat for each ROM I use or whenever I run a game on it?


  • @Tango if you set general key bindings using the tab menu, they will persist between games that use the same controls.


  • @gomisensei said in AdvMame - Looks Pretty, Does Nothing:

    @Tango if you set general key bindings using the tab menu, they will persist between games that use the same controls.

    So "Fire" would be the same for all games that use "Fire?" (Or is does it use the same layout that RetroArch does, with A,B,X,Y, and so on?


  • @Tango If you set up button1 in input(general) it will work for all games that use the first button. Same with each button, digital axis, analog axis etc that you setup.

    You can also set up single unique-per-rom inputs under Inputs(this game) that will not carry over, but will overwrite the general inputs for the rom you set it up in only (not sure about clones).


  • @gomisensei said in AdvMame - Looks Pretty, Does Nothing:

    @Tango If you set up button1 in input(general) it will work for all games that use the first button. Same with each button, digital axis, analog axis etc that you setup.

    You can also set up single unique-per-rom inputs under Inputs(this game) that will not carry over, but will overwrite the general inputs for the rom you set it up in only (not sure about clones).

    Cool! Sounds like just what I want.

    Thank you.

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.