barryharris.me.uk
Thursday, 9 September 2010, 18:25
savagere

hiscore.dat Support

Posted on 4 March 2009 at 20:42

Posted by barry

Filed under FB Alpha

I have added support for hiscore.dat in FB Alpha. Due to the problems this file caused in MAME before support was removed I have imposed the following restrictions on it's use;

  • Support is only turned on when the option Save high scores when supported is enabled. This is off by default.
  • Support is only turned on when a driver specifically declares support for it.

The reason why I have insisted on a driver specifically declaring it's support is so that hiscore support can be tested in games and only enabled if it is verified to work well. I have currently done the Galaxian driver and only enabled hiscore support in games that work well. I do not intend on doing many more drivers as I don't have the time to test them all. I hope that users will test drivers for themselves and let us know their experiences.

To test a games hiscore support you need to place the hiscore.dat in your hiscore directory and enable the Save high scores when supported option. You also need to compile your own version of FB Alpha and enable hiscore support in the driver you want to test. To enable hiscore support in a driver you edit the BurnDriver struct and adding BDF_HISCORE_SUPPORTED to the flags member.

In pretty much any circumstance, this would involve changing;

BDF_GAME_WORKING

to;

BDF_GAME_WORKING | BDF_HISCORE_SUPPORTED

Then recompile and test the game. If hiscore saving works then let us know. The easiest way to do that would be to post at NeoSource.


2 Comments:

Posted by Lodestar on 5 March 2009 at 02:39    
Can you add the hotkey support that FBA Shuffle has? It's all in the config window, which is super useful and this is something I've always wanted from the official version.
Posted by tina on 28 June 2009 at 10:46    
<a href="http://www.examsprovider.com">exam preparation</a>

Login to leave a comment