Thanks pal that's work putting the .dat file's on dats folder worked on both MAMEUI and MAMEUIFX its strange because I always used to put them on the root of the emulator it self this is new to me but its still you can't show the history on snaps or flyer tab in the interface option anybody notice that.
Now how about the default game option is still not saving when you exit the emulator any fix for that.