The following now works:
local hiscore_path = "c:/MAME Support/hi";
I had tried that before but it wasn't working. But I figured out why it wasn't and you won't believe it. Do you know the plugin.json file that's in the same directory as hiscore.dat and init.lua. Well, I had capitalized the "P" in that file name. So instead of the file name being plugin.json, it was Plugin.json. And for whatever reason, that is what was causing the high score saving to not work. Isn't that crazy?
Anyways, thanks for your help guys.
|