Relative directories

General area for talk about ZSNES. The best place to ask for related questions as well as troubleshooting.

Moderator: ZSNES Mods

Post Reply
mazoboom

Relative directories

Post by mazoboom »

Is there a way to set ZSNES to save to a directory relative to itself? For example, instead of:

D:\EMULATOR\SNES\ZSNESW142\SAVES

I want to be able to go to:

SAVES\

I want to be able to put it on a USB thumb drive, so that I can have my SNES wherever I go; however, as it is a removable drive, the drive letter is subject ot change on different computers, so absolute directories don't work.

Thanks for any help.
Agozer
16-bit Corpse | Nyoron~
Posts: 3534
Joined: Sun Aug 01, 2004 7:14 pm
Location: Nokia Land

Post by Agozer »

IIRC, relative directories should work, but there have been reports that they don't work. :/

Somebody needs to verify this as I'm not sure anymore. I can't be bothered to check myself since I don't use relative directories.

Try ..\SAVES\
Last edited by Agozer on Sun Nov 27, 2005 5:32 pm, edited 1 time in total.
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
mazoboom

Post by mazoboom »

Well, it seems like it rewrites the cfg file with the full path after you've used it. So, I'm guessing this just isn't possible?
SquareHead
Veteran
Posts: 970
Joined: Fri Jan 21, 2005 11:15 am
Location: Montana, United States

Post by SquareHead »

Agozer wrote:IIRC, relative directories should work, but there have been reports that they don't work. :/

Somebody needs to verify this as I'm not sure anymore. I can't be bothered to check myself since I don't use relative directories.

Try ..\SAVES\
I would like to see these as well (I play zsnes on a thumbdrive). As far as I can tell though, its still not possible.
grinvader
ZSNES Shake Shake Prinny
Posts: 5632
Joined: Wed Jul 28, 2004 4:15 pm
Location: PAL50, dood !

Post by grinvader »

Agozer wrote:Try ..\SAVES\
That's not the right directory.

If we have D:\EMULATOR\SNES\ZSNESW142\SAVES and current dir is D:\EMULATOR\SNES\ZSNESW142, you get to SAVES by using .\SAVES

..\SAVES will point to D:\EMULATOR\SNES\SAVES
皆黙って俺について来い!!

Code: Select all

<jmr> bsnes has the most accurate wiki page but it takes forever to load (or something)
Pantheon: Gideon Zhi | CaitSith2 | Nach | kode54
Agozer
16-bit Corpse | Nyoron~
Posts: 3534
Joined: Sun Aug 01, 2004 7:14 pm
Location: Nokia Land

Post by Agozer »

grinvader wrote:
Agozer wrote:Try ..\SAVES\
That's not the right directory.

If we have D:\EMULATOR\SNES\ZSNESW142\SAVES and current dir is D:\EMULATOR\SNES\ZSNESW142, you get to SAVES by using .\SAVES

..\SAVES will point to D:\EMULATOR\SNES\SAVES
Yes, you're right. One . too many.
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
kevman
Redneck Gamer-Mod
Posts: 433
Joined: Wed Aug 04, 2004 2:15 am
Location: Pittsburgh

Post by kevman »

This should be in the documentation. Is it in there now?
SHREIK!!!!!!! DDdddnnnnnnaaaa! GESTAHLLLLLLLLLL!!!!!!!!

Steelers now officially own your ass.
Ichinisan
Veteran
Posts: 603
Joined: Wed Jul 28, 2004 8:54 am

Post by Ichinisan »

mazoboom wrote:Well, it seems like it rewrites the cfg file with the full path after you've used it. So, I'm guessing this just isn't possible?
Set the CFG file to read-only?
xamenus
Veteran
Posts: 907
Joined: Fri Jul 30, 2004 12:26 am

Post by xamenus »

kevman wrote:This should be in the documentation. Is it in there now?
Yes.
LDAWG
Lurker
Posts: 102
Joined: Sat Aug 07, 2004 12:07 am

Post by LDAWG »

I wonder if we'll ever get the ability to use UNC Paths to Network Locations?

i.e.:
\\ZSNESServer\d$\Emulation\SNES\ZSNES\ZSNESW_1126_WIP2005\Saves

or even to a share, such as:
\\ZSNESServer\ZSNESSaves

Currently you have to Map a Drive...
Post Reply