Thread Tools Display Modes
10/04/14, 11:42 AM   #1
stealthbr
Join Date: Sep 2014
Posts: 12
REQUEST - Interface Settings Changer

Hello everyone. I come here with an addon request due to an issue I have been experiencing since Beta where every time I quit the game and relaunch the game client, certain Interface Settings are defaulted. This makes it so that every time I open the game I have to change these Interface Settings to my preferences.

Here is a video I made demonstrating exactly what the problem is: http://youtu.be/r4x5rOUKeLA

If anyone either:

A.) Knows how to fix this (I've contacted support, but they ran out of troubleshooting alternatives and were not successful)

or

B.) Can make an addon that changes these settings automatically (if that is even possible)

then I would be very grateful.

Thanks!
  Reply With Quote
10/04/14, 12:20 PM   #2
Garkin
 
Garkin's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 832
A) settings are stored the following two files:
- "~\Documents\Elder Scrolls Online\live\UserSettings.txt"
- "~\Documents\Elder Scrolls Online\live\SavedVariables\ZO_Ingame.lua"

Does game have permission to write to those files?
If those files exist, try to delete them (or better just move them somewhere else, so you still have backup copy). Are file correctly created when you run the game?
Try to run game as administrator (how to do it), it could help.


B) It is possible to make an addon to set options as you like, but it doesn't solve the issue. Game must have permission to write to the files mentioned above or lots of other functions will not work.

Last edited by Garkin : 10/04/14 at 12:25 PM.
  Reply With Quote
10/04/14, 12:30 PM   #3
sirinsidiator
 
sirinsidiator's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 1,577
Does it also reset these when you just reload the ui without closing the game (/reloadui)?
It would also be interesting to see what gets written into your UserSettings.txt when you do reload the ui or close the game.
  Reply With Quote
10/04/14, 02:30 PM   #4
stealthbr
Join Date: Sep 2014
Posts: 12
I always run the game in Admin mode. Also, both files you mentioned (UserSettings.txt & ZO_Ingame.lua) are NOT set to Read-Only. It's weird because whenever I restart my game client, some Interface Settings are actually saved while others are defaulted. I have tried deleting the entire folder and that has not worked. A new one is created in its place, but the issue remains.

Performing a /reloadui does NOT reset these settings. They only reset if I actually quit the game.
  Reply With Quote
10/04/14, 03:20 PM   #5
sirinsidiator
 
sirinsidiator's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 1,577
Do the settings in the file reflect all of your changes after you quit the game?
If it fails when it is writing them to disk, you could try to edit the file directly and set it to read-only.

If you have a second harddrive, you could also try to move the whole folder there and make a symlink.
In order to create it, you need to open a commandline as admin and use "mklink /d link target" where link is the original location of the live folder and target is where you have moved it.
You can also use this shell extension to do it with just a few clicks.
  Reply With Quote
10/04/14, 03:30 PM   #6
stealthbr
Join Date: Sep 2014
Posts: 12
Originally Posted by sirinsidiator View Post
Do the settings in the file reflect all of your changes after you quit the game?
If it fails when it is writing them to disk, you could try to edit the file directly and set it to read-only.

If you have a second harddrive, you could also try to move the whole folder there and make a symlink.
In order to create it, you need to open a commandline as admin and use "mklink /d link target" where link is the original location of the live folder and target is where you have moved it.
You can also use this shell extension to do it with just a few clicks.
Here's everything that's in my UserSettings.txt:

SET MouseRawInput "1"
SET MouseSensitivityFirstPerson "0.55000001"
SET MouseSensitivityThirdPerson "1.00000000"
SET MouseSmoothing "0"
SET InvertMouseWheel "1"
SET InvertMouseY "1"
SET InvertMouseX "1"
SET PFX_SUPPRESS_DISTANCE_v2 "50.00000000"
SET PFX_GLOBAL_MAXIMUM "1024"
SET MULTI_GPU_CHECK "1"
SET CachedRLREnabled "1"
SET CachedReflectionResolution "4"
SET CachedShadowFiltering "5"
SET ScreenshotFormat.2 "PNG"
SET PregameGammaCheckEnabled "0"
SET HardwareCheckEnabled.2 "0"
SET SUB_SAMPLING "2"
SET REFLECTION_QUALITY_v3 "2"
SET PARTICLE_DENSITY "3"
SET HIGH_RESOLUTION_SHADOWS "1"
SET SHADOWS "4"
SET GAMMA_ADJUSTMENT "103"
SET VIEW_DISTANCE "2.00000000"
SET GPUSmoothingFrames "10"
SET MIP_LOAD_SKIP_LEVELS "0"
SET RAIN_WETNESS "1"
SET LENS_FLARE "1"
SET GOD_RAYS_v2 "1"
SET ANTI_ALIASING_v2 "1"
SET AMBIENT_OCCLUSION "1"
SET COLOR_GRADING_v1 "0"
SET BLOOM "1"
SET DEPTH_OF_FIELD "1"
SET TONE_MAPPING "1"
SET COLOR_CORRECTION "1"
SET SOFT_ALPHA "1"
SET DISTORTION "1"
SET CHARACTER_LIGHTING "0"
SET DIFFUSE_2_MAPS "1"
SET DETAIL_MAPS "1"
SET NORMAL_MAPS "1"
SET SPECULAR_MAPS "1"
SET CLUTTER_2D "1"
SET SIMPLE_SHADERS "0"
SET WATER_FOAM "1"
SET VSYNC_INTERVAL "1"
SET VSYNC "0"
SET MAX_ANISOTROPY "3"
SET PreferMaximizedWindow "0"
SET PreferExclusiveFullscreen "0"
SET FULLSCREEN_v5 "2"
SET FullscreenHeight "1080"
SET FullscreenWidth "1920"
SET WindowedHeight "768"
SET WindowedWidth "1024"
SET LuaMemoryLimitMB "64"
SET GamepadSensitivityFirstPerson.2 "0.72000003"
SET GamepadSensitivityThirdPerson.2 "0.85000002"
SET GamepadInvertX "0"
SET GamepadInvertY "0"
SET GamepadVibrationEnabled "1"
SET SOUND_ENABLED "1"
SET FOOTSTEPS_VOLUME "50.00000000"
SET FOOTSTEPS_ENABLED "1"
SET SPEAKER_SETUP "0"
SET BACKGROUND_AUDIO "0"
SET VO_VOLUME "70.00000000"
SET VO_ENABLED "1"
SET UI_VOLUME "70.00000000"
SET UI_ENABLED "1"
SET AMBIENT_VOLUME "70.00000000"
SET AMBIENT_ENABLED "1"
SET SFX_VOLUME "70.00000000"
SET SFX_ENABLED "1"
SET MUSIC_VOLUME "70.00000000"
SET MUSIC_ENABLED "1"
SET AUDIO_VOLUME "100.00000000"
SET AUDIO_ENABLED "1"
SET TooltipFilter "-1"
SET TooltipNumOptions "2"
SET Language.2 "en"
SET GraphicsDriver.7 "D3D11"
SET PatchDataPath "game:/GameData/"
SET CacheDataPath "machine:/Cache/"
SET ViewedAddOnEULAVersion "5"
SET AcceptedAddOnEULAVersion "5"
SET AcceptedEULAVersion "3"
SET DirectionalDamageIndictorVisibleInThirdPerson "0"
SET CameraFramingTransitionEnabled "1"
SET SkipPregameVideos "1"
SET HasPlayedPregameVideo "1"
SET RangedKillCamera "0"
SET PlayerKillCamera "1"
SET LastMonsterKillCamera "1"
SET MinFrameTime.2 "0.01000000"
SET ParticlesEnabled "1"
SET RequestedNumJobThreads "-1"
SET RequestedNumWorkerThreads "-1"
SET FreeUnusedGrannyFileSections.2 "0"
SET IsTrustedMachine "1"
SET RememberAccountName "1"
SET AccountName "*******"
SET LastRealm "NA Megaserver"
SET CustomUIScale "1.00000000"
SET UseCustomUIScale.2 "0"
SET RollDodgeDoubleTapEnabled "1"
SET RollDodgeDoubleTapTimeWindow.2 "185"
SET MonsterTellsEnabled "1"
SET CameraZoomDistancesSynced "1"
SET SiegeCameraZoomDistance "6.00000000"
SET WeaponsOutCameraZoomDistance "2.00000000"
SET WeaponsSheathedCameraZoomDistance "2.00000000"
SET MaxNetworkWriteBuffer "10485760"
SET MaxNetworkReadBuffer "10485760"




The Interface Settings I like to use but that always get defaulted after I restart my client are: Ability Bar - Don't Show, Healthbars - OFF, Group Members Indicators - OFF, Resurrectable Players Indicators - OFF, Followers Indicators - OFF

Last edited by stealthbr : 10/04/14 at 03:45 PM.
  Reply With Quote
10/04/14, 04:29 PM   #7
sirinsidiator
 
sirinsidiator's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 1,577
Seems these values are not saved on the client at all
You should try to make a new character and check if it has the same problem.
  Reply With Quote
10/04/14, 04:35 PM   #8
Garkin
 
Garkin's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 832
Originally Posted by stealthbr View Post
The Interface Settings I like to use but that always get defaulted after I restart my client are: Ability Bar - Don't Show, Healthbars - OFF, Group Members Indicators - OFF, Resurrectable Players Indicators - OFF, Followers Indicators - OFF
I couldn't find where are those settings stored, so let's try code which will set the settings.

In your addons folder create a new folder called "SetMySettings". Inside of this folder create two text files - "SetMySettings.txt" and "SetMySettings.lua".

To the SetMySettings.txt copy this text:
Code:
## APIVersion: 100009

SetMySettings.lua
To the SetMySettings.lua copy this text:
Lua Code:
  1. EVENT_MANAGER:RegisterForEvent("SetMySettings", EVENT_ADD_ON_LOADED,
  2.    function(event, name)
  3.       if (name):find("^ZO_") then return end
  4.       EVENT_MANAGER:UnregisterForEvent("SetMySettings", event)
  5.      
  6.       --Ability Bar: Don't Show
  7.       SetSetting(SETTING_TYPE_UI, UI_SETTING_SHOW_ACTION_BAR, ACTION_BAR_SETTING_CHOICE_OFF)
  8.       --Healthbars: OFF
  9.       SetSetting(SETTING_TYPE_NAMEPLATES, NAMEPLATE_TYPE_ALL_HEALTHBARS, "false")
  10.       --Group Members Indicators: OFF
  11.       SetSetting(SETTING_TYPE_NAMEPLATES, NAMEPLATE_TYPE_GROUP_INDICATORS, "false")
  12.       --Resurrectable Players Indicators: OFF
  13.       SetSetting(SETTING_TYPE_NAMEPLATES, NAMEPLATE_TYPE_RESURRECT_INDICATORS, "false")
  14.       --Followers Indicators: OFF
  15.       SetSetting(SETTING_TYPE_NAMEPLATES, NAMEPLATE_TYPE_FOLLOWER_INDICATORS, "false")
  16.  
  17.    end)

Run the game and check the result. If you want to set any other settings using the addon, write me which option and what value it should have.


EDIT: I have attached file with the code above to this post.
Attached Files
File Type: zip SetMySettings.zip (783 Bytes, 496 views)

Last edited by Garkin : 10/04/14 at 04:41 PM. Reason: Attached file
  Reply With Quote
10/04/14, 04:49 PM   #9
stealthbr
Join Date: Sep 2014
Posts: 12
Awesome, it worked! Also, is there a way to start the game with the chat box minimized? I usually like to keep it hidden.
  Reply With Quote
10/04/14, 04:58 PM   #10
Garkin
 
Garkin's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 832
Originally Posted by stealthbr View Post
Awesome, it worked! Also, is there a way to start the game with the chat box minimized? I usually like to keep it hidden.
You can minimize chat using the CHAT_SYSTEM:Minimize() function, so just add this function to the addon code above.
  Reply With Quote
10/04/14, 06:00 PM   #11
stealthbr
Join Date: Sep 2014
Posts: 12
Originally Posted by Garkin View Post
You can minimize chat using the CHAT_SYSTEM:Minimize() function, so just add this function to the addon code above.
I added it like this at the end:

However, I got this error whenever I tried to open the chat box:

I still want to be able to use it whenever I need to, but I would like, for convenience's sake, to have the game start with it minimized.
  Reply With Quote
10/04/14, 06:43 PM   #12
Garkin
 
Garkin's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 832
It seems that chat must be minimized after it is fully initialized. Lets call the function a bit later - when player is activated.

Add this code to the very end of the SetMySettings.lua:
Lua Code:
  1. EVENT_MANAGER:RegisterForEvent("SetMySettings", EVENT_PLAYER_ACTIVATED,
  2.    function(event)
  3.       EVENT_MANAGER:UnregisterForEvent("SetMySettings", event)
  4.       CHAT_SYSTEM:Minimize()
  5.    end)
(tested and working)
  Reply With Quote
10/04/14, 10:10 PM   #13
stealthbr
Join Date: Sep 2014
Posts: 12
You are awesome!
  Reply With Quote

ESOUI » AddOns » AddOn Search/Requests » REQUEST - Interface Settings Changer

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