Saving to Windows %USERPROFILE%\Application Data\ZSNES\Saves

The official forum for ZSNES documentation. Discuss future changes, mistakes, etc...
You can also join us on IRC at irc.freenode.net in #zsnes-docs.

Moderators: ZSNES Mods, ZSNES Doc Team

Post Reply
rdoogie

Saving to Windows %USERPROFILE%\Application Data\ZSNES\Saves

Post by rdoogie »

Is there any way to configure the paths in ZSNES so that savestates and the like are sent to a user specific folder?

%USERPROFILE%\Application Data\ZSNES\Saves\

Does not work.

I tried making a %HOME% environmental variable, and that did not work.

It would make it much easier to protect one's saves and other information on a multi-user machine if such saves could be directed to a user specific directory.

Any help would be appreciated.
Jipcy
Veteran
Posts: 768
Joined: Thu Feb 03, 2005 8:18 pm
Contact:

Post by Jipcy »

It might be easier to just run individual copies of ZSNES for each user profile. If you somehow used an "installer" to install ZSNES, you're not using the official version. Use the latest 1.51 zip and just unzip to a user-specific folder like My Documents or Desktop. Then you should have user-specific settings and saves and all that.

Another developer, Nach maybe, might want to jump in on this.
[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]
Nach
ZSNES Developer
ZSNES Developer
Posts: 3904
Joined: Tue Jul 27, 2004 10:54 pm
Location: Solar powered park bench
Contact:

Post by Nach »

If you build a build after v1.51 where I added the feature, you can enable it.

Revision 4889 might be good.
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
rdoogie

Post by rdoogie »

I'm not up on compiling programs and all...

But, I'll be looking forward to the feature in the next release. Thanks!
snkcube
Hero of Time
Posts: 2646
Joined: Fri Jul 30, 2004 2:49 am
Location: In front of the monitor
Contact:

Post by snkcube »

http://board.zsnes.com/phpBB2/viewtopic.php?t=8121

Use the above link to compile ZSNES. It's simple.
Try out CCleaner and other free software at Piriform
Image
Truth Unknown
Regular
Posts: 271
Joined: Tue Jun 14, 2005 8:35 pm

Post by Truth Unknown »

%APPDATA% is much shorter than %USERPROFILE%\Application Data.
>_>'
Nach
ZSNES Developer
ZSNES Developer
Posts: 3904
Joined: Tue Jul 27, 2004 10:54 pm
Location: Solar powered park bench
Contact:

Post by Nach »

Code: Select all

/home/nach/SVN/zsnes/trunk/src> cat zcfgloc.cfg
; This allows you to define where ZSNES settings are stored
; and enables/disables multiuser support.

; 0 = User's directory contains ZSNES config files. (multiuser)
; 1 = ZSNES directory contains ZSNES config files. (no multiuser)

; On 9x system that all users don't have seperate profiles,
; the user's directory will be:
; <windows directory>\Application Data\ZSNES

; On 9x systems that are configured to use seperate profiles,
; the user's directory will be:
; <windows directory>\Profiles\<username>\Application Data\ZSNES

; On older NT systems, the user's directory will be:
; C:\Documents and Settings\<username>\Application Data\ZSNES

; On NT 6+ (Vista) the user's directory will be:
; C:\Users\<username>\AppData\Roaming\ZSNES

; Note: all the default locations listed above can be changed
; in Windows using software such as TweakUI.


; If you plan on putting ZSNES on a CD, it is advisable to
; enable multiuser here so you can save your settings on
; any machine you use the CD in.

; If you want different copies of ZSNES tweaked for different
; things, you can disable multiuser support and each directory
; with ZSNES will contain it's own configuration settings.

; If one user of your PC would like to use the User's directory
; for settings and another wants the ZSNES directory, just
; copy ZSNES into two different directories and edit this file
; appropriatly in both of them.

zsnesw_config_location=1
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
Post Reply