Talented Data
From WowAce Wiki
| Summary | |
|---|---|
| Talented_Data | |
| Class Data for The Talent Template Editor | |
| TOC | 2.4 (20400) |
| Category | Interface Enhancements Addons |
| Author | Jerry |
| Details | |
| Version | 1.0 |
| Links | |
| Betas | Ace SVN Zip |
| Changelog | FishEye |
Talented_Data is a static database for Talented.
It allows access to talent tree information for all classes, as well as tooltip information for all ranks for all talents, in the following locales :
- deDE
- enUS/enGB
- esES
- frFR
- koKR
- zhCN
How is Talented_Data generated ?
Most of the content of Talented_Data is generated by several scripts. The latest version of theses script is available here.
There are two types of information needed.
The first part is what I call talent topology, i.e. how many talents for each branch, their position, maximum ranks and dependencies.
An utility addon is provided for this : Talented_GatherData. You need to install the addon by copying from Talented_Data/scripts/Talented_GatherData to your Interface/Addons folder, then log into the game with a character from each class. When you have done this, you will have a file in your SavedVariables folder, called "Talented_GatherData.lua", that has all information that has been gathered.
You must then copy this file in the "scripts" subfolder of Talented_Data, get an external lua interpreter and run the "convert-sv.lua" script. This will regenerate the files "Talented_Data.toc", "Talented_Data_DRUID.lua", "Talented_Data_HUNTER.lua", ...
The next information needed is the talents descriptions and tooltips in every locales. This informations in constructed from another source, namely the different javascript source files that the wow website uses to make the Talent Calculator.
In order to reconstruct those, you need several things: a lua interpreter and a binary of "curl", a tool to download the javascripts source files.
You must first run "get-all-js.lua" source file in the scripts subfolder to download all the javascript data. Then, you have to run "convert-js.lua", to regenerate "Talented_Data_deDE.lua", "Talented_Data_enUS.lua" ... Note that this process is quite slow, as a lot of tricks are used to reduce the size of the data.

