Build Your Own Arcade Controls Forum

Main => Software Forum => Topic started by: Truz on November 17, 2003, 12:57:32 pm

Title: Options reset themselves
Post by: Truz on November 17, 2003, 12:57:32 pm
I have a problem in mame32 where my options reset themselves. It is such options as enabling ym x-arcade and extra joystick. It usually happens when i start a new game and have to go through the  "Press O K" sequence. It is quite annoying when i start the game up then have to exit out to mame32, and then reset my options to allow the x-arcade and joystick. How do i prevent this from happeneing, please help.
Title: Re:Options reset themselves
Post by: Elemental on November 17, 2003, 02:21:52 pm
Im not sure if this is the problem, but I had a simmilar problem with a PC game. It turns out that all my files for that game were set to read only, and when I unchecked that it saved my setting just fine. Look to see what the read/write settings are set to for the Mame32 exe and the important files by right clicking them. Other than that, no clue  ???. Hope this helps!
Title: Re:Options reset themselves
Post by: Truz on November 17, 2003, 02:27:05 pm
well the mame32 folder and all its subfolders are set to read only. So i uncheck read only and apply it, but when i close the folder and open it again it gets set right back to read only. Its like windows is setting it right back to read only. Whats the deal here?
Title: Re:Options reset themselves
Post by: lokki on November 17, 2003, 02:29:43 pm
Had similar problem with XP.
I think the problem was that the parent folder was readonly.. I had to go up on the tree until I found the parent only that was read only and reset it.

Title: Re:Options reset themselves
Post by: Truz on November 17, 2003, 09:08:30 pm
i cant seem to take it off readon only. I go to the highest folder and take it off read only but it still gets reset. Whats the deal?
Title: Re:Options reset themselves
Post by: Elemental on November 17, 2003, 09:14:28 pm
As lokki said, are you sure it is the top folder that has it? As in if you have C:/Games/Mame/, dont just check the mame folder, check its parent directory (in this case games) to make sure it has it set off too. Other than that, im stumped  ???
Title: Re:Options reset themselves
Post by: Truz on November 17, 2003, 09:51:31 pm
yea ive went as far back as I can go and it just keeps changin back, ill go and try one more time.
Title: Re:Options reset themselves
Post by: lokki on November 17, 2003, 10:59:52 pm
Hi,
Take a look at the following articles.

Maybe the real issue
http://support.microsoft.com/default.aspx?scid=kb;en-us;326549


http://support.microsoft.com/default.aspx?scid=kb;en-us;q308418
Title: Re:Options reset themselves
Post by: Truz on November 18, 2003, 09:29:37 am
somethings wrong with the links, its a microsoft page but says page is not available. Can you tell me what it is so i  can try to find it on microsofts site?
Title: Re:Options reset themselves
Post by: Truz on November 18, 2003, 11:42:07 am
well i managed to find what u were talking about on my own. U have to use the attrib command prompt to changet he settings but when i try to do exactly what the windows page tells me to do i get this " parameter format not correct -". This is so annoying, what do i do.
Title: Re:Options reset themselves
Post by: ashardin on November 18, 2003, 12:05:50 pm
Did you copy the files from a CD ROM?  I've done that when I test a new emu on my main pc, and then burn the directory to disc (since its a pain to do all of that crap on my mame machine).  If I forget to uncheck them from read only I get all sorts of hassles.
Title: Re:Options reset themselves
Post by: lokki on November 18, 2003, 12:50:57 pm
Is this what you tried..

attrib -r -s c:\test


Title: Re:Options reset themselves
Post by: Truz on November 18, 2003, 02:22:04 pm
i tried -r -s and -r +s.... but i didnt point it c:\test.. i pointed it to mame folder which i wanted to take of read only.
Title: Re:Options reset themselves
Post by: lokki on November 18, 2003, 03:29:38 pm
Have you tried.

Attrib /s /d

To see if the flag is actually set?

Have you tried setting the attributes independetly.

attrib -s c:\mydir
attirb -r c:\mydir

Title: Re:Options reset themselves
Post by: Truz on November 18, 2003, 08:55:14 pm
i tried both things and i still get the same message

"parameter format not correct -"

even when i used the /r. Man this really pisses me off
Title: Re:Options reset themselves
Post by: lokki on November 18, 2003, 10:23:33 pm
Are you using xp?
Title: Re:Options reset themselves
Post by: Truz on November 19, 2003, 10:25:50 am
yup i am running win xp home
Title: Re:Options reset themselves
Post by: lokki on November 19, 2003, 05:23:58 pm
OK,
Tried this on a XP box and can't seem to get things to look right.
I googled for a while and came up with the following..


I tested this for a while and it seems to be right...


They didn't make them read-only. When you open the Properties for a folder,
the "Read-only" checkbox has a shaded square in it. This is not the same as
a check mark. The read-only checkbox is in what's called the "indeterminate"
state--it's a tri-state checkbox, and can either be checked, unchecked, or
"neither checked nor unchecked."

The read-only flag on a folder is meaningless in XP, anyway. Even if you set
a folder to read-only with the ATTRIB command, you can still put files in
it. The "read-only" flag on folders is used instead to mark them as
"special" folders.


A closer read of

http://support.microsoft.com/?kbid=326549

Indicates

CAUSE
Unlike the Read-only attribute for a file, the Read-only attribute for a folder is typically ignored by Windows, Windows components and accessories, and other programs. For example, you can delete, rename, and change a folder with the Read-only attribute by using Windows Explorer. The Read-only and System attributes is only used by Windows Explorer to determine whether the folder is a special folder, such as a system folder that has its view customized by Windows (for example, My Documents, Favorites, Fonts, Downloaded Program Files), or a folder that you customized by using the Customize tab of the folder's Properties dialog box. As a result, Windows Explorer does not allow you to view or change the Read-only or System attributes of folders.



So if you can write to the folder then don't worry about it.


Title: Re:Options reset themselves
Post by: Truz on November 19, 2003, 09:08:17 pm
ok... but why do my controls keep resetting themselves? how do i fix it?
Title: Re:Options reset themselves
Post by: RacerX on November 19, 2003, 09:34:24 pm
Instead of trying to change the attributes of the folder, did you try highlighting the all the files in the folder and changing *their* attributes instead?  You shouldn't need to, but what have you got to lose?
Title: Re:Options reset themselves
Post by: Truz on November 20, 2003, 09:21:14 am
i dont get it i still cant change files to not be read only, and im not even sure if that would even solve my problem. It is so annoyin to have to go back to the menu and reenable the xarcade everytime i try and play something. Please does anyone know why it does this?
Title: Re:Options reset themselves
Post by: lokki on November 20, 2003, 12:36:51 pm
Hi,
I think what could be happening is that the files are set as system files.

try

attrib -s -r c:\mame\myfile.txt

attrib -s -r /s /d c:\mame