Pi3, with this build
Jessie pi image
connect wifi
apt-get update
apt-get install dialog
compile sfml-pi
compile attract
locale, timezome, wifi country, keyboard
copy RetroPie/RetroArch files from floob image (mainly to get adv-mame and config files)
adv-mame launchs fine from command prompt.
When I launch adv-mame directly from AM, I can hear the game starting in the background, and my controls work to add coin, start game, and quit out of the game, but I still see AM. If I use runcommand.sh 0 _SYS_ mame-advmame [romfilename], AM seems to pass control or runcommand is able to take over the tty, as I would want it to.
Thanks