Previous Thread
Next Thread
Print Thread
Joined: Jan 2020
Posts: 19
Y
Member
OP Offline
Member
Y
Joined: Jan 2020
Posts: 19
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

Joined: Mar 2001
Posts: 16,808
Likes: 32
R
Very Senior Member
Offline
Very Senior Member
R
Joined: Mar 2001
Posts: 16,808
Likes: 32
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.

Joined: Jan 2020
Posts: 19
Y
Member
OP Offline
Member
Y
Joined: Jan 2020
Posts: 19
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??


Moderated by  R. Belmont 

Link Copied to Clipboard
Who's Online Now
2 members (Duke, Dorando), 24 guests, and 2 robots.
Key: Admin, Global Mod, Mod
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics8,974
Posts117,896
Members5,001
Most Online890
Jan 17th, 2020
Forum Host
These forums are hosted by www.retrogamesformac.com
Forum hosted by www.retrogamesformac.com