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: Question about high score patch  (Read 1611 times)

0 Members and 1 Guest are viewing this topic.

ivwshane

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1039
  • Last login:April 23, 2025, 06:30:06 pm
    • My first mame cab! (WIP)
Question about high score patch
« on: May 20, 2009, 01:37:11 pm »
Does the high score patch have any affect on games that unlock extras the more you play it? For example, street fighter alpha 3 has hidden characters which can be unlocked after playing it for a certain amount of time. Do I need the high score patch to maintain the number of plays or does mame support that natively?

In either situation is there a way to cheat and have sfa3 think I've played it more than I have (like via a file edit)?

Fyrecrypts

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 237
  • Last login:August 19, 2015, 10:50:47 am
  • .hi guy
Re: Question about high score patch
« Reply #1 on: May 20, 2009, 07:39:08 pm »
Good question, some games stored this data on nvram, and in that case all versions of MAME will save the data to disk in the nvram folder. Some of the .hi files generated from the hiscore.dat actually do store this type of data. A good example is bubble bobble, the game decides which bonus items to give based on how many of other bonus items have been given. Without the patch, these values are always reset on exiting MAME, making for pretty predictable items. With the patch, it's much more similar to an arcade machine that's been on for hours, and been through multiple plays.

I haven't looked at street fighter alpha 3 in the hiscore.dat yet, but if it doesn't include those bytes, someone dedicated enough may go through and look for these values in memory and add it. Once/If the values are in the hiscore.dat it's a simple matter of opening up the sfa3.hi file and modifying those bytes in a hex editor. It's also possible this data is stored in nvram, and if so, nothing would need to be done in the hiscore.dat, and you would modify the sfa3.nv file. This can be tricky, and it's not always simple as changing a 00 to 30. Some games have internal data protection with checksums, or requiring the data to be in multiple places (see Robotron scores in nvram for example).
Help us crack more .hi files here:
http://forum.arcadecontrols.com/index.php?topic=83614.0
Generate the newest hiscore.dat here:
http://www.hitotext.com/HiScoreDat/index.php
Sourceforge project page:
https://sourceforge.net/projects/hitotext

ivwshane

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1039
  • Last login:April 23, 2025, 06:30:06 pm
    • My first mame cab! (WIP)
Re: Question about high score patch
« Reply #2 on: May 20, 2009, 10:59:34 pm »
Thanks for the info!


I looked into maws but I didn't see anything that specified how the secrets were achieved.