/hero-dbc

Tools to extract information from the DBC and making it available as JSON and WoW Addon.

Primary LanguageLuaEuropean Union Public License 1.2EUPL-1.2

HeroDBC

GitHub license GitHub contributors GitHub forks GitHub stars
GitHub issues GitHub pull requests GitHub closed issues GitHub closed pull requests
GitHub release GitHub Release Date GitHub commits since latest release (by date) GitHub last commit

AddOn

World of Warcraft AddOn to make info from DBC available in-game.
It is used by HeroLib and HeroRotation.
The project is hosted on GitHub.
It is maintained by Aethys and the HeroTC team.
Also, you can find it on CurseForge.

Usage

local DBC = HeroDBC.DBC
local ItemRange = DBC.ItemRange

-- Do something with ItemRange.

Extract

Extract infos from the DBC using SimulationCraft dbc_extract.

Live

python3 scripts/extract.py --wowrealm=live

PTR

python3 scripts/extract.py --wowrealm=ptr

Beta

python3 scripts/extract.py --wowrealm=beta

Alpha

python3 scripts/extract.py --wowrealm=alpha

SimC Update

Update SimC: python3 scripts/extract.py --wowrealm=xxx --simc

Process

In order to have accurate information for .lua DBC files, some filtering might be needed.

The first thing to do is to replace the addon/HeroDBC.toc with the one from addon/Dev/HeroDBC.toc.
Then check each filter code to see the instructions (inside addon/Dev/Filter),
they use data from addon/Dev/Unfiltered and output has to be in addon/Dev/Filtered (you need to copy/paste from SavedVariables).

Once finished then you have to run the filter script (python3 scripts/filter.py).
Do not forget to restore the original content of HeroDBC.tocfile.