Mame 0.63
Moderator: BBH
Re: Stopping MAME0.63 regenerating the nvram folder
How about creating a read only dummy file called 'nvram' and putting it in the MAME directory, would that work?
- Phil Lamat
- Regulation Coordinator
- Posts: 2076
- Joined: Wed Mar 06, 2002 9:19 am
-
- Button Slapper
- Posts: 2
- Joined: Tue Jan 14, 2003 9:27 am
a very good solution LORDGAZ but i did it with each *.nv but your method is the best (directly make read-only a text file named nvram)
Last edited by Borjaquake on Tue Jan 14, 2003 1:49 pm, edited 2 times in total.
Thanks Borjaquake. Let me clarify the method though, I typed that post very quickly last thing at night.
To prevent the nvram folder from recreating itself:
1. DELETE the nvram folder.
2. Open up notepad and save an empty text file inside the MAME directory.
3. Rename this file to 'nvram' without any extension, ie no .txt in the filename.
Now MAME can't create a new nvram folder because a file exists with the same name. Btw there's no need to change the read only attribute.
To prevent the nvram folder from recreating itself:
1. DELETE the nvram folder.
2. Open up notepad and save an empty text file inside the MAME directory.
3. Rename this file to 'nvram' without any extension, ie no .txt in the filename.
Now MAME can't create a new nvram folder because a file exists with the same name. Btw there's no need to change the read only attribute.
Maybe Im crazy
But don't the file types have to be the same in order for this to work. Creating a text file called nvram doesn't stop you(or Mame for that matter) from creating a folder called nvram in the same directory. Ive been trying to delete the nvram file in mame32 .63 and haven't had any luck yet. Now if I were to create a FOLDER called nvram. Mame wouldn't be able to overwrite it because you can't have two folders with the same name. However in this instance mame just uses the newly created nvram folder as the one it would have created. Just need a little more guidance. Thanks
But don't the file types have to be the same in order for this to work. Creating a text file called nvram doesn't stop you(or Mame for that matter) from creating a folder called nvram in the same directory. Ive been trying to delete the nvram file in mame32 .63 and haven't had any luck yet. Now if I were to create a FOLDER called nvram. Mame wouldn't be able to overwrite it because you can't have two folders with the same name. However in this instance mame just uses the newly created nvram folder as the one it would have created. Just need a little more guidance. Thanks
COPY NUL NVRAM would work much better. Since you don't have to do anything else after typing the command (I forget offhand how to end the copy con thing, for it to actually write to the file).mahlemiut wrote:I bet you have Windows set to not show file extensions. Enable the display of file extensions, and rename the file to 'nvram', not nvram.txt.
COPY CON NVRAM at a command prompt should work too.