Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Hi scores summary  (Read 1513 times)

0 Members and 1 Guest are viewing this topic.

jimmer

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 562
  • Last login:February 17, 2025, 02:48:38 pm
  • I want to play Defender like at the arcade.
Hi scores summary
« on: July 31, 2014, 07:10:07 pm »

I have no idea how to go about this, but what I would like is something to analyse the hi-score (I use the MAME hi-score patch) information and produce a table of players with their lists of hi-scores. Only the top N players need to fit on the screen. eg

JIM                  JON               JCN             DIL

Defender        Pacman         Pengo         mrdo
Robotron        Scramble       Rtype
Galaxian         Frogger         Ghosts
qix
Galaga

If it could be my layout or screensaver for AttratMode that would be perfect. But building the table will be a start.

Once this table appears, the numbers of games played will probably expand massively.

On forums jimmer speaks for himself as a Defender fan, not as proprietor of www.jbgaming.co.uk  << Is that advertising or disclosure ? or both ?

welash

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 54
  • Last login:February 01, 2020, 04:52:44 pm
  • I'm a llama!
Re: Hi scores summary
« Reply #1 on: August 01, 2014, 06:26:34 pm »
It looks like there was a project that worked for older versions of MAME, and I see that someone else posted that they are starting a project to bring it up to date.  Here is a link to the thread http://forum.arcadecontrols.com/index.php?topic=83614.0

The new developer has a post on the last page of the thread.

GreatStone

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 13
  • Last login:April 27, 2020, 05:49:29 am
  • Hi2txt!
    • hi2txt
Re: Hi scores summary
« Reply #2 on: August 09, 2014, 12:08:37 pm »
Hello,

I am the developer of the "resurrected" hi2txt utility ;)
And what is requested is indeed feasible, but with a bit of coding:

# get games with nvram for hi scores
list all games having a <mame>\nvram\<game> directory
# get games with hi file for hi scores
list all games having a <mame>\hi\<game>.hi file
concat the two list, removing duplicates
for each games
    call hi2txt to extract hi scores as readable stuff (sort of CSV output)
    #as 1st line of the output is always the main table header...
    #as 1st column is always RANK, the hi score is always in the 2nd column
    read the 2nd line and extract NAME column
    # optional: skip unknown name to keep only the one from your friends, or to minimize the displayed result in order to be readable in one screen?
    put name+game in a structure storing name as a key, and game as a value, where multiple values are allowed
dump the content of the structure in something readable by your favorite front-end

What should be a valid output at the end to be integrated into a front-end? A jpg/png image?

Regards,
GreatStone.

jimmer

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 562
  • Last login:February 17, 2025, 02:48:38 pm
  • I want to play Defender like at the arcade.
Re: Hi scores summary
« Reply #3 on: August 12, 2014, 04:56:26 am »

I gave a vague example of the display I was thinking of.  But I'm sure once the data collected into a file, people will come up with a variety of ways to display it.

I play mostly old classics and unfortunately quite a few don't take the name of the hi-scorer. Not sure what to do about that, maybe I will need an editable file where I can specify the name for those games.

On forums jimmer speaks for himself as a Defender fan, not as proprietor of www.jbgaming.co.uk  << Is that advertising or disclosure ? or both ?