I built my mame cabinet based on some plans I found on the interweb. Modified them just a bit for my needs. You'll never get your emulators working 100% like the real thing, but if you search you'll find there are lots of mame forums. You might find what you're looking for there. Some of the games like Pac-Man, Space Invaders,... I just love. There almost perfect. Some other games, not so good.
Good luck, OP!