After doing some searching I saw a couple of seemingly related posts about this with no real answers to the question so I'll try and ask and see if I can't get this figured out.
Basically what is happening is that certain games, I'll use Hyper Fighting - Street Fighter II (hsf2) for example because it's happened a few times, the high scores will save for a period of time and then randomly reset.
Now this is happening without hitting the reset button (F3), with turning off the computer regularly, and without changing or updating mame.
It gets frustrating to build up a few nice scores and then turn on my machine one day and have them randomly reset to the default scores. Could it be possible that some of these games were meant to reset their hiscores in the arcade say every 30 days? Any way to dissable this from happening? Possible problem with .hi files or nvram getting corrupt? What is strange is that in other games, Street Fighter II - Champion Edition (SF2CE) the hiscores have been saved for months and months with no resetting.
Current version of mame I'm using is 0.141. Any help or suggestions I can get would be great thanks!
Edit - OK so I figured out what was causing it to reset my score. In HSF2 anytime you go into the service menu it will reset your hiscore. I was doing monitor adjustments yesterday and loaded up a colour bar. So even without making any actual changes to game configuration it will save and reset your score. The reason why this was confusing me was because in the other street fighter games ssf2, sf2ce etc your hiscore will remain after you exit the service menu. I really should have though about it yesterday when I saw the score was reset but I didn't think much of it because I often enter the service mode in the other games without a problem.
Any way luckily I have a backup (not that my scores are overly impressive to anyone else) that I can load up. Hopefully this will help someone else out.