Feedback: How to manage Windows config file and directories?
Moderator: ZSNES Mods
-
- ZSNES Developer
- Posts: 3904
- Joined: Tue Jul 27, 2004 10:54 pm
- Location: Solar powered park bench
- Contact:
Feedback: How to manage Windows config file and directories?
With the release of Windows Vista with an overhauled multiuser setup, and some feedback and submissions over the past few months, there's some questions which need to be asked, and we require your feedback on how you would like things done.
(Not Windows users please ignore)
First off, where do you want the ZSNES config stored?
Three options:
1) With the ZSNES executable.
2) In profiles/myuser/zsnes (CSIDL_PROFILE/zsnes)
3) In profiles/myuser/apps/zsnes (CSIDL_APPDATA/zsnes)
Method One is currently what we do now. Method Two and Three will allow per user configuration files, which is currently not supported. Method Two has the directory in easier access than Method Three, but Method Three is more standardized. (see here for data)
There's also the possibility of only doing this for certain versions of Windows and up. pagefault suggested we use Method Three for NT 5+, and Method One for anything before that. I personally don't like NT 5's user directory setup, but NT 6 (Vista) is much more enjoyable.
If you think we should use Method Two or Three from a particular Windows version, mention that too.
Note: We can't offer a GUI/Config option for this.
Once that's decided, where do you think default saving should be? With the config file or with the ROMs? Does your opinion differ depending on which method above is used? This will be offered a choice though to change where you want it.
If you believe we should change from what we do now, how do you suggest we migrate? Should we perhaps just let the user figure it out? Should we provide an app to move your config file to the new location? Should we start bundling ZSNES with an installer to handle this?
Please discuss.
(Not Windows users please ignore)
First off, where do you want the ZSNES config stored?
Three options:
1) With the ZSNES executable.
2) In profiles/myuser/zsnes (CSIDL_PROFILE/zsnes)
3) In profiles/myuser/apps/zsnes (CSIDL_APPDATA/zsnes)
Method One is currently what we do now. Method Two and Three will allow per user configuration files, which is currently not supported. Method Two has the directory in easier access than Method Three, but Method Three is more standardized. (see here for data)
There's also the possibility of only doing this for certain versions of Windows and up. pagefault suggested we use Method Three for NT 5+, and Method One for anything before that. I personally don't like NT 5's user directory setup, but NT 6 (Vista) is much more enjoyable.
If you think we should use Method Two or Three from a particular Windows version, mention that too.
Note: We can't offer a GUI/Config option for this.
Once that's decided, where do you think default saving should be? With the config file or with the ROMs? Does your opinion differ depending on which method above is used? This will be offered a choice though to change where you want it.
If you believe we should change from what we do now, how do you suggest we migrate? Should we perhaps just let the user figure it out? Should we provide an app to move your config file to the new location? Should we start bundling ZSNES with an installer to handle this?
Please discuss.
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
_____________
Insane Coding
Many open source software provide both ZIP files (extract/run anywhere) and set-up executables that install start menu icons and use the APPDATA path for config and data files. So you could do something like that. I think ZSNES should always be offered as a stand-alone executable with a local config files, but any additional installers would be fine.
In terms of generated data, perhaps SRMs should be saved/loaded from ROM directories by default (makes sense for a standard, cross-program data), and all other files be saved to a ZSNES-labeled folder. Many programs save user-generated data in a subfolder of My Documents. Generally, I think saving user-generated data in APPDATA is not cool because it's too easily overlooked.
And of course, all paths should continue to be fully configurable.
In terms of generated data, perhaps SRMs should be saved/loaded from ROM directories by default (makes sense for a standard, cross-program data), and all other files be saved to a ZSNES-labeled folder. Many programs save user-generated data in a subfolder of My Documents. Generally, I think saving user-generated data in APPDATA is not cool because it's too easily overlooked.
And of course, all paths should continue to be fully configurable.
[url=http://zsnes-docs.sf.net]Official ZSNES Docs[/url] | [url=http://zsnes-docs.sf.net/nsrt]NSRT Guide[/url] | [url=http://endoftransmission.net/phpBB3/viewtopic.php?t=394]Using a Wiimote w/ emulators[/url]
-
- Romhacking God
- Posts: 922
- Joined: Wed Jul 28, 2004 11:27 pm
- Contact:
I prefer keeping things as they are. Local config, option 1. I doubt many people would actually take advantage of multiple user config anyway. Why start spreading ZSNES out all over the computer? Don't turn it into the crap that every other program is. uninstalling becomes more difficult because those config files aren't removed from the applications directory. I haven't seen any program that actually removes that data. These are some root causes of fragments of crap being left overs all over the computer. It should also be consistent for every version of ZSNES from here on out.
As for default saving. I prefer default saving to be with the ROM. It just makes the most sense to me. This is independent of whatever is chosen above. If a user wants the saves stored anywhere else, they can just change the directory in the GUI.
As for default saving. I prefer default saving to be with the ROM. It just makes the most sense to me. This is independent of whatever is chosen above. If a user wants the saves stored anywhere else, they can just change the directory in the GUI.
[url=http://transcorp.romhacking.net]TransCorp[/url] - Home of the Dual Orb 2, Cho Mahou Tairyku Wozz, and Emerald Dragon SFC/SNES translations.
[url=http://www.romhacking.net]ROMhacking.net[/url] - The central hub of the ROM hacking community.
[url=http://www.romhacking.net]ROMhacking.net[/url] - The central hub of the ROM hacking community.
-
- Inmate
- Posts: 1751
- Joined: Mon Dec 06, 2004 7:47 am
- Location: WA
i rather like how it is currently as well.
if zsnes doesn't have to insall itself, and the config has no gui, then there's no reason to have an installer and make it so that things are all moved around.
if the cfg had a gui, and you got to insert those nice browse buttons so you could easily find the paths and files you need, then i'd be more for making it more of a "standards" program as far as that goes.
but at the moment, it's sounding like the current setup is the best.
if zsnes doesn't have to insall itself, and the config has no gui, then there's no reason to have an installer and make it so that things are all moved around.
if the cfg had a gui, and you got to insert those nice browse buttons so you could easily find the paths and files you need, then i'd be more for making it more of a "standards" program as far as that goes.
but at the moment, it's sounding like the current setup is the best.
[img]http://i26.photobucket.com/albums/c128/sweener2001/StewieSIGPIC.png[/img]
if vista was designed sanely, then I'd suggest APPDATA
the better location would be My Documents\Zsnes Settings(or My Documents\My Games\Zsnes).
my suggestion would be to use either APPDATA or one of the My Documents suggestions, and have a backup where the executable is stored.
the better location would be My Documents\Zsnes Settings(or My Documents\My Games\Zsnes).
my suggestion would be to use either APPDATA or one of the My Documents suggestions, and have a backup where the executable is stored.
Does [Kevin] Smith masturbate with steel wool too?
- Yes, but don’t change the subject.
- Yes, but don’t change the subject.
First choice 1
Second choice 3
Third choice destroy zsnes
Fourth choice 2
If people want a multiuser configuration setup they can just make 2 directories and copy zsnes.exe to each one (it's not even 1MB when compressed). Everyone else will just be annoyed by the migration I think. Right now the configuration files are easy to access and I like that a lot, doesn't need to be changed.
Second choice 3
Third choice destroy zsnes
Fourth choice 2
If people want a multiuser configuration setup they can just make 2 directories and copy zsnes.exe to each one (it's not even 1MB when compressed). Everyone else will just be annoyed by the migration I think. Right now the configuration files are easy to access and I like that a lot, doesn't need to be changed.
-
- Inmate
- Posts: 1751
- Joined: Mon Dec 06, 2004 7:47 am
- Location: WA
i absolutely hate when games save in my documents. ie. max payne.
so stupid. while it may be for my "convenience," it clutters up my my documents folder. right now i have an updater5 folder from i don't know which app that won't go away, it never has anything in it. i loathe programs inserting crap into my documents so much.
so stupid. while it may be for my "convenience," it clutters up my my documents folder. right now i have an updater5 folder from i don't know which app that won't go away, it never has anything in it. i loathe programs inserting crap into my documents so much.
[img]http://i26.photobucket.com/albums/c128/sweener2001/StewieSIGPIC.png[/img]
-
- Inmate
- Posts: 1751
- Joined: Mon Dec 06, 2004 7:47 am
- Location: WA
Jipcy wrote:Many programs save user-generated data in a subfolder of My Documents.
i'm just responding to the thread. no need to "freak out."funkyass wrote: the better location would be My Documents\Zsnes Settings(or My Documents\My Games\Zsnes).
my suggestion would be to use either APPDATA or one of the My Documents suggestions
[img]http://i26.photobucket.com/albums/c128/sweener2001/StewieSIGPIC.png[/img]
I prefer option 1, for pretty much all the reasons stated above.
As for the default saving directory, I really don't care because I'll make a separate save directory within the Zsnes directory from the start anyway. In fact, is there a reason why Zsnes can't have default subdirectories for saveram, states, screenshots etc. like many other emulators do? (once all the paths have been implemented anyway)
As for the default saving directory, I really don't care because I'll make a separate save directory within the Zsnes directory from the start anyway. In fact, is there a reason why Zsnes can't have default subdirectories for saveram, states, screenshots etc. like many other emulators do? (once all the paths have been implemented anyway)
[size=75][b]Procrastination.[/b]
Hard Work Often Pays Off After Time, but Laziness Always Pays Off Now.[/size]
Hard Work Often Pays Off After Time, but Laziness Always Pays Off Now.[/size]
-
- ZSNES Developer
- Posts: 6747
- Joined: Tue Dec 28, 2004 6:47 am
You can test the path code that is in SVN... although if you are using anything but Linux, you won't get sound.blackmyst wrote:I prefer option 1, for pretty much all the reasons stated above.
As for the default saving directory, I really don't care because I'll make a separate save directory within the Zsnes directory from the start anyway. In fact, is there a reason why Zsnes can't have default subdirectories for saveram, states, screenshots etc. like many other emulators do? (once all the paths have been implemented anyway)
Continuing [url=http://slickproductions.org/forum/index.php?board=13.0]FF4[/url] Research...
-
- Lurker
- Posts: 165
- Joined: Wed Jul 28, 2004 3:15 am
- Location: The Land of Insanity
- Contact:
Seconded.Nach wrote: pagefault suggested we use Method Three for NT 5+, and Method One for anything before that.
Store the SRMs, ZSTs etc, with the ROM (assuming of course that no paths are specified)
As for the installer, there was a user that was already handling this in an unofficial capacity wasn't there? To be honest though, I prefer not to have the installer, that just clutters things up.
It is better to be silent and thought a fool then to open your mouth and remove all doubt
I am Zophar, Master of Sh*t!
[url=http://archlyn.bravejournal.com]View my blog[/url]
I am Zophar, Master of Sh*t!
[url=http://archlyn.bravejournal.com]View my blog[/url]
-
- ZSNES Developer
- Posts: 6747
- Joined: Tue Dec 28, 2004 6:47 am
Coincidentally, there was a discussion for this actually. I don't think we will use the one that the old thread was using.. but something a little more encompassing... giving Nach ideas is insane.Lord Alpha wrote:Seconded.Nach wrote: pagefault suggested we use Method Three for NT 5+, and Method One for anything before that.
Store the SRMs, ZSTs etc, with the ROM (assuming of course that no paths are specified)
As for the installer, there was a user that was already handling this in an unofficial capacity wasn't there? To be honest though, I prefer not to have the installer, that just clutters things up.
As a side thought, I believe NT5's system is just as atrocious as 9x. Vista has the most sane path structure finally (I mean, Linux got this right for a while anyway).
Continuing [url=http://slickproductions.org/forum/index.php?board=13.0]FF4[/url] Research...
-
- Regular
- Posts: 271
- Joined: Tue Jun 14, 2005 8:35 pm
While I like method 1. Method 3 will be nice, but I think you should merge parts of method 2 for saves, image dumps, sound type dumps, and patching. This way the config is in a nice safe area but backing up saves and patches are easy and retrieving dumps simpler. I can't why a GUI/Config wouldn't work but I'm not the programer.
And if it turns out that a installer is needed, I guess I can try another try at NSIS or LDAWG with his (I forget what Software he used).
And if it turns out that a installer is needed, I guess I can try another try at NSIS or LDAWG with his (I forget what Software he used).