Preserving High Scores?

User avatar
Coffea
Posts: 32
Joined: Thu May 28, 2020 8:35 pm
Has thanked: 6 times
Been thanked: 5 times

Preserving High Scores?

Unread post by Coffea »

Is there anyway to preserve arcade core high scores aside from leaving MiSTer running ?
LeftEmpty
Posts: 141
Joined: Sun May 24, 2020 6:47 pm
Has thanked: 2 times
Been thanked: 4 times

Re: Preserving High Scores?

Unread post by LeftEmpty »

Pen and paper or phone snaps are your friends!
No other way but to leave the machines running, like you would have had to do in a café or arcade.
mhartman
Posts: 78
Joined: Fri Jul 03, 2020 1:26 pm
Has thanked: 33 times
Been thanked: 16 times

Re: Preserving High Scores?

Unread post by mhartman »

It would be nice to implement sone of the hardware based high score save kits out there (I.e., highscoresaves.com)
alanswx
Posts: 198
Joined: Sun May 24, 2020 6:55 pm
Been thanked: 52 times

Re: Preserving High Scores?

Unread post by alanswx »

We can add high scores using the mame hiscore database. Maybe I will take a pass at it soon.
mhartman
Posts: 78
Joined: Fri Jul 03, 2020 1:26 pm
Has thanked: 33 times
Been thanked: 16 times

Re: Preserving High Scores?

Unread post by mhartman »

alanswx wrote: Wed Jul 15, 2020 11:25 pm We can add high scores using the mame hiscore database. Maybe I will take a pass at it soon.
That would be really great.
User avatar
Coffea
Posts: 32
Joined: Thu May 28, 2020 8:35 pm
Has thanked: 6 times
Been thanked: 5 times

Re: Preserving High Scores?

Unread post by Coffea »

that would be awesome
Zeosstud
Posts: 73
Joined: Sun Jun 21, 2020 4:56 pm
Has thanked: 2 times
Been thanked: 9 times

Re: Preserving High Scores?

Unread post by Zeosstud »

Preserving Scores would be the absolute icing on the cake.. Wow, just excited to see it is on the radar..
User avatar
bigrico2000
Posts: 2
Joined: Sat Jul 18, 2020 8:09 pm
Been thanked: 1 time

Re: Preserving High Scores?

Unread post by bigrico2000 »

Yes! That would be awesome!
zakk4223
Posts: 227
Joined: Sun May 24, 2020 10:55 pm
Been thanked: 65 times

Re: Preserving High Scores?

Unread post by zakk4223 »

alanswx wrote: Wed Jul 15, 2020 11:25 pm We can add high scores using the mame hiscore database. Maybe I will take a pass at it soon.
Does the linux/arm side actually have access to the FPGA memory? Or is this going to involve having to modify the sys module to provide an interface for generic peeks into FPGA memory?
alanswx
Posts: 198
Joined: Sun May 24, 2020 6:55 pm
Been thanked: 52 times

Re: Preserving High Scores?

Unread post by alanswx »

zakk4223 wrote: Mon Jul 27, 2020 9:42 pm
alanswx wrote: Wed Jul 15, 2020 11:25 pm We can add high scores using the mame hiscore database. Maybe I will take a pass at it soon.
Does the linux/arm side actually have access to the FPGA memory? Or is this going to involve having to modify the sys module to provide an interface for generic peeks into FPGA memory?
Most arcade cores store the "memory" for the arcade system on the FPGA in bram. So we will have to setup some code to be able to read/write to that main ram like mame does. It should be straightforward hopefully.. We might need dual port ram, i need to look at it. I think if we build it for one arcade game, it should be fairly straightforward to port to the next. Some cores like pacman will effect many games at once.
PikWik
Posts: 168
Joined: Sat May 30, 2020 7:00 pm
Has thanked: 117 times
Been thanked: 38 times

Re: Preserving High Scores?

Unread post by PikWik »

i was wondering about this as well.

it would be awesome to have high scores saved for MiSTer :)
djb_rh
Posts: 8
Joined: Tue Jul 28, 2020 6:20 pm
Been thanked: 5 times

Re: Preserving High Scores?

Unread post by djb_rh »

Why can’t high score saving be done in-game? BitKit does it. I mean I know it requires some work per-core, but it still seems worth it.


—Donnie
User avatar
Aspie
Posts: 118
Joined: Sat Sep 26, 2020 1:07 pm
Location: Manchester
Has thanked: 16 times
Been thanked: 27 times
Contact:

Re: Preserving High Scores?

Unread post by Aspie »

You could grab a screenshot with WIN + PrtSc when you get a high score. Then move that screengrab into your wallpapers folder
louksd
Posts: 9
Joined: Wed Sep 02, 2020 11:56 am
Has thanked: 11 times
Been thanked: 2 times

Re: Preserving High Scores?

Unread post by louksd »

It might be worth looking at the Defender Core - that hardware family had a battery backup (3 AA/LR6 Batteries) to save several daily/all-time high scores, so it would stand to reason there is not just a logical, but also physical, location for that information, and could springboard linking the ARM side to similar spots in other boards.

I could, of course, be very wrong; I'm still learning how this all works.
SteelRush
Posts: 9
Joined: Sun Aug 30, 2020 1:44 am
Been thanked: 1 time

Re: Preserving High Scores?

Unread post by SteelRush »

mhartman wrote: Wed Jul 15, 2020 8:22 pm It would be nice to implement sone of the hardware based high score save kits out there (I.e., highscoresaves.com)
This seems like the best solution. There are high score kits available for most of these popular arcade platforms. But I say best coming from someone who has no idea what this would entail for core modifications.
User avatar
aberu
Posts: 686
Joined: Tue Jun 09, 2020 8:34 pm
Location: Longmont, CO
Has thanked: 146 times
Been thanked: 187 times
Contact:

Re: Preserving High Scores?

Unread post by aberu »

Easiest solution would probably be to port the saveram feature of other cores and adapt it to the areas where the high scores are saved in the Arcade board's ram temporarily.
alanswx
Posts: 198
Joined: Sun May 24, 2020 6:55 pm
Been thanked: 52 times

Re: Preserving High Scores?

Unread post by alanswx »

aberu wrote: Thu Oct 15, 2020 6:24 pm Easiest solution would probably be to port the saveram feature of other cores and adapt it to the areas where the high scores are saved in the Arcade board's ram temporarily.
The list of ram locations are in the mame hiscores.dat file. We should put this table into the MRA and build a generic module to read the ram locations from the mra and use it to load / save ram.

I haven’t gotten around to building this yet. But happy to help someone else do it.
User avatar
Aspie
Posts: 118
Joined: Sat Sep 26, 2020 1:07 pm
Location: Manchester
Has thanked: 16 times
Been thanked: 27 times
Contact:

Re: Preserving High Scores?

Unread post by Aspie »

So with the latest update to the arcade cores and mentions of nvram, does that mean high scores will now be stored?
dshadoff
Posts: 397
Joined: Sun May 24, 2020 9:30 pm
Has thanked: 9 times
Been thanked: 89 times

Re: Preserving High Scores?

Unread post by dshadoff »

I know that Alan was looking into this as part of his process going through the arcades to update the framework; I'm not sure how many will have the required information easily obtainable though.

I'm pretty sure that for those which do get this update, he will include a comment in the notification post.
zakk4223
Posts: 227
Joined: Sun May 24, 2020 10:55 pm
Been thanked: 65 times

Re: Preserving High Scores?

Unread post by zakk4223 »

Aspie wrote: Sat Jan 09, 2021 3:20 pm So with the latest update to the arcade cores and mentions of nvram, does that mean high scores will now be stored?
That was likely there to support arcade systems that save settings to some sort of permanent storage, like cps1.5 (and cps2), cave etc.

I guess a core could leverage that to save high scores, but it would still require more per-core work. (and may not even be the best way to approach the problem, given some cores can load multiple games, or variants of the same game)
User avatar
jimmystones
Posts: 157
Joined: Sun Nov 22, 2020 1:26 pm
Location: Reading, UK
Has thanked: 18 times
Been thanked: 151 times
Contact:

Re: Preserving High Scores?

Unread post by jimmystones »

The latest updates by alanswx to defender cores have definitely added high score load+save - or more accurately load+save of the whole CMOS RAM. (I was having a go at trying to implement it myself but as soon as i saw the update to main a little while back i stepped back as i knew someone else more competent was working on it!)

It only saves that at the moment when you use the Save Settings menu option though, so I'm still hoping to get autosave working somehow.
User avatar
Aspie
Posts: 118
Joined: Sat Sep 26, 2020 1:07 pm
Location: Manchester
Has thanked: 16 times
Been thanked: 27 times
Contact:

Re: Preserving High Scores?

Unread post by Aspie »

Thanks Jimmy that's great news. Defender was one game that I had hoped would implement high score saves.
User avatar
Aspie
Posts: 118
Joined: Sat Sep 26, 2020 1:07 pm
Location: Manchester
Has thanked: 16 times
Been thanked: 27 times
Contact:

Re: Preserving High Scores?

Unread post by Aspie »

I tried the Defender update last night and it's fantastic. Not just because of the high score saves, but the new control mode options, especially mode 2. I used to have to remap the controls every time I loaded Defender to get this set up. Now it's there automatically.
User avatar
jimmystones
Posts: 157
Joined: Sun Nov 22, 2020 1:26 pm
Location: Reading, UK
Has thanked: 18 times
Been thanked: 151 times
Contact:

Re: Preserving High Scores?

Unread post by jimmystones »

For anyone who is interested, I've started applying alanswx's changes enable NVRAM save/load to other cores - so far I've updated the MCR3 and MCR3Scroll cores (I'm basically doing this in order of games I like so Spy Hunter came first!). That adds support to:

MCR3Scroll
- Spy Hunter
- Crater Raider
- Turbo Tag

MCR3
- Discs of Tron
- Journey
- Tapper
- Timber

As with Defender you need to hit Save Settings in the core menu to save those scores :)
User avatar
Bits n Stuff
Posts: 68
Joined: Sun May 24, 2020 7:31 pm
Has thanked: 45 times
Been thanked: 5 times

Re: Preserving High Scores?

Unread post by Bits n Stuff »

Fantastic, this is really good news for the arcade cores.
Is it a technical possibility that it could get an automatic saving of scores at some point? don't get me wrong, it's amazing even if it always has to be don't manually but I was just wondering what the likelihood was.
Post Reply