mame4all hasn't worked in years (since retropie 4.5 we are on 4.7)
https://retropie.org.uk/forum/topic/31632/mame4all-on-pi-3b
So do this instead
lr-mame2000 uses same rom set as mame 4 all.
sudo ~/RetroPie-Setup/retropie_setup.sh
Manage Packages
Manage Optional Packages
98 lr-mame2000
Install from pre-compiled binary
NOP keep getting segmentation faults.
Try installing from source.
Same doesn't work segmentation faults.
go here in ftp
/opt/retropie/configs/mame-mame4all
emulators.cfg
mame4all = "/opt/retropie/emulators/mame4all/mame %BASENAME%"default = "mame4all"lr-mame2000 = "/opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-mame2000/mame2000_libretro.so --config /opt/retropie/configs/mame-mame4all/retroarch.cfg %ROM%"Change default to lr-mame2000
Since this is libretro core we don't need to muss with controls.
Moving on.