Reflux
Reflux is a small lightweight profile manager. With the coming of dual specs, and people building UI compilations. I built this little manager. Its goal it to allow you to quickly switch all your addon profiles in one fair swoop. For addons that don't support profiles it emulates a profile. All emulations are done by the user and none come pre-configured out of the box. The user chooses if he/she wishes to emulate a profile for any addon. Emulation is not needed for any addon that uses Ace2/3DB as profiles are built in.
Example of usage
This example assumes your setting up a brand new profile.
/reflux create MyProfile
This will switch all current Acedb based addons to this profile and setup the emulation profile.
Now i configure a bunch of stuff and notice my unit frames don't have support for profiles... Well i can fix that! First i need to check the .toc for my unit frames in this case StufUnitFrames. I find the #SavedVariables: StufDB line in the toc indication that is where it saves its configuration information. So now in game I simply add that saved variable to reflux
/reflux add StuffDB
Now reflux will emulate a profile for Stuff. I finish up configuring my UI. I'm pretty happy with it. Now that I'm done I need to save the emulated profile
/reflux save
Now my emulated profile has been saved. Lets do a quick reload to ensure our data is saved to disk.
We are done! Now my UI is setup with my new profile. Lets go create another profile for my alt.
/reflux create MyAltProfile
My screen is now back to initial state all unconfigured. My alt is a different class so this isn't a big deal. (Future enhancement will be to copy a profile set so you can create a base config then tweak). Now i do more work...
What about stuff? Do i need to add it again? Nope its already been emulated so no need to add it again.
Now I save my new profile
/reflux save
Now I switch my main back to its original profile.
/reflux switch MyProfile
Bingo my UI is now all set back up.
I log into my alt and type
/reflux switch MyAltProfile
And now my alts UI is all setup.
If you want to clear out all your reflux data /reflux cleardb and bingo its all gone. You ace profiles are still there, but the emulated profiles will be cleared.
Other Commands
/reflux addons [profile] Switch addon set to what was saved in the profile. Due to technical reason you need to switch afterwards
/reflux save now optionally takes an 'addons' flag to store addon state so /reflux save addons will save current addon list in the emulated profile.
/reflux copy [target profile] will attempt to copy the target profile into your current profile. this will reload the UI when complete.
/reflux delete [profile] will delete a profile. Please note you can NOT delete the current active profile.
/reflux snapshot [profile] will scan your addons creating a new profile, based off of each addons current settings
Type /reflux to see a list of commands.
/reflux create 1600
/reflux copy 1920
It WILL crash you UI.
It fucks your UI completely.
The developer probably should make that clear.
Fucking retard script kiddy.
(And backups are never a bad idea for anything you like to keep in case of the unforeseen...)
The reason it looks like your addon-configurations were nuked is that the reflux addon set the "profile" of your addons to the name you just created. This is probably not what you wanted to do. You can use the "snapshot" command to create a new profile using your -current- profiles as a template :)
If you open any Ace addon and go to the profiles tab you can click back to your old configuration. Nothing is lost!
anyway, i'd like to see a gui for this. doesnt have to be anything fancy. Also a "save profile as" would be nice. so that i could make new profiles from my original, only adjusting a few things. I should be able to adjust a couple settings, save as a different profile, then be able to switch back to original from there.
nicely done tho! been looking for something like this forever.
what the fork?
/wrists
I would like to be able to exclude addons from being processed Reflux.
At present, I have to disable those addons before I run reflux.
Here is an example: If I use reflux to set all my addons' profiles to Fred and Postal is on of my addons. Postal mixes horde and alliance and toon from different servers from it's Alt list, contacts, etc. In order to correct, I have to go into Postal's config and set the profile back after using relux.
ok im having a problem where when i emulate profiles on one profile and on the other profile i add the same addons to be emulated but with different setups....it overwrites the saved variables of the other setup and it then just keeps everything the same for both...well the addons that were emualted
There is no way to modify the layout-cache right now.
Is there currently a way to store the contents of the layout-local.txt file (WTF\Account\ACCOUNTNAME\SERVERNAME\CHARACTERNAME\layout-local.txt) with Reflux? If there isn't, could there be soon? ;D
I'm going to be packaging my UI together (and Reflux has been an amazing help, thanks a lot!), and other than the layout-local file, I can do away with everything other than the main SavedVariables directory, making it so that the only thing the user would need to rename is the account name folder.