Thread Tools Display Modes
10/22/14, 12:06 PM   #1
dopiate
AddOn Author - Click to view addons
Join Date: Jun 2014
Posts: 142
Saved Variables Folder (registry or ini?)

Hi in my addon I look for the saved variables folder in the most common spot

%homedrive%%homepath% & "\Documents\Elder Scrolls Online\live\SavedVariables\

but I'm finding some people don't have them there.

I use the registry to make sure the game is installed by querying "LauncherPath" in
"SOFTWARE\\Wow6432Node\\Zenimax_Online" and "SOFTWARE\\Zenimax_Online"

is there also a key for saved variables location or is there an entry for it in the game ini file - I can't remember the name of it but someone showed me it's where you can give LUA more memory.

I would rather find it then have to show a file-browse dialog box for the user to point it out.

If I can get a registry value to query or parse an ini or any text file, that is what i would prefer.

Thanks,
-d
  Reply With Quote
10/22/14, 12:14 PM   #2
merlight
AddOn Author - Click to view addons
Join Date: Jul 2014
Posts: 671
Originally Posted by dopiate View Post
is there also a key for saved variables location or is there an entry for it in the game ini file - I can't remember the name of it but someone showed me it's where you can give LUA more memory.
-d
There's no such key in UserSettings.txt, wouldn't be of much use since that file is located in the same directory as SavedVariables.

EU client saves settings under "liveeu" instead of "live".
  Reply With Quote
10/22/14, 12:47 PM   #3
Garkin
 
Garkin's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 832
It would be best if you add some kind of selector for region.
NA megaserver: \Documents\Elder Scrolls Online\live\SavedVariables\
EU megaserver: \Documents\Elder Scrolls Online\liveeu\SavedVariables\
PTS: \Documents\Elder Scrolls Online\pts\SavedVariables\

If you want to select region automatically, you will need to read it from "launcher.settings" (json file).
  Reply With Quote
10/22/14, 01:03 PM   #4
dopiate
AddOn Author - Click to view addons
Join Date: Jun 2014
Posts: 142
Originally Posted by Garkin View Post
It would be best if you add some kind of selector for region.
NA megaserver: \Documents\Elder Scrolls Online\live\SavedVariables\
EU megaserver: \Documents\Elder Scrolls Online\liveeu\SavedVariables\
PTS: \Documents\Elder Scrolls Online\pts\SavedVariables\

If you want to select region automatically, you will need to read it from "launcher.settings" (json file).
Ok no worries - I'm coding the FolderDialogBrowser interface now.

Just wasn't sure.

The paths to the different region are a big help I can test them all first before I prompt to find it.

It completely makes sense now - the person I was helping is on the EU server.

Thanks for the assistance.

-d
  Reply With Quote

ESOUI » Developer Discussions » General Authoring Discussion » Saved Variables Folder (registry or ini?)

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off