RetroPie comes with mame4all, so you can use that ‘as is’ if you want
You can get the mame.cfg file here:
This is the scanlines option
More info here:
To remove the other emulators, just go into their directory here
and delete any files in the directory – then it wont show in EmulationStation.