Path with Environmental Variables

Is there a way to set a path in retroarch using a system variable such as %Platforms%. I tried formatting the path in the config file like this:

savefile_directory = “%Platforms%\NES\Saves”

However retroarch doesn’t seem to know how to handle windows environmental variables (to note %Platforms% is a variable I created and works properly in explorer)

Basically what I’m trying to do is when my front end loads a rom it appends a config file to load Path settings for the save, bios, and a few other paths. Things are running in a mix of local and network locations depending on the computer so It is much simpler to assign system variables on each computer then matching up drive letters.

Don’t think so. It will accept relative paths but that’s it AFAIK.

After doing a lot of testing I ended having to just use Symlinks and Junctions to make universal settings that I can use with any machine without having to worry about what it has to access from the nas and what it can access locally (Emulators, roms, media).

Basically on a network share I have a structure like this:

–>Emulation
–>Emulators
–>RetroArch
–>Dolphin
–>etc… –>Platforms
–>NES
–>Roms
–>Artwork
–>etc… –>SNES
–>FrontEnds
–>EmulationStation
–>EmuControlCenter\

So I created a directory on the C: drive of all client computers “C:\Emulation” and inside that drive I created a symlink that points to the network share for roms, artwork, saves, bios, and config files called “C:\Emulation\Platforms”. Then since I want the emulators to to run locally and not off the network share I created a Smart Mirror at “C:\Emulation\Emulators” that syncs with the network share and automatically mirrors the emulator folder on the network share, and all changes, to the local drive of the client. Then to finish I setup another Smart Mirror to sync the FrontEnds folder to “C:\Emulation\FrontEnds”

What this lets me do Is I can manage my entire emulation setup from one network share and one set of universal configs that will work on all the computers on my home network. This means that everytime I make changes to front ends or add roms to my collection I don’t have to manually update every computer or take up excess space by storing my entire collection on every computer.

The tool I used to setup the SymLinks and Smart Mirrors is called “Link Shell Extension” and can be found here,http://schinagl.priv.at/nt/hardlinkshellext/hardlinkshellext.html#download