RetroArch doesn’t include MAME itself but offers (libretro ports). The main ones:
Arcade games often use unique button layouts. You can remap these by opening the Quick Menu (F1 or Command+Menu) while a game is running and selecting Controls . retroarch mame