Control Configuration Reseting

Gamepad acting up? Keyboard not responding properly? Can't get that other user to work? Read and post about it here.

Moderator: ZSNES Mods

Post Reply
glowtmickey
New Member
Posts: 6
Joined: Sun Jan 09, 2011 10:32 pm

Control Configuration Reseting

Post by glowtmickey »

Yesterday, I got ZSNES. I didn't like the defult controls, so I changed them. Now every time I load ZSNES, the controls are back to the defult. I also get the one-time user reminder. Did I instal it wrong or something? My games work fine, but my settings wont say set.
Agozer
16-bit Corpse | Nyoron~
Posts: 3534
Joined: Sun Aug 01, 2004 7:14 pm
Location: Nokia Land

Re: Control Configuration Reseting

Post by Agozer »

Make sure that you have full read/write access to the directory that ZSNES is in, i.e. the directory is not read only. ZSNES was unable to save the changes you made into the configuration file, hence the problems you have.
whicker: franpa is grammatically correct, and he still gets ripped on?
sweener2001: Grammatically correct this one time? sure. every other time? no. does that give him a right? not really.
Image
glowtmickey
New Member
Posts: 6
Joined: Sun Jan 09, 2011 10:32 pm

Re: Control Configuration Reseting

Post by glowtmickey »

Can somebody remind me how I would go about doing that?
paulguy
Zealot
Posts: 1076
Joined: Sat Jul 02, 2005 2:01 am
Contact:

Re: Control Configuration Reseting

Post by paulguy »

Well, in windows, you would right click the directory you have zsnes in and go to properties, and see if you have permission to write there. If there is a zsnesw.cfg, you should check the file, too.
Maybe these people were born without that part of their brain that lets you try different things to see if they work better. --Retsupurae
glowtmickey
New Member
Posts: 6
Joined: Sun Jan 09, 2011 10:32 pm

Re: Control Configuration Reseting

Post by glowtmickey »

:?: Every time I un-check read only and apply, it rechecks itself


Edit:

I moved the emulator program out of the folder I had it in, and it is no longer read only, but my settings still reset.
paulguy
Zealot
Posts: 1076
Joined: Sat Jul 02, 2005 2:01 am
Contact:

Re: Control Configuration Reseting

Post by paulguy »

Are you running it from a CD or a location outside of your User directory?
Maybe these people were born without that part of their brain that lets you try different things to see if they work better. --Retsupurae
Agozer
16-bit Corpse | Nyoron~
Posts: 3534
Joined: Sun Aug 01, 2004 7:14 pm
Location: Nokia Land

Re: Control Configuration Reseting

Post by Agozer »

Delete everything and extract the contents of the zip archive to a brand new directory, e.g. C:\Games\Zsnes. Don't just move files around. Does the problem persist? Do this for shits and giggles if for nothing else.

The problem of Windows not clearing the read-only bit is very well known, at least under Windows XP (probably others as well). One option to get around this is to remove the read-only attribute via the command line. IIRC, something along the lines of:

Code: Select all

attrib -rsh c:\games\zsnes /s /d
I would advise you to not do this to every single directory on your hard drive though.
whicker: franpa is grammatically correct, and he still gets ripped on?
sweener2001: Grammatically correct this one time? sure. every other time? no. does that give him a right? not really.
Image
Gil_Hamilton
Buzzkill Gil
Posts: 4294
Joined: Wed Jan 12, 2005 7:14 pm

Re: Control Configuration Reseting

Post by Gil_Hamilton »

Agozer wrote:
The problem of Windows not clearing the read-only bit is very well known, at least under Windows XP (probably others as well). One option to get around this is to remove the read-only attribute via the command line.
If I recall, that goes back to 95.

MS never considered it an issue, because ZSNES is just about the only thing that respects the read-only bit.
Squall_Leonhart wrote:
You have your 2s, 4s, 8s, 16s, 32s, 64s, and 128s(crash course in binary counting!). But no 1s.
DirectInput represents all bits, not just powers of 2 in an axis.
KHDownloads
glowtmickey
New Member
Posts: 6
Joined: Sun Jan 09, 2011 10:32 pm

Re: Control Configuration Reseting

Post by glowtmickey »

I'm still a bit confused. Can somebody let me know what I would put in if I keep zsnes under c:\mame in a folder called snes?
Gil_Hamilton
Buzzkill Gil
Posts: 4294
Joined: Wed Jan 12, 2005 7:14 pm

Re: Control Configuration Reseting

Post by Gil_Hamilton »

Why on Earth are you storing ZSNES in your MAME folder?
Squall_Leonhart wrote:
You have your 2s, 4s, 8s, 16s, 32s, 64s, and 128s(crash course in binary counting!). But no 1s.
DirectInput represents all bits, not just powers of 2 in an axis.
KHDownloads
glowtmickey
New Member
Posts: 6
Joined: Sun Jan 09, 2011 10:32 pm

Re: Control Configuration Reseting

Post by glowtmickey »

I'm trying to keep my emulator stuff mostly in the same place. Can you please answer my question?
odditude
Official tech support dood
Posts: 2118
Joined: Wed Jan 25, 2006 7:57 am

Re: Control Configuration Reseting

Post by odditude »

Code: Select all

attrib -rsh c:\mame\snes /s /d
please try the obvious before asking; that's why your question was ignored.

as for an explanation...

Code: Select all

C:\>attrib /?
Displays or changes file attributes.

ATTRIB [+R | -R] [+A | -A ] [+S | -S] [+H | -H] [+I | -I]
       [drive:][path][filename] [/S [/D] [/L]]

  +   Sets an attribute.
  -   Clears an attribute.
  R   Read-only file attribute.
  A   Archive file attribute.
  S   System file attribute.
  H   Hidden file attribute.
  I   Not content indexed file attribute.
  [drive:][path][filename]
      Specifies a file or files for attrib to process.
  /S  Processes matching files in the current folder
      and all subfolders.
  /D  Processes folders as well.
  /L  Work on the attributes of the Symbolic Link versus
      the target of the Symbolic Link
Why yes, my shift key *IS* broken.
glowtmickey
New Member
Posts: 6
Joined: Sun Jan 09, 2011 10:32 pm

Re: Control Configuration Reseting

Post by glowtmickey »

none of this is obvious to me as I have never needed to use cmd before.

When I try to use the code I was given, I get an error mesage stating
"Invalid Switch - -rsh"

I'm sorry if I seem like and idiot or something, but nothing I am trying is working
Agozer
16-bit Corpse | Nyoron~
Posts: 3534
Joined: Sun Aug 01, 2004 7:14 pm
Location: Nokia Land

Re: Control Configuration Reseting

Post by Agozer »

glowtmickey wrote:When I try to use the code I was given, I get an error mesage stating
"Invalid Switch - -rsh"
Then use

Code: Select all

attrib -r -s -h c:\mame\snes /s /d
instead.
whicker: franpa is grammatically correct, and he still gets ripped on?
sweener2001: Grammatically correct this one time? sure. every other time? no. does that give him a right? not really.
Image
Post Reply