View unanswered posts | View active topics It is currently Thu May 23, 2019 12:56 am



Reply to topic  [ 7 posts ] 
Saving to Windows %USERPROFILE%\Application Data\ZSNES\Saves 
Author Message
Reply with quote
Post Saving to Windows %USERPROFILE%\Application Data\ZSNES\Saves
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.


Wed Oct 24, 2007 7:19 pm
Veteran
User avatar

Joined: Thu Feb 03, 2005 8:18 pm
Posts: 768
Reply with quote
Post 
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.

_________________
Official ZSNES Docs | NSRT Guide | Using a Wiimote w/ emulators


Wed Oct 24, 2007 7:27 pm
Profile WWW
ZSNES Developer
ZSNES Developer
User avatar

Joined: Tue Jul 27, 2004 10:54 pm
Posts: 3901
Location: Solar powered park bench
Reply with quote
Post 
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


Wed Oct 24, 2007 7:56 pm
Profile WWW
Reply with quote
Post 
I'm not up on compiling programs and all...

But, I'll be looking forward to the feature in the next release. Thanks!


Wed Oct 24, 2007 11:27 pm
Hero of Time
User avatar

Joined: Fri Jul 30, 2004 2:49 am
Posts: 2646
Location: In front of the monitor
Reply with quote
Post 
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


Thu Oct 25, 2007 1:25 am
Profile WWW
Regular
User avatar

Joined: Tue Jun 14, 2005 8:35 pm
Posts: 271
Reply with quote
Post 
%APPDATA% is much shorter than %USERPROFILE%\Application Data.
>_>'


Thu Oct 25, 2007 12:29 pm
Profile
ZSNES Developer
ZSNES Developer
User avatar

Joined: Tue Jul 27, 2004 10:54 pm
Posts: 3901
Location: Solar powered park bench
Reply with quote
Post 
Code:
/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


Thu Oct 25, 2007 12:35 pm
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 7 posts ] 

Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software.