it's hard to tell exactly what's wrong when the only description is that "they didn't work". Do the games load and lock up? Do they load but your gun doesn't control the game? Is MAME telling you perhaps that you have bad or missing ROMs, and if so which ones and what checksum is it expecting? Those details will hopefully clue someone in as to what you need to try next.
just sayin.