Preserving Arcade Core High Scores

User avatar
Alkadian
Top Contributor
Posts: 721
Joined: Thu May 28, 2020 9:55 am
Has thanked: 289 times
Been thanked: 116 times

Re: Preserving Arcade Core High Scores

Unread post by Alkadian »

jimmystones wrote: Mon Apr 05, 2021 8:09 pm The Mr. Do core is a quality first release, that's for sure :)

Tetris is done, highscore + pause etc.. Also I've been back and added pause in OSD to all Sega System 1 games, and high score support for Wonder Boy... Enjoy!

Arkanoid and Rally-X now in progress...
That's great, many thanks jimmystones!
hiddenbyleaves
Posts: 121
Joined: Mon Nov 02, 2020 11:25 am
Has thanked: 48 times
Been thanked: 19 times

Re: Preserving Arcade Core High Scores

Unread post by hiddenbyleaves »

Wow!
Reg
Posts: 118
Joined: Mon Mar 22, 2021 11:38 am
Has thanked: 60 times
Been thanked: 31 times

Re: Preserving Arcade Core High Scores

Unread post by Reg »

jimmystones wrote: Mon Apr 05, 2021 8:09 pm The Mr. Do core is a quality first release, that's for sure :)

Tetris is done, highscore + pause etc.. Also I've been back and added pause in OSD to all Sega System 1 games, and high score support for Wonder Boy... Enjoy!

Arkanoid and Rally-X now in progress...
Brilliant - thank you.
User avatar
jimmystones
Core Developer
Posts: 216
Joined: Sun Nov 22, 2020 1:26 pm
Location: Reading, UK
Has thanked: 32 times
Been thanked: 248 times
Contact:

Re: Preserving Arcade Core High Scores

Unread post by jimmystones »

Arkanoid and Rally-X are slow going, so I've sorted out Rush N Attack / Green Beret for a little break :)
User avatar
Alkadian
Top Contributor
Posts: 721
Joined: Thu May 28, 2020 9:55 am
Has thanked: 289 times
Been thanked: 116 times

Re: Preserving Arcade Core High Scores

Unread post by Alkadian »

jimmystones wrote: Wed Apr 07, 2021 8:59 pm Arkanoid and Rally-X are slow going, so I've sorted out Rush N Attack / Green Beret for a little break :)
Nice one :D
Lightwave
Posts: 231
Joined: Sun May 24, 2020 10:06 pm
Has thanked: 110 times
Been thanked: 68 times

Re: Preserving Arcade Core High Scores

Unread post by Lightwave »

If you aren't busy enough yet, how about Ladybug? :)
User avatar
jimmystones
Core Developer
Posts: 216
Joined: Sun Nov 22, 2020 1:26 pm
Location: Reading, UK
Has thanked: 32 times
Been thanked: 248 times
Contact:

Re: Preserving Arcade Core High Scores

Unread post by jimmystones »

I've added it to the todo list :) Always need games to try and knock out while other cores are being a pain (still looking at you Arkanoid and Rally-X!!)
Reg
Posts: 118
Joined: Mon Mar 22, 2021 11:38 am
Has thanked: 60 times
Been thanked: 31 times

Re: Preserving Arcade Core High Scores

Unread post by Reg »

jimmystones wrote: Sun Apr 11, 2021 9:27 am I've added it to the todo list :) Always need games to try and knock out while other cores are being a pain (still looking at you Arkanoid and Rally-X!!)
Thank you for your continued work - please don't let Rally-X beat you ! :)

Do you have a Patron page BTW ?
User avatar
jimmystones
Core Developer
Posts: 216
Joined: Sun Nov 22, 2020 1:26 pm
Location: Reading, UK
Has thanked: 32 times
Been thanked: 248 times
Contact:

Re: Preserving Arcade Core High Scores

Unread post by jimmystones »

They'll all get there in the end! I've got Rally-X compiling another test right now as it happens :) Also Mario Bros is awaiting approval of PR as that had some timing fixes that make it much more stable so I've bashed hiscore+pause in before releasing it..

I don't have a Patreon as that would be far too much responsibility - but you can sling me coffee (or more likely beer) money on https://ko-fi.com/jimmystones if you like!
User avatar
jimmystones
Core Developer
Posts: 216
Joined: Sun Nov 22, 2020 1:26 pm
Location: Reading, UK
Has thanked: 32 times
Been thanked: 248 times
Contact:

Re: Preserving Arcade Core High Scores

Unread post by jimmystones »

Fixed up Mario Bros is out with hiscore and pause - yet another game I am apparently terrible at but the minimum high score is low so all good :)
Reg
Posts: 118
Joined: Mon Mar 22, 2021 11:38 am
Has thanked: 60 times
Been thanked: 31 times

Re: Preserving Arcade Core High Scores

Unread post by Reg »

jimmystones wrote: Sun Apr 11, 2021 6:05 pm They'll all get there in the end! I've got Rally-X compiling another test right now as it happens :) Also Mario Bros is awaiting approval of PR as that had some timing fixes that make it much more stable so I've bashed hiscore+pause in before releasing it..

I don't have a Patreon as that would be far too much responsibility - but you can sling me coffee (or more likely beer) money on https://ko-fi.com/jimmystones if you like!
I have just brought you five coffee's sir !
Zeosstud
Posts: 104
Joined: Sun Jun 21, 2020 4:56 pm
Has thanked: 2 times
Been thanked: 25 times

Re: Preserving Arcade Core High Scores

Unread post by Zeosstud »

Now I feel like a schmuck, I only bought 2.. I will remedy that.. :-)
User avatar
jimmystones
Core Developer
Posts: 216
Joined: Sun Nov 22, 2020 1:26 pm
Location: Reading, UK
Has thanked: 32 times
Been thanked: 248 times
Contact:

Re: Preserving Arcade Core High Scores

Unread post by jimmystones »

Reg wrote: Mon Apr 12, 2021 7:05 pm I have just brought you five coffee's sir !
How very generous, thanks very much :) I'd love to report that'll get Rally-X done quicker but you can't change the law of physics I'm afraid!
What's bugging me is how easy it was to get Pacman to work in comparison, and they both ran on the same hardware in the day...
wildpumpk1n
Posts: 1
Joined: Tue Apr 13, 2021 9:31 am

Re: Preserving Arcade Core High Scores

Unread post by wildpumpk1n »

Thanks a lot for doing this 8-)

I love to have my highscore, it push me to be better every time (or not :lol: )
relax
Posts: 12
Joined: Tue Apr 13, 2021 8:36 pm
Been thanked: 3 times

Re: Preserving Arcade Core High Scores

Unread post by relax »

so i accidently saved while an arcade core was booting (galaga) and before it finished booting i had a feeling that i knew what was going to happen next and it did lol garbage in all the high scores. so i deleted the /media/fat/config/nvram/Galaga.nvm? and it seems to be ok now. is this the right way to reset this?
User avatar
jimmystones
Core Developer
Posts: 216
Joined: Sun Nov 22, 2020 1:26 pm
Location: Reading, UK
Has thanked: 32 times
Been thanked: 248 times
Contact:

Re: Preserving Arcade Core High Scores

Unread post by jimmystones »

Ouch, bad luck! That is indeed the correct way to reset it though.

To be honest I can probably add some protection against that in the future - I've got some plans working towards the eventual possibility of autosave that involve checking whether the high scores have changed, and that would allow me to stop saves if the scores are invalid.

Also worth investigating a backup script of some kind if you haven't already - I made one to back up all my saves and nvrams to a file share in Azure every time my MiSTer boots.
alanswx
Core Developer
Posts: 296
Joined: Sun May 24, 2020 6:55 pm
Has thanked: 5 times
Been thanked: 154 times

Re: Preserving Arcade Core High Scores

Unread post by alanswx »

relax wrote: Tue Apr 13, 2021 8:53 pm so i accidently saved while an arcade core was booting (galaga) and before it finished booting i had a feeling that i knew what was going to happen next and it did lol garbage in all the high scores. so i deleted the /media/fat/config/nvram/Galaga.nvm? and it seems to be ok now. is this the right way to reset this?
Deleting the file is a simple way to fix it. Does "reset settings" also delete the file?
relax
Posts: 12
Joined: Tue Apr 13, 2021 8:36 pm
Been thanked: 3 times

Re: Preserving Arcade Core High Scores

Unread post by relax »

alanswx wrote: Wed Apr 14, 2021 1:45 pm
relax wrote: Tue Apr 13, 2021 8:53 pm so i accidently saved while an arcade core was booting (galaga) and before it finished booting i had a feeling that i knew what was going to happen next and it did lol garbage in all the high scores. so i deleted the /media/fat/config/nvram/Galaga.nvm? and it seems to be ok now. is this the right way to reset this?
Deleting the file is a simple way to fix it. Does "reset settings" also delete the file?
no, i just tried that, and the high score remains.
User avatar
jimmystones
Core Developer
Posts: 216
Joined: Sun Nov 22, 2020 1:26 pm
Location: Reading, UK
Has thanked: 32 times
Been thanked: 248 times
Contact:

Re: Preserving Arcade Core High Scores

Unread post by jimmystones »

It's finally done :D Rally-X + New Rally-X now have high score and pause...

One of the simplest high score entries (8 whole bytes!) turned out to be the most difficult to implement so far, thanks to some very delicate VRAM!

Thanks go to Reg for providing some nice big high score dumps to test against, as there was no way I could beat the New Rally-X high score without a lot more practice!
Reg
Posts: 118
Joined: Mon Mar 22, 2021 11:38 am
Has thanked: 60 times
Been thanked: 31 times

Re: Preserving Arcade Core High Scores

Unread post by Reg »

Many thanks for all your work on this game - now I don't have to take pics of the scores and can just continue to challenge myself on this brilliant little game.
hiddenbyleaves
Posts: 121
Joined: Mon Nov 02, 2020 11:25 am
Has thanked: 48 times
Been thanked: 19 times

Re: Preserving Arcade Core High Scores

Unread post by hiddenbyleaves »

Brilliant!!!
User avatar
jimmystones
Core Developer
Posts: 216
Joined: Sun Nov 22, 2020 1:26 pm
Location: Reading, UK
Has thanked: 32 times
Been thanked: 248 times
Contact:

Re: Preserving Arcade Core High Scores

Unread post by jimmystones »

Time Pilot '84 just landed (ahem) with high score save/load and pause :)

Just waiting for a PR to be approved for the next lot as well (Snap Jack, Dorodon and Cosmic Avenger)!

Any more requests for the pile?
mhartman
Posts: 96
Joined: Fri Jul 03, 2020 1:26 pm
Has thanked: 46 times
Been thanked: 20 times

Re: Preserving Arcade Core High Scores

Unread post by mhartman »

Pause for Pac-man would be cool if you’re taking requests. Thanks for all of your hard work!
Zeosstud
Posts: 104
Joined: Sun Jun 21, 2020 4:56 pm
Has thanked: 2 times
Been thanked: 25 times

Re: Preserving Arcade Core High Scores

Unread post by Zeosstud »

Agreed
netbeui
Posts: 148
Joined: Fri Jul 31, 2020 5:04 am
Has thanked: 77 times
Been thanked: 23 times

Re: Preserving Arcade Core High Scores

Unread post by netbeui »

Sorry but I can't remember - do we need to manually go through the save option in the menu for it to save high scores? Or will the cores automatically save them?
User avatar
jimmystones
Core Developer
Posts: 216
Joined: Sun Nov 22, 2020 1:26 pm
Location: Reading, UK
Has thanked: 32 times
Been thanked: 248 times
Contact:

Re: Preserving Arcade Core High Scores

Unread post by jimmystones »

It's manual still for now I'm afraid - hit Save Settings to save your scores
User avatar
jimmystones
Core Developer
Posts: 216
Joined: Sun Nov 22, 2020 1:26 pm
Location: Reading, UK
Has thanked: 32 times
Been thanked: 248 times
Contact:

Re: Preserving Arcade Core High Scores

Unread post by jimmystones »

mhartman wrote: Tue Apr 20, 2021 2:54 pm Pause for Pac-man would be cool if you’re taking requests. Thanks for all of your hard work!
I'm halfway done on that already as it happens - just so many games to test on that core every time it gets an update!
User avatar
jimmystones
Core Developer
Posts: 216
Joined: Sun Nov 22, 2020 1:26 pm
Location: Reading, UK
Has thanked: 32 times
Been thanked: 248 times
Contact:

Re: Preserving Arcade Core High Scores

Unread post by jimmystones »

Lady Bug merge is complete, so now Snap Jack, Dorodon and Cosmic Avenger all have highscore save/load and pause
Reg
Posts: 118
Joined: Mon Mar 22, 2021 11:38 am
Has thanked: 60 times
Been thanked: 31 times

Re: Preserving Arcade Core High Scores

Unread post by Reg »

jimmystones wrote: Tue Apr 20, 2021 10:14 am Any more requests for the pile?
Bubble Bobble would be nice if possible please - that's a game I used to do well on the Amiga, just tried it on the Arcade core and it resets to 30,000 points upon a reboot after a save, so don't think that one is done.

Thank you. :)
User avatar
Newsdee
Top Contributor
Posts: 830
Joined: Mon May 25, 2020 1:07 am
Has thanked: 98 times
Been thanked: 209 times

Re: Preserving Arcade Core High Scores

Unread post by Newsdee »

I second Bubble Bobble...
I didn't expect I would, but now I miss not having high scores in arcade cores :)
Post Reply