Page 10 of 13
Re: Preserving Arcade Core High Scores
Posted: Fri Aug 27, 2021 7:45 pm
by jimmystones
Unfortunately Vulgus is a Jotego core, so it's out of my scope really - I believe he does intend to tackle it eventually, but in a more unified all-at-once way, which is possible due to the way all his code is structured and linked, as opposed to the one by one approach that is necessary on the offical MiSTer repo.
If there is anything else in the offical cores that isn't covered in my wiki link above that you think would begood though, do shout - I've basically done all the games I have a particular fondness for already!
Re: Preserving Arcade Core High Scores
Posted: Sat Aug 28, 2021 11:40 am
by LamerDeluxe
jimmystones wrote: ↑Fri Aug 27, 2021 7:45 pmIf there is anything else in the offical cores that isn't covered in my wiki link above that you think would begood though, do shout - I've basically done all the games I have a particular fondness for already!
I'm voting for Q*Bert and Gorf
Re: Preserving Arcade Core High Scores
Posted: Sat Oct 02, 2021 9:42 am
by Robgus
This is truly amazing, thanks for all the work!
Just to clarify, when autosave is on, I just need to open the osd menu when I have a highscore to save?
Thanks again!
Re: Preserving Arcade Core High Scores
Posted: Sat Oct 02, 2021 1:09 pm
by jimmystones
Yep, when the 'Autosave Hiscores' option is On, opening the OSD will save your scores, but it'll only do it if they have changed - you'll see a saving message if so.
Re: Preserving Arcade Core High Scores
Posted: Sat Oct 02, 2021 2:38 pm
by Robgus
Brilliant, truly brilliant!
Thanks!
Re: Preserving Arcade Core High Scores
Posted: Mon Oct 04, 2021 11:23 am
by muthuxmut
In the Galaga core, if I run one of the (two) fast shoot alternative cores and I turn AutoSave ON, the next time the core loads the sound is scrambled/distorted.
I can delete the NVRAM for the cores, but obviously then the high score is wiped out too.
I havent tried this on other cores, but can someone confirm this issue on their setup please
Thank you
mut
Re: Preserving Arcade Core High Scores
Posted: Mon Oct 04, 2021 12:49 pm
by jimmystones
muthuxmut wrote: ↑Mon Oct 04, 2021 11:23 am
In the Galaga core, if I run one of the (two) fast shoot alternative cores and I turn AutoSave ON, the next time the core loads the sound is scrambled/distorted.
I can delete the NVRAM for the cores, but obviously then the high score is wiped out too.
I havent tried this on other cores, but can someone confirm this issue on their setup please
Thank you
mut
That's a bit confusing - the Autosave option shouldn't appear on any of the alternative games for Galaga, as I haven't configured them for highscore support at all! What do names do the nvrams that cause the problem get saved as out of interest?
Re: Preserving Arcade Core High Scores
Posted: Tue Oct 05, 2021 2:27 am
by muthuxmut
Well that explains why its a bit broken
Im at work right now, Ill grab the details later tonight
Is there any scope for the high score mechanism to work on the alternatives ?
Re: Preserving Arcade Core High Scores
Posted: Tue Oct 05, 2021 7:34 am
by muthuxmut
File contents
'real' galaga with a poor high score of 55k
Code: Select all
š4hÑ¢Dˆ"EŠ(Q£GŽ:uêÔ©S§Ož=zõëÖ[·oÞ½zõëÖ[·$$$$$$
fast shoot midway
Code: Select all
¿%G/áràN&‘û]wŽù;—
æ`ÛؼušÚ~n4Ú³Ą̀ԯóì¦[l:+óã
Re: Preserving Arcade Core High Scores
Posted: Tue Oct 05, 2021 7:49 am
by jimmystones
I don't understand why it is saving .nvms for those alts, the <nvram> tag in the MRA is supposed to be blank, so it shouldn't even try!?
Can you attach your MRA for the set 1 fast shoot one?
Re: Preserving Arcade Core High Scores
Posted: Tue Oct 05, 2021 2:55 pm
by zakk4223
jimmystones wrote: ↑Tue Oct 05, 2021 7:49 am
I don't understand why it is saving .nvms for those alts, the <nvram> tag in the MRA is supposed to be blank, so it shouldn't even try!?
Can you attach your MRA for the set 1 fast shoot one?
It isn't blank though:
https://github.com/MiSTer-devel/Arcade- ... 0hack).mra
It looks like ALL the MRAs in the alternative directory have an nvram section.
I think whoever added those over the summer just carried over the nvram and rom entries from the base MRA
Re: Preserving Arcade Core High Scores
Posted: Tue Oct 05, 2021 4:00 pm
by jimmystones
... I was looking in the alternatives repo, not in the Galaga one specifically, as I thought they had all moved out to there!!
Interestingly, I don't have those ones on my MiSTer, I only have the set from the alternatives repo.. Did you grab them manually or via scripts?
Re: Preserving Arcade Core High Scores
Posted: Tue Oct 05, 2021 5:24 pm
by zakk4223
Mine have empty nvram entries. It looks like both the downloader and old update script should pull from the Alternatives repo.
But clearly someone didn't get the memo; all those Galaga alternatives were added to the Galaga repo AFTER they were added to the Alternatives_MiSTer repo.
If someone doesn't want all the mess of every Alternative, but they care about a single game they're probably going to go to that core's repo and see all those MRAs in _alternative and just grab them. Probably needs removing for now. I would argue that once the new downloader is improved and becomes the default the alternatives should probably move into the individual core repos to prevent this sort of confusion. But that's just me telling other people what to do.
Re: Preserving Arcade Core High Scores
Posted: Tue Oct 05, 2021 7:39 pm
by jimmystones
I agree.. I don't personally know why there is an alternatives repo, but it is what it is! So I've submitted PRs to move the alts into the alts repo, along with updating and fixing the hiscore config. Once those are approved I'll drop another message here so interested parties can update
Re: Preserving Arcade Core High Scores
Posted: Tue Oct 05, 2021 7:58 pm
by zakk4223
I assume it is like that because otherwise the update script would be terribly slow having to download hundreds of alternative MRAs individually. The Alternatives repo lets it just download one big zip with all the MRAs in it
Re: Preserving Arcade Core High Scores
Posted: Tue Oct 05, 2021 8:12 pm
by jimmystones
That does make sense, and hopefully you are right and the new downloader means things can be merged back in to their original homes, would make life a bit easier for the devs if nothing else!
Re: Preserving Arcade Core High Scores
Posted: Wed Oct 06, 2021 2:26 pm
by jimmystones
Galaga alternatives should now be up to date with highscore autosave support (in the
https://github.com/MiSTer-devel/MRA-Alternatives_MiSTer repository)
Re: Preserving Arcade Core High Scores
Posted: Wed Oct 06, 2021 2:32 pm
by netbeui
Hi jimmystones, I noticed Frenzy is saving high scores if I manually save but it's not doing the auto save like some of the other games. It's not a huge deal but would be nice if it worked liked the other games that have high score saving. Thanks for all your contributions to the MiSTer project!!
Re: Preserving Arcade Core High Scores
Posted: Wed Oct 06, 2021 2:33 pm
by jimmystones
Frenzy, Beserk and other Williams games, as well as the various MCR cores are next up on my list - I had to write a new version of the autosave code as they operate differently (the original hardware had NVRAM based saves) and I'm just testing it on Defender at the moment. Won't be long!
Re: Preserving Arcade Core High Scores
Posted: Wed Oct 06, 2021 6:07 pm
by dazzer69
Any chance you could look at resolution of the Robotron core? Last release was changed for some reason and won’t scale to 720p.
Re: Preserving Arcade Core High Scores
Posted: Thu Oct 07, 2021 8:54 am
by jimmystones
dazzer69 wrote: ↑Wed Oct 06, 2021 6:07 pm
Any chance you could look at resolution of the Robotron core? Last release was changed for some reason and won’t scale to 720p.
I'm doing autosave on Robotron next, so will take a look. I did the last update to fix the vertical centering on the core, so I probably screwed it up in the process!!
Re: Preserving Arcade Core High Scores
Posted: Thu Oct 07, 2021 10:21 am
by muthuxmut
all alternatives working as they should. awesome work. thank you so much
much appreciated
Re: Preserving Arcade Core High Scores
Posted: Fri Oct 08, 2021 6:30 pm
by jimmystones
dazzer69 wrote: ↑Wed Oct 06, 2021 6:07 pm
Any chance you could look at resolution of the Robotron core? Last release was changed for some reason and won’t scale to 720p.
Latest Robotron release should in theory fix your resolution issue - please give it a test and let me know
Re: Preserving Arcade Core High Scores
Posted: Fri Oct 08, 2021 6:47 pm
by dazzer69
Cheers, Jim. It’s sorted. Fills the whole 1080p panel at 720p integer scaled. How can a game nearly 40 years old be so good?
Re: Preserving Arcade Core High Scores
Posted: Wed Oct 13, 2021 5:34 pm
by Aspie
Scramble isn't saving high scores now. I now have two versions on my list, the original Scramble and Scramble Stern version 1. Both have automatic saving switched on, but neither save their scores.
Re: Preserving Arcade Core High Scores
Posted: Wed Oct 13, 2021 7:13 pm
by jimmystones
Aspie wrote: ↑Wed Oct 13, 2021 5:34 pm
Scramble isn't saving high scores now. I now have two versions on my list, the original Scramble and Scramble Stern version 1. Both have automatic saving switched on, but neither save their scores.
Hmm, ok. 2 questions then:
- Have you got the latest Main update (or at least 20210825)?
- If you save manually using the old Save Settings method do the scores save then?
Also if you have an MRA just called Scramble then that is out-of-date and should be removed - it sounds like you might want to clear out your arcade MRAs and do a re-update to get rid of any confusing duplicates.
Re: Preserving Arcade Core High Scores
Posted: Wed Oct 13, 2021 7:18 pm
by Aspie
Thanks Jimmy.
I managed to get the Stern version to save. I opened the menu, turned off autosave, then saved settings, then reset. Then turned on autosave, saved settings, then reset. It was saving the scores after that.
I'll delete the old version as I tried the above solution with it and it didn't work.
Re: Preserving Arcade Core High Scores
Posted: Wed Oct 13, 2021 7:21 pm
by Aspie
When you say I should clear out my arcade MRAs, do you mean delete whole lot of them?
Re: Preserving Arcade Core High Scores
Posted: Wed Oct 13, 2021 7:25 pm
by jimmystones
Aspie wrote: ↑Wed Oct 13, 2021 7:21 pm
When you say I should clear out my arcade MRAs, do you mean delete whole lot of them?
Unfortunately yes, the updater doesn't know to remove out of date files so the only way to make sure you have a good set is to delete them all and then get the updater to do a full re-sync.
Re: Preserving Arcade Core High Scores
Posted: Wed Oct 13, 2021 9:41 pm
by Aspie
Ok I'll try that because I have had problems with old versions of Galaga and Defender, and all the alternatives of Crazy Kong that have stopped working