Build Your Own Arcade Controls Forum
Main => Software Forum => Topic started by: november on June 30, 2008, 12:12:01 am
-
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?
-
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:
-
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 (http://www.mameworld.net/highscore/comp.txt).
For the hack he speaks of, see this (http://forum.arcadecontrols.com/index.php?topic=64298.0) thread which is easily done in combination with this (http://forum.arcadecontrols.com/index.php?topic=71845.0) program.
-
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.
-
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!
-
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.)