This is a common problem for arcade emulation, so you maybe want to read and understand how that works first, from https://retropie.org.uk/docs/Arcade/.
If the ROM doesn't work, then you'll need to find the correct ROMset version for your emulator and get the ROM from that collection version.
@spacebiscuit there is no 'main rom' for MAME/arcade. 'outrun.zip' will have many variants with different contents with exactly the same name. outrun.zip from MAME 0.37b5 will not be the same as outrun.zip from MAME 0.220, for example. there will be a version of outrun.zip that runs in FBNeo - it is the one with the romset version listed here: https://retropie.org.uk/docs/FinalBurn-Neo/
there's no need to do trial and error and trying different MAME/FBA emulators, you simply download the romset collection for the emulator you are trying to use.
0.37b5 should provide pretty much everything for 'classic' arcade games and will easily run on the PI3 B, MAME 0.106 is the last release for the PI and this should still work ok for the vast majority of games and will still run on the PI 3B
MAME version NEED a specific ROM set as each version of MAME has updates and redumps or better dumps of ROMs that were not working earlier, which is why MAME fails if you don't have the ROMs to match
I do have a set of ROMs that I picked up looking for some help on how to create a custom ROM set with only working ROMs and came across the set by accident that has ONLY the working versions of each game, and the best ones of FBA or MAME. with a lot of the redundant games removed. Easy to install and comes with very simple instructions to basically copy over and its ready to go. Try searching for "wills arcade set". Thats all the help I can give
Never every unzip the MAME ZIP files. FBA and MAME need the files zipped, one of the few emulators that MUST be zipped for it to work as it should
There are a lot of clones and games that are non-working and some where only the clones work. This improved with later revisions of MAME but the PI can't run the later games due to sheer processing power required
@edmaul69 I'm wondering if I should note, that I disconnected the ipac and used ONLY my keyboard for the inputs and had the same result. Alt on the keyboard worked to navigate back to previous screens in Retropie menus, but did not work in game roms.
@Joshua2005777 The default view in the File Manager (Midnight Commander) should show the user folder. Assuming you are using the SD card to store your files, your ROM files should be located inside the folder Retropie\roms\<System Name>.
You need to read the very clear guidance provided on MAME. Your post has been replicated hundreds of times and answered hundreds of times. A search on here would reveal hundreds of threads on this topic. Just by typing in MAME HELP into the search bar will reveal them.
@meleu Thank you for your response. I will try that version.
Even though that solution can help me, I would like to know if anyone has experienced the same issue with the second joystick in Mame4all. There should be a lot of gamers using two arcade joysticks connected to a Raspberry.
It is like there is no driver for the second stick (remember that the buttons work fine) only in Mame4all, since it works perfectly in all emulators, including Advance Mame. It seems incredible, but I promise that's how it is.