Home Page
Posted By: Yash Anand Relation between save states and hiscore - 05/19/21 02:25 PM
I had save states enabled on mame-linux (EDF) and when I removed the ability to save state hiscore got corrupted frown (kind of seems that alternate bytes got overwritten (initial assessment)).
Experiment I tried - Disabled the save state and then ran edf (scored 50k+ needed to be in the top 10), input by initials as ABCDEF
Did I miss something in their relation? Anyone can shed some light?

Below is a portion of the edf.hi file stored -

1. Initial Game Start (with no hi file) - Default hiscores shown on screen

S.O.H.!!MATSUDA MOMONGA BY.HOSI HYUMA MIYASITAM.AZYMA DASHMAN NANONY YOU&YOU

2. After playing the hiscore was overwritten and I was able to write ABCDEFG

ASD OOG YHS YM IAIA.ZM AHA AOY ABCDEFGH

3. Then restarted the game and the ABCDEFGH also vanished.

ASD OOG YHS YM IAIA.ZM AHA AOY BDFH

Note how ABCDEFGH gets converted to BDFH (alternate bytes overwritten) frown
The hiscore plugin can and will have weird interactions with stuff, which is why it's optional. Save states I can definitely see being one of those things. If you're doing save states you don't need the hiscore plugin since the saved state will include the scores.
Thanks RB.
Why I wanted to disable save states was as my sons play on it sometimes and they wanted a clean chit... Hence the use of hiscores (competition smile ). I thought the process would be..

NO save state OR autosav disabled ---> normal load of the ROM and init of the RAM --> hiscore plugin sees that the there is a discrepancy in the check sums of the hi score loaded values the corresponding data read from the RAM hence will overwrite it. As hiscore shud get preference like auto.sav file. But here I guess on a checksum diff the data is read from the RAM into the hiscore file??
Posted By: Augusto Re: Relation between save states and hiscore - 10/20/21 03:58 AM
You changing dip settings may break hi score file mainly changing game region.
© Forums