Thread Tools Display Modes
07-09-12, 07:02 AM   #1
Vis
A Pyroguard Emberseer
 
Vis's Avatar
Join Date: Mar 2009
Posts: 1,827
SnifflesInstaller

Does anyone know offhand if SnifflesInstaller can be used to share the same settings across all toons/accounts? By settings I mean everything from turning Auto-loot on to making sure that the Chat window is the same size, location, and tabs.

I've had no luck as of yet attempting to get the config.wtf, config-cache.wtf or chat settings to take hold. Is it me? Is it beyond the ability of the addon? Is there another one for these settings I should use?

For the context, I have compiled my own UI that I share with a couple friends and I would like to make everything much simpler for everyone when I send them updates. I'm using Reflux profiles now as well.

Here is my addon.lua file from the SnifflesInstaller directory in its entirety.
Code:
local function InstallThis()

--
-- config.wtf settings
-- These are the account wide settings
--

SET Sound_EnableHardware "1"
SET Sound_NumChannels "64"
SET shadowLevel "0"
SET showToolsUI "1"
SET specular "1"
SET textureFilteringMode "5"
SET locale "enUS"
SET enterWorld "1"
SET hwDetect "0"
SET videoOptionsVersion "4"
SET graphicsQuality "5"
SET playIntroMovie "4"
SET checkAddonVersion "0"
SET mouseSpeed "1"
SET Gamma "1.000000"
SET readTOS "1"
SET readEULA "1"
SET accounttype "CT"
SET ChatMusicVolume "0.29999998211861"
SET ChatSoundVolume "0.39999997615814"
SET ChatAmbienceVolume "0.29999998211861"
SET VoiceActivationSensitivity "0.39999997615814"
SET Sound_MusicVolume "1"
SET Sound_AmbienceVolume "1"
SET terrainMipLevel "0"
SET farclip "1250"
SET waterDetail "3"
SET sunShafts "2"
SET groundEffectDensity "128"
SET groundEffectDist "260"
SET environmentDetail "150"
SET projectedTextures "1"
SET shadowMode "3"
SET shadowTextureSize "2048"
SET componentTextureLevel "9"
SET weatherDensity "3"
SET gameTip "11"
SET maxFPS "0"
SET maxFPSBk "0"
SET gxVSync "0"
SET Sound_ZoneMusicNoDelay "1"
SET Sound_EnableSoundWhenGameIsInBG "1"
SET realmName "Nazgrel"
SET uiScale "0.64999997615814"
SET useUiScale "1"

--
-- end config.wtf settings
--


--
-- Config-cache.wtf 
-- These are all the character specific settings like auto loot
--

SET autoLootDefault "1"
SET assistAttack "1"
SET minimapZoom "1"
SET autoQuestPopUps "v"
SET trackedQuests "v"
SET trackedAchievements "v"
SET showDispelDebuffs "1"
SET consolidateBuffs "0"
SET cameraSavedDistance "8.885778"
SET cameraSavedPitch "57.150021"
SET nameplateShowEnemies "1"
SET nameplateShowFriendlyPets "0"
SET nameplateShowFriendlyGuardians "0"
SET nameplateShowFriendlyTotems "0"
SET minimapShapeshiftTracking "v"
SET reputationsCollapsed "v##$"
SET activeCUFProfile "Primary"

--
-- end config-cache.wtf settings
--

-- end

StaticPopupDialogs["SNIFFLESINSTALLER"] = {
	text = "Do you want to install this UI now?",
	button1 = ACCEPT,
	button2 = CANCEL,
	OnAccept = InstallThis,
	timeout = 0,
	whileDead = 1,
}

SLASH_InstallThis1 = "/install"
SlashCmdList.InstallThis = function()
	StaticPopup_Show("SNIFFLESINSTALLER")
end
  Reply With Quote
07-09-12, 07:12 AM   #2
Haleth
This Space For Rent
 
Haleth's Avatar
Featured
Join Date: Sep 2008
Posts: 1,173
Do the settings apply if you run the installer for every character separately? The settings you mention are character-specific and need to be applied per character. You cannot set them 'account-wide'.

What you could do in that case is make the settings apply automatically each time you login, so you don't need to worry about setting them up.
  Reply With Quote
07-09-12, 07:57 AM   #3
Vis
A Pyroguard Emberseer
 
Vis's Avatar
Join Date: Mar 2009
Posts: 1,827
The settings don't apply at all. I do understand some of these settings are character specific. The intent was to run the command once per character to sync all settings. Pretty much the identical way that Reflux has to be run at least once per toon to set a character to a specific profile set.

The end result I'm looking to accomplish is to log into a toon, type "/install" for SnifflesInstaller and have all my addon settings in that file load up and also move/resize chat, turn on autoloot etc.

That and not have to send a WTF folder to friends and then explain how to load it all.
  Reply With Quote
07-09-12, 12:51 PM   #4
Seerah
Fishing Trainer
 
Seerah's Avatar
WoWInterface Super Mod
Featured
Join Date: Oct 2006
Posts: 10,860
That's now how you set console variables. That's just how the client stores them. This is why it's not working. I'm surprised you didn't get Lua errors from it. You must have errors hidden.

http://wowprogramming.com/docs/api_categories#cvar
http://wowprogramming.com/docs/cvars
__________________
"You'd be surprised how many people violate this simple principle every day of their lives and try to fit square pegs into round holes, ignoring the clear reality that Things Are As They Are." -Benjamin Hoff, The Tao of Pooh

  Reply With Quote
07-09-12, 01:49 PM   #5
Vis
A Pyroguard Emberseer
 
Vis's Avatar
Join Date: Mar 2009
Posts: 1,827
That explains why it wasn't working if you can't set cvar's that way. I knew in the past, I had copied those files over with all the cvar info in them and not had to change any in game settings. My thought was that if those were the commands then it should work if I copied the data. Granted, I had only copied the files for new installs on my own machine. Live and learn.

I believe I may have found the info I need and examples in p3lim's addon Inomena. And in the course of more looking, found a recent thread I had forgotten about that was asking similar questions.

Time to see what I can break and if I can get the desired effect, lol.
  Reply With Quote
07-09-12, 02:57 PM   #6
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
Those commands do work -- but only from WTF files, not from Lua files. The game reads and handles different types of files in different locations differently.
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » AddOn Help/Support » SnifflesInstaller


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