Build Your Own Arcade Controls Forum

Main => Main Forum => Topic started by: Avenger257 on September 15, 2009, 09:48:16 pm

Title: NBA JAM Save?!?!
Post by: Avenger257 on September 15, 2009, 09:48:16 pm
I have looked through the site and found one post on this but it doesn't appear to answer the question???

My question is this:

Can you save your season/initials in NBA Jam.  The other post that I saw was talking about compiling MAME and it suggested using the HI Score diff (?) but when I look at what is saves, it doesn't appear to work with NBA Jams or similar games... can someone help me make sense of this?  I absolutely love this game and would love to unlock the hidden characters/seasons etc and would appreciate any help...
Title: Re: NBA JAM Save?!?!
Post by: Finchbyrd on September 15, 2009, 10:17:32 pm
You can use mame's save state feature, google that because I don't know much about it. I know you can save it and load it to continue from that point later, but I don't know if you have to manually load it every time, or if you can have it save automatically when you close the game.
Title: Re: NBA JAM Save?!?!
Post by: Beretta on September 15, 2009, 10:44:49 pm
hiscore diff was a patch to save high score tables on games that dont normally save high score table on power off, like pacman and such.

games like NBA Jam however are saved with whats called NVram, or "Nonvolatile Ram"
it's contents are saved via a battery..

in mame however there it's saved using a file..

check your mame.ini make sure it's saving a file in the "NVRAM" directory.
Title: Re: NBA JAM Save?!?!
Post by: Endaar on September 18, 2009, 10:42:36 pm
Saves work fine in NBA Jam: TE. I believe I have auto save-state on.
Title: Re: NBA JAM Save?!?!
Post by: Avenger257 on September 21, 2009, 06:21:00 pm
Well I have the file in NVRAM but it is still not working.  Can anyone point me to where I can find more information on this?

I read up on the save state feature but I am unsure how I can make this work without using the keyboard (shift+f7).  Is there a way to automatically save using command line MAME?
Title: Re: NBA JAM Save?!?!
Post by: Beretta on September 21, 2009, 08:36:36 pm
what version of mame are you running? are you using the official build or a variation?
Title: Re: NBA JAM Save?!?!
Post by: Endaar on September 21, 2009, 09:27:10 pm
I've got a self-compiled version of .133 with the hiscore diff applied. Other than that it's a standard build.
Title: Re: NBA JAM Save?!?!
Post by: Beretta on September 21, 2009, 10:56:00 pm
id say something went wrong with the compile.. try the official build from mamedev.net and see if does the same thing.
Title: Re: NBA JAM Save?!?!
Post by: u_rebelscum on September 22, 2009, 01:31:31 pm
I'm not sure if NBA Jam saved the season to NVRAM or not.  If it did, (IOW if the original cab saved seasons over a turn off/on cycle), you don't need autosave and mame should be saving the season without you doing anything.  If the game didn't save the season to NVRAM, then you do need to enable autoave. 

If you need the state to be saved automatically, enable -autosave in mame.ini (or for just that game, use nbajam.ini with just "autosave 1" in it). 


FWIW, nbajam is listed as supporting autosave (not all games do), so the -autosave option should work.  If a game doesn't support autosave, mame disables the option for that game.  To find out if a game supports autosave, use mame's -listxml option:  "mame -lx > listxml.xml" will save all games to the file listed, while "mame -lx nbajam" willl output all the info on just nbajam to the screen.  Near the end of the info on each game, you'll see "savestate=" followed by either "supported" or "unsupported".
Title: Re: NBA JAM Save?!?!
Post by: Beretta on September 22, 2009, 03:06:31 pm
yes nbajam saved season info to nvram in real life.. it does so in mame as well.

there is no need for hiscore patch or save states on nba jam.
Title: Re: NBA JAM Save?!?!
Post by: Endaar on September 22, 2009, 09:01:15 pm
MINE works fine, heh. Clearly it's the savestate though, not the hiscore compile.