Page 1 of 1

NVRam question

Posted: Thu May 01, 2003 6:30 pm
by Luja
Hi!

I use alphamame32. In order to record well my games, I delete the nvram folder. But, when I play a game that uses a nvram file, the folder is created another time with the file for the game.

Is there a mode to prevent the creation of the nvram folder???

Thx

Posted: Thu May 01, 2003 7:33 pm
by Frankie
1. Delete NVRAM directory.
2. Save empty txt file into your mame directory.
3. Rename the txt file 'nvram'.

Bye.

Posted: Thu May 01, 2003 7:53 pm
by Buttermaker

Posted: Thu May 01, 2003 11:07 pm
by mahlemiut
Or the much easier way - set the NVRAM folder to NUL.

Win32 console - open mame.ini, change the value next 'nvram_directory' to NUL

DOS - same as above, but open mame.cfg instead.

MAME32 - Options -> Directories..., change the folder for NVRAM to NUL.

XMAME - Open ~/.xmame/xmamerc, change nvram_directory to /dev/null (or add it if necessary).

I don't know how MacMAME works, so I can't comment of that, but if you use an XMAME build on MacOS X, then the above should apply.

Posted: Fri May 02, 2003 1:35 am
by LN2
That's not an issue in macmame. You just remove the nvram folder and it's gone....doesn't come back...no .nv files saved without it.

Posted: Sat May 03, 2003 9:17 am
by kranser
mahlemiut wrote:
Win32 console - open mame.ini, change the value next 'nvram_directory' to NUL
Now, that is a good way of doing things, I didn't know that you could do that.
Can this be added as a command line option in MAME? If so, could we change the record.bat file so that it still backs up the NVRAM file, but then executing MAME, it uses a command line option to set the NVRAM folder to NUL. I think this would be a big improvement.

Regards,
Kranser.

Posted: Sat May 03, 2003 7:56 pm
by mahlemiut
Yes. Just add -nvram_directory NUL to the commandline. Should work on all ports.

EDIT: Of course, under Unix/Linux, you'd substitute 'NUL' for '/dev/null' :)