NVRam question

General discussion on MAME, MARP, or whatever else that doesn't belong in any of the other forums

Moderators: mahlemiut, seymour, QRS

Post Reply
User avatar
Luja
MARP Serf
MARP Serf
Posts: 182
Joined: Sun Jan 26, 2003 5:42 pm
Location: Bilbao, Basque Country

NVRam question

Post 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
Frankie
Editor
Posts: 910
Joined: Fri Mar 08, 2002 11:16 pm
Location: Denmark
Contact:

Post by Frankie »

1. Delete NVRAM directory.
2. Save empty txt file into your mame directory.
3. Rename the txt file 'nvram'.

Bye.
Frankie
Buttermaker
MARP Seer
MARP Seer
Posts: 788
Joined: Sun May 19, 2002 9:06 am

Post by Buttermaker »

User avatar
mahlemiut
Editor
Posts: 4191
Joined: Mon Feb 04, 2002 10:05 pm
Location: New Zealand
Contact:

Post 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.
- Barry Rodewald
MARP Assistant Web Maintainer
Image
LN2
MARPaholic
MARPaholic
Posts: 1669
Joined: Wed Jul 24, 2002 4:46 pm

Post 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.
kranser
MARP Knight
MARP Knight
Posts: 334
Joined: Wed Mar 13, 2002 11:23 am
Location: London, UK

Post 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.
User avatar
mahlemiut
Editor
Posts: 4191
Joined: Mon Feb 04, 2002 10:05 pm
Location: New Zealand
Contact:

Post 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' :)
- Barry Rodewald
MARP Assistant Web Maintainer
Image
Post Reply