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: Having Arcade Games Save Profiles (ie entering in your initials for profiles)  (Read 1839 times)

0 Members and 1 Guest are viewing this topic.

november

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 66
  • Last login:January 24, 2011, 01:59:42 pm
Via Mame is there way to make games store player data?

IE in NBA Jam you can enter in your initials to store a profile.  I'd like to have this information saved so next time I play I can load my profile.

Isn't NVRam supposed to do this or do I have to create savestates?
-Nic Ballarini
Ultimate PC

Jdurg

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1127
  • Last login:October 04, 2020, 09:26:27 pm
  • A young guy feeling older than sin......
Via Mame is there way to make games store player data?

IE in NBA Jam you can enter in your initials to store a profile.  I'd like to have this information saved so next time I play I can load my profile.

Isn't NVRam supposed to do this or do I have to create savestates?

It's possible if you completely rewrite the code for the games themselves, and completely rewrite the emulator itself.  In other words; No.  It ain't happening.   ;D  When an arcade game saves your information or your high score, it does so via code written in the game itself and saved to the Non Volatile Random Access Memory (NVRAM).  If the game did not specifically record information to this NVRAM, neither will MAME.

When running MAME, it's akin to turning a machine on.  When you exit, it's as if you unplugged the machine.  If the original machine did not save your high scores or your information, neither will MAME.  NBA Jam saves your information because the actual hardware itself did so.  Donkey Kong does NOT save your information because the original hardware never did.

There is a hack that used to be in MAME but was subsequently removed.  This "hack" (and I'm not using hack in a bad way.  Hack just means that it is not how the original hardware worked) allows you to save your high scores when the emulation has ended.  You'll just need to learn how to compile your own version of MAME with this high score support added back in.  That is the best you can hope for with regards to saving player data unless you are an expert programmer and can reprogram every single game in MAME.   :cheers:
Donkey Kong High Scores:
1): 49,500
2): 35,600
3): 30,100
4): 29,400
5): 28,200

massive88

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 938
  • Last login:February 26, 2024, 02:21:01 pm
Everything Jdurg says is correct, but I would like to point that the direct answer to the specific question asked is Yes, NBA Jam will save your profile.

Not everygame will save high scores though (most notably older games).  If you are looking for a specific game which does not by default save your information, see if it is supported by the highscore.dat hack by checking out the listing here.

For the hack he speaks of, see this thread which is easily done in combination with this program.
« Last Edit: June 30, 2008, 10:44:38 am by massive88 »

november

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 66
  • Last login:January 24, 2011, 01:59:42 pm
I will look into this further :).

To use a word I received in an email.

In furtherance, I was mainly focusing on games that allow you to create profile data.

High-scores I could care less about.

-Nic Ballarini
Ultimate PC

massive88

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 938
  • Last login:February 26, 2024, 02:21:01 pm


In furtherance, I was mainly focusing on games that allow you to create profile data.



Those games should be saving the memory when the machine was turned off, thus it should operate the same way in Mame.  Try em and see!

u_rebelscum

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3633
  • Last login:April 21, 2010, 03:06:26 pm
  • You rebel scum
    • Mame:Analog+
One thing not mentioned is autosavestate, which would save everything, but:
- not all games have it,
- changing versions of mame can brake your saved state, and
- (as massive88 said) most games with profiles saved it in the arcades so mame should too (even without autosavestate).

(I think most people at this forum don't like autostatestate.)
Robin
Knowledge is Power