FBNeo high score saving trouble
-
the presence of them in the hiscore.dat does not mean that FBN has them marked as supporting hiscores. a flag needs to be set in the code. https://www.fbalpha.com/view/138/
i’m guessing if you look in the code for these games you will see the flag is not set.
-
@barbudreadmon said in FBNeo high score saving trouble:
In which
hiscore.dat
file did you seeabcop
? This one appears to be missing from official's, probably because the game keeps track of hiscores & credits through nvram anyway, meaning it doesn't even require ahiscore.dat
file to keep hiscores.None, it turns out. Must have had that one confused with another one I tested. Still, A.B. Cop doesn't save scores. There also isn't a
.nv
file for it in theroms\arcade\fbneo
folder, only a.fs
.@dankcushions said in FBNeo high score saving trouble:
the presence of them in the hiscore.dat does not mean that FBN has them marked as supporting hiscores. a flag needs to be set in the code. https://www.fbalpha.com/view/138/
i’m guessing if you look in the code for these games you will see the flag is not set.
Ah, I didn't know that. Could very well be. I don't know how to look in the code, however. Is there some sort of compatibility list for those flags?
-
@WeirdH The
abcop.fs
file is the "nvram", actually the term "nvram" might be misleading, fbneo's "nvram" can be either.fs
or.nv
, the.nv
files are dumps of the eeprom, while the.fs
files are actually minimalist savestates where we only store things like the backup ram. It's weird that it's not working for you, it's not keeping the number of credits either when you exit/relaunch the game ? Does it say "EEPROM successfully loaded" in logs ? What's the size of your.fs
file ? 3180 bytes ?I confirm
toutrun
doesn't implement hiscores in FBNeo atm, i wrote the code to add support yesterday but i need to confirm something with FBNeo dev buddies before committing it (probably not before monday). -
@barbudreadmon said in FBNeo high score saving trouble:
@WeirdH The
abcop.fs
file is the "nvram", actually the term "nvram" might be misleading, fbneo's "nvram" can be either.fs
or.nv
, the.nv
files are dumps of the eeprom, while the.fs
files are actually minimalist savestates where we only store things like the backup ram.That clears things up.
Does it say "EEPROM successfully loaded" in logs ?
Well, rats... I went to create and check a log and suddenly credits and scores are being saved! Problem solved, I guess.
I confirm
toutrun
doesn't implement hiscores in FBNeo atm, i wrote the code to add support yesterday but i need to confirm something with FBNeo dev buddies before committing it (probably not before monday).Okay, good to know, thanks for checking up.
-
@WeirdH said in FBNeo high score saving trouble:
But Donkey Kong (dkong.zip) and Dig Dug (digdug.zip) for instance, save their scores just fine, so it's not core wide.
Despite my earlier claim, Dig Dug appears to NOT save high scores. Must've gotten that one mixed up as well... Is it also one of the games for which the flag isn't set in the code?
-
@WeirdH said in FBNeo high score saving trouble:
Is it also one of the games for which the flag isn't set in the code?
Nope, it seems hiscore support was somehow broken in the galaga driver when xevious support was added, no idea what's wrong though, i'll have to rely on fbneo dev buddies for this one. I'll commit the outrun driver hiscore support later today.
-
@barbudreadmon said in FBNeo high score saving trouble:
I'll commit the outrun driver hiscore support later today.
Hi, has this been committed yet? I just updated from source and Turbo Outrun still doesn't save score for me.
-
@WeirdH nope, it appears
toutrun
emulation is a bit broken (it's what we call a "barry harris driver"), my PR is fixing hiscores in other games from the same driver though. Since i can't figure out what's wrong, dink told me he would take a look when he has time, but tbh it's low priority.digdug
hiscores are fixed though. -
@barbudreadmon Alright, that's good to know. Thanks for replying and all the work is still very much appreciated! Also, I don't know who Barry Harris is.
-
@WeirdH said in FBNeo high score saving trouble:
Also, I don't know who Barry Harris is.
It's the former FBAlpha project member that decided to - illegally - license the emulator to Koch Media for the Capcom Home Arcade and caused all the other developers to fork the project as FBNeo.
-
Ah, thanks for that! Google only turned up a 90 year old jazz pianist. :D
-
@WeirdH we finally figured out the issue with the
toutrun
hiscores : for some reason, the second memory zone for this game (@:maincpu,program,60909,1,09,09
) must be removed/commented from hiscore.dat. The hiscore i provide at https://raw.githubusercontent.com/libretro/FBNeo/master/metadata/hiscore.dat has been updated & patched -
@barbudreadmon Hey, I only just had the time to check it out. It works flawlessly, thanks a lot! Now if I could only improve my Outrunning skills to match...
-
@barbudreadmon said in FBNeo high score saving trouble:
The hiscore i provide at https://raw.githubusercontent.com/libretro/FBNeo/master/metadata/hiscore.dat has been updated & patched
Just noticed this for the first time, but am I correct in stating FBneo doesn't save hiscores for Pac-Man and Ms. Pac-Man?
-
@WeirdH said in FBNeo high score saving trouble:
am I correct in stating FBneo doesn't save hiscores for Pac-Man and Ms. Pac-Man?
No, those games should support hiscores.
-
@barbudreadmon Well, crap. Something is off then. Any idea what might be the cause? I only just copied over the .dat from your earlier post...
-
@WeirdH said in FBNeo high score saving trouble:
Any idea what might be the cause?
No, i just tested, it works for me. One thing that can throw off hiscores is readahead, maybe you enabled it for those games ?
NB : those games don't save name, only highest score to show it at the top
-
@barbudreadmon said in FBNeo high score saving trouble:
NB : those games don't save name, only highest score to show it at the top
I know, but even those aren't saved.
Afaik I don't have runahead enabled. Is there anything in Retroarch or core options that could affect the functionality?
-
@WeirdH said in FBNeo high score saving trouble:
Is there anything in Retroarch or core options that could affect the functionality?
I don't think so
-
It appears I fixed it by using @grant2258's solution here.
It's honestly the third time this command has solved an FBneo issue for me, so I'm curious to what it actually removes (I know, I know, kudos on me for blindly following internet suggestions). Maybe there is some issue with my core-options file either way...
He states 'remove the fbneo entries from your core options and see if it helps'. The issues it already solved for me are:
- AB Cop glitching out after launch
- Turbo Outrun black screening after launch
- Pac-Man hiscore saving again
So what could the file contain that causes this unreliability in my system? Is FBneo going rogue with settings so that it needs periodical removal?
EDIT: just thought of this: I use this script with a generic button on GPIO pins, but it should be a safe shutdown. Could it be of influence on my settings?
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.