First, don't replace the hiscore.dat, the one that comes with mame is up to date. Second, start the game selector UI, scroll down to Plugins and make sure the hiscore plugin in enabled there. You can also try running it with the "-plugins -plugin hiscore" options.