Author Topic: how to know if a game has hi score saving support enabled  (Read 118 times)

Offline Sputnik

  • New Member
  • *
  • Posts: 1
  • Karma: +0/-0
how to know if a game has hi score saving support enabled
« on: January 26, 2021, 10:15:22 AM »
Hi guys,
I know that, even if a game is listed in hiscore.dat, it doesn't mean that it save scores with FBNeo. Is there an easy way to know which games have hi-score saving support enabled? If not, where can we find this information in the source code?
« Last Edit: January 26, 2021, 10:17:50 AM by Sputnik »

Offline dink

  • Administrator
  • *****
  • Posts: 4034
  • Karma: +337/-0
  • pie? I nearly bought one!
Re: how to know if a game has hi score saving support enabled
« Reply #1 on: January 26, 2021, 02:33:10 PM »
In the game lister it will say "Notes: Hi scores supported"

In the driver file, (src/burn/drv/pre90s/d_dkong.cpp), there's an entry for each game - usually near the bottom of the file.  One can usually find it by searching for "dkong" (romset name with "" quotes).  In the column that usually starts with BDF_GAME_WORKING, a tag of BDF_HISCORE_SUPPORTED will mean the game supports hiscores.
If you'd like to mark a game to have hiscore support, just add the "| BDF_HISCORE_SUPPORTED" tag.  Also make sure "HiscoreReset();" exists somewhere in the DrvDoReset() function.

If you need more info just look at how d_dkong.cpp does it or ask :)

best regards,
- dink
« Last Edit: January 26, 2021, 02:36:29 PM by dink »