Modcraft - The community dedicated to quality WoW modding!

Wrath of the Lich King Modding => Resources and Tools => Topic started by: XxXGenesisXxX on January 15, 2013, 02:44:13 pm

Title: [RELEASE] MyDBCEditor Profiles (3.3.5)
Post by: XxXGenesisXxX on January 15, 2013, 02:44:13 pm
I got sick of my Spell.dbc looking so messy with 234 columns, so I cleaned it up by giving it a new profile so that all the columns are now names not just numbers. Figured I would share it with you guys, might make some more eventually, just makes things easier in such an awesome program. All column names were taken from the WoWDev Wiki: http://pxr.dk/wowdev/wiki/index.php?title=Category:DBC_WotLK

To install this, just go to the your MyDBCEditor folder and open Profile.ini, then add the following to it (personally I deleted the rest except the height/width, it's all out-dated).

Due to what appears to be a link limit, I am just going to post and update a master file instead. I will probably update after completion of each letter.

Master File (http://pastebin.com/Wt8CDp2X)

Currently Implemented:
A
Achievement.dbc
AchievementCategory.dbc
AchievementCriteria.dbc
AnimationData.dbc
AreaGroup
AreaPOI.dbc
AreaTable.dbc
AreaTrigger.dbc
AttackAnimKits.dbc
AttackAnimTypes
AuctionHouse.dbc

B
BankBagSlotPrices.dbc
BarberShopStyle.dbc
BattleMasterList.dbc

C
CameraShakes.dbc
Cfg_Categories
Cfg_Configs
CharacterFacialStyles.dbc
CharHairGeosets.dbc
CharHairTextures.dbc
CharSections.dbc
CharTitles.dbc
ChatChannels.dbc
ChatProfanity.dbc
ChrClasses
ChrRaces.dbc
CinematicCamera.dbc
CinematicSequences.dbc
CreatureDisplayInfo.dbc
CreatureDisplayInfoExtra.dbc
CreatureFamily.dbc
CreatureModelData.dbc
CreatureMovementInfo.dbc
CreatureSoundData.dbc
CreatureSpellData.dbc
CreatureType.dbc
CurrencyCategory.dbc
CurrencyTypes.dbc

D
DanceMoves.dbc
DeathThudLookups.dbc
DeclinedWord.dbc
DeclinedWordCases.dbc
DesctructibleModelData.dbc
DungeonEncounter.dbc
DungeonMap.dbc
DungeonMapChunk.dbc
DurabilityCosts.dbc
DurabilityQuality.dbc

E
Emotes.dbc
EmotesText.dbc
EmotesTextData.dbc
EmotesTextSound.dbc
EnvironmentalDamage.dbc
Exhaustion.dbc

F
Faction.dbc
FactionGroup.dbc
FactionTemplate.dbc
FileData.dbc
FootprintTextures.dbc
FootstepTerrainLookup.dbc

G
GmAnswerSurvey.dbc
GMSurveyCurrentSurvey.dbc
GMSurveyQuestions.dbc

S
SkillLine.dbc
SkillLineAbility.dbc
SkillLineCategory.dbc
Spell.dbc
SpellVisualKit.dbc
Title: Re: [RELEASE] MyDBCEditor Profiles (3.3.5)
Post by: Crumpet on January 15, 2013, 03:13:53 pm
oh god you can do this? This will make  editing skillineability.dbc and spellvisualkit.dbc so much easier, I hate switching between dbcs to check things...
Title: Re: [RELEASE] MyDBCEditor Profiles (3.3.5)
Post by: XxXGenesisXxX on January 15, 2013, 03:15:46 pm
Yeah, found out a while back, never got round to posting though. I'll make those 2 dbc's next :)
Title: Re: [RELEASE] MyDBCEditor Profiles (3.3.5)
Post by: akriso on January 15, 2013, 03:23:32 pm
I wish you'd made ​​the changes that I've written in the last message


viewtopic.php?f=2&t=2476&view=unread#unread (http://modcraft.io/viewtopic.php?f=2&t=2476&view=unread#unread" onclick="window.open(this.href);return false;)
Title: Re: [RELEASE] MyDBCEditor Profiles (3.3.5)
Post by: XxXGenesisXxX on January 15, 2013, 03:28:04 pm
Updated.

And akriso, that thread and post were my motivation for doing these. But I cannot do as much as you ask, as this is an external part of the program I can edit. I do not have the source. If I had the source I would attempt to make MyDBCEditor accomodate more features.
Title: Re: [RELEASE] MyDBCEditor Profiles (3.3.5)
Post by: schlumpf on January 15, 2013, 05:33:49 pm
And now, convert the remainder of the wiki into such files.
Title: Re: [RELEASE] MyDBCEditor Profiles (3.3.5)
Post by: Ascathos on January 15, 2013, 05:39:37 pm
Actually, I am right now on it to convert all the wiki tables into such a MyDBCEditor file.
Title: Re: [RELEASE] MyDBCEditor Profiles (3.3.5)
Post by: schlumpf on January 15, 2013, 05:45:13 pm
What a horrible idea, seeing as there is no machine readable data. Also, one could generate way more correct data from the WoW executable itself.
Title: Re: [RELEASE] MyDBCEditor Profiles (3.3.5)
Post by: akriso on January 15, 2013, 05:45:46 pm
better to delve into sortsah and added tabs to the simultaneous opening there several DBC files)
but the correct names for the columns is also a useful thing, although I was able to remember most of them  :D
Title: Re: [RELEASE] MyDBCEditor Profiles (3.3.5)
Post by: XxXGenesisXxX on January 16, 2013, 12:26:49 am
Quote from: "schlumpf"
What a horrible idea, seeing as there is no machine readable data. Also, one could generate way more correct data from the WoW executable itself.

"Could". Yet no one has done so. This method is simple and effective for the most part. Also easily customizable.

Not to mention everyones (majority of people) is to cross-refernce with the Wiki itself anyway, this just removes that step. Accuracy for the most part remains the same.
Title: Re: [RELEASE] MyDBCEditor Profiles (3.3.5)
Post by: Steff on January 16, 2013, 12:53:00 pm
Hmm could include it also in genesis. There we need the definitions and i could create an exporter. So we could document the rows there and everyone can download the file then. Someone want to help with this?

If then I will write this part next.
Title: Re: [RELEASE] MyDBCEditor Profiles (3.3.5)
Post by: akriso on January 22, 2013, 05:22:48 pm
Column 210, 211, 212 must be SpellFamilyFlags ... I do not know where the original data were taken, but they were a bit misleading and could easily introduce newcomers to the difficulty ....
[attachment=0:1sh3etty]Безымянный.png[/attachment:1sh3etty]
Title: Re: [RELEASE] MyDBCEditor Profiles (3.3.5)
Post by: XxXGenesisXxX on January 23, 2013, 10:55:11 am
Thanks for the reply akriso. I've some things happening irl atm that are keeping me pretty busy. It appears that a column was skipped in the later half of the dbc, thus giving them an earlier number.

Easy to fix. I'll do so next chance I get.
Title: Re: [RELEASE] MyDBCEditor Profiles (3.3.5)
Post by: akriso on January 23, 2013, 11:25:39 am
okay. best to take the structure of the source code dbc TrinityCore - from file DBCStructure.h

[attachment=0:1hqgvwsb]DBCStructure.h.txt[/attachment:1hqgvwsb]
Title: Re: [RELEASE] MyDBCEditor Profiles (3.3.5)
Post by: XxXGenesisXxX on January 23, 2013, 01:50:25 pm
I was cross-referencing the two frequently. Problem is, even TrinityCore itself isn't the most reliable either. It has many missing comments, or lines completely commented out.
Title: Re: [RELEASE] MyDBCEditor Profiles (3.3.5)
Post by: akriso on January 25, 2013, 01:44:12 pm
this is the most correct description of the field names in spell.dbc.
[spoiler:146h0frm]
Code: [Select]

ID Name Type
0 Entry uint
1 Category uint
2 Dispel uint
3 Mechanic uint
4 Attributes uint
5 AttributesEx uint
6 AttributesEx2 uint
7 AttributesEx3 uint
8 AttributesEx4 uint
9 AttributesEx5 uint
10 AttributesEx6 uint
11 AttributesEx7 uint
12 Stances uint
13 unk_320_2 uint
14 StancesNot uint
15 unk_320_3 uint
16 Targets uint
17 TargetCreatureType uint
18 requiresSpellFocus uint
19 FacingCasterFlags uint
20 CasterAuraState uint
21 TargetAuraState uint
22 CasterAuraStateNot uint
23 TargetAuraStateNot uint
24 casterAuraSpell uint
25 targetAuraSpell uint
26 excludeCasterAuraSpell uint
27 excludeTargetAuraSpell uint
28 CastingTimeIndex uint
29 RecoveryTime uint
30 CategoryRecoveryTime uint
31 InterruptFlags uint
32 AuraInterruptFlags uint
33 ChannelInterruptFlags uint
34 procFlags uint
35 procChance uint
36 procCharges uint
37 maxLevel uint
38 baseLevel uint
39 spellLevel uint
40 DurationIndex uint
41 powerType     uint
42 manaCost uint
43 manaCostPerlevel uint
44 manaPerSecond uint
45 manaPerSecondPerLevel uint
46 rangeIndex uint
47 speed float
48 modalNextSpell uint
49 StackAmount uint
50 Totem1 uint
51 Totem2 uint
52 Reagent1 int
53 Reagent2 int
54 Reagent3 int
55 Reagent4 int
56 Reagent5 int
57 Reagent6 int
58 Reagent7 int
59 Reagent8 int
60 ReagentCount1 uint
61 ReagentCount2 uint
62 ReagentCount3 uint
63 ReagentCount4 uint
64 ReagentCount5 uint
65 ReagentCount6 uint
66 ReagentCount7 uint
67 ReagentCount8 uint
68 EquippedItemClass int
69 EquippedItemSubClassMask int
70 EquippedItemInventoryTypeMask int
71 Effect1 uint
72 Effect2 uint
73 Effect3 uint
74 EffectDieSides1 int
75 EffectDieSides2 int
76 EffectDieSides3 int
77 EffectRealPointsPerLevel1 float
78 EffectRealPointsPerLevel2 float
79 EffectRealPointsPerLevel3 float
80 EffectBasePoints1 int
81 EffectBasePoints2 int
82 EffectBasePoints3 int
83 EffectMechanic1 uint
84 EffectMechanic2 uint
85 EffectMechanic3 uint
86 EffectImplicitTargetA1 uint
87 EffectImplicitTargetA2 uint
88 EffectImplicitTargetA3 uint
89 EffectImplicitTargetB1 uint
90 EffectImplicitTargetB2 uint
91 EffectImplicitTargetB3 uint
92 EffectRadiusIndex1 uint
93 EffectRadiusIndex2 uint
94 EffectRadiusIndex3 uint
95 EffectApplyAuraName1 uint
96 EffectApplyAuraName2 uint
97 EffectApplyAuraName3 uint
98 EffectAmplitude1 uint
99 EffectAmplitude2 uint
100 EffectAmplitude3 uint
101 EffectValueMultiplier1 float
102 EffectValueMultiplier2 float
103 EffectValueMultiplier3 float
104 EffectChainTarget1 uint
105 EffectChainTarget2 uint
106 EffectChainTarget3 uint
107 EffectItemType1 uint
108 EffectItemType2 uint
109 EffectItemType3 uint
110 EffectMiscValue1 int
111 EffectMiscValue2 int
112 EffectMiscValue3 int
113 EffectMiscValueB1 int
114 EffectMiscValueB2 int
115 EffectMiscValueB3 int
116 EffectTriggerSpell1 uint
117 EffectTriggerSpell2 uint
118 EffectTriggerSpell3 uint
119 EffectPointsPerComboPoint1 float
120 EffectPointsPerComboPoint2 float
121 EffectPointsPerComboPoint3 float
122 EffectSpellClassMask1 flag96
123 EffectSpellClassMask2 flag96
124 EffectSpellClassMask3 flag96
125 EffectSpellClassMask4 flag96
126 EffectSpellClassMask5 flag96
127 EffectSpellClassMask6 flag96
128 EffectSpellClassMask7 flag96
129 EffectSpellClassMask8 flag96
130 EffectSpellClassMask9 flag96
131 SpellVisual1 uint
132 SpellVisual2 uint
133 SpellIconID uint
134 activeIconID uint
135 spellPriority uint
136 SpellName_0 string
137 SpellName_1 string
138 SpellName_2 string
139 SpellName_3 string
140 SpellName_4 string
141 SpellName_5 string
142 SpellName_6 string
143 SpellName_7 string
144 SpellName_8 string
145 SpellName_9 string
146 SpellName_10 string
147 SpellName_11 string
148 SpellName_12 string
149 SpellName_13 string
150 SpellName_14 string
151 SpellName_15 string
152 SpellNameFlag uint
153 Rank_0 string
154 Rank_1 string
155 Rank_2 string
156 Rank_3 string
157 Rank_4 string
158 Rank_5 string
159 Rank_6 string
160 Rank_7 string
161 Rank_8 string
162 Rank_9 string
163 Rank_10 string
164 Rank_11 string
165 Rank_12 string
166 Rank_13 string
167 Rank_14 string
168 Rank_15 string
169 RankFlags uint
170 Description_0   string
171 Description_1   string
172 Description_2   string
173 Description_3   string
174 Description_4        string
175 Description_5   string
176 Description_6   string
177 Description_7        string
178 Description_8        string
179 Description_9   string
180 Description_10 string
181 Description_11 string
182 Description_12 string
183 Description_13 string
184 Description_14 string
185 Description_15 string
186 DescriptionFlags uint
187 ToolTip_0 string
188 ToolTip_1 string
189 ToolTip_2 string
190 ToolTip_3 string
191 ToolTip_4 string
192 ToolTip_5 string
193 ToolTip_6        string
194 ToolTip_7 string
195 ToolTip_8 string
196 ToolTip_9        string
197 ToolTip_10 string
198 ToolTip_11 string
199 ToolTip_12 string
200 ToolTip_13 string
201 ToolTip_14 string
202 ToolTip_15 string
203 ToolTipFlags uint
204 ManaCostPercentage uint
205 StartRecoveryCategory uint
206 StartRecoveryTime uint
207 MaxTargetLevel uint
208 SpellFamilyName uint
209 SpellFamilyFlagsLow flag96
210 SpellFamilyFlagsHigh flag96
211 SpellFamilyFlags2 flag96
212 MaxAffectedTargets uint
213 DmgClass uint
214 PreventionType uint
215 StanceBarOrder uint
216 EffectDamageMultiplier1 float
217 EffectDamageMultiplier2 float
218 EffectDamageMultiplier3 float
219 MinFactionId uint
220 MinReputation uint
221 RequiredAuraVision uint
222 TotemCategory1 uint
223 TotemCategory2 uint
224 AreaGroupId int
225 SchoolMask uint
226 runeCostID uint
227 spellMissileID uint
228 PowerDisplayId                uint
229 EffectBonusMultiplier1       float
230 EffectBonusMultiplier2            float
231 EffectBonusMultiplier3        float
232 spellDescriptionVariableID uint
233 SpellDifficultyId                 uint

[/spoiler:146h0frm]
Title: Re: [RELEASE] MyDBCEditor Profiles (3.3.5)
Post by: schlumpf on January 25, 2013, 01:47:12 pm
Is that list in the wiki? If not, why? If yes, why copy it?
Title: Re: [RELEASE] MyDBCEditor Profiles (3.3.5)
Post by: akriso on January 25, 2013, 01:53:29 pm
Quote from: "schlumpf"
Is that list in the wiki? If not, why? If yes, why copy it?
it is not out of the wiki.
I do not know why http://www.pxr.dk (http://www.pxr.dk" onclick="window.open(this.href);return false;) not added the (normal) list of column headings ... but it has significant differences.
Title: Re: [RELEASE] MyDBCEditor Profiles (3.3.5)
Post by: schlumpf on January 25, 2013, 01:59:28 pm
Quote from: "akriso"
(normal) list of column headings
What?
Quote from: "akriso"
but it has significant differences.
May you point out the differences or correct them in the wiki?
Title: Re: [RELEASE] MyDBCEditor Profiles (3.3.5)
Post by: akriso on January 25, 2013, 02:06:46 pm
float       unk_320_4[3];           // 229-231  3.2.0

229   EffectBonusMultiplier1         float
230   EffectBonusMultiplier2            float
231   EffectBonusMultiplier3           float



uint64      SpellFamilyFlags;                               // 209-210  m_spellClassMask NOTE: size is 12 bytes!!!
uint32      SpellFamilyFlags2;                              // 211      addition to m_spellClassMask

209   SpellFamilyFlagsLow   flag96
210   SpellFamilyFlagsHigh   flag96
211   SpellFamilyFlags2   flag96

is the first thing that caught my eye ...
Title: Re: [RELEASE] MyDBCEditor Profiles (3.3.5)
Post by: schlumpf on January 25, 2013, 02:59:38 pm
Quote from: "akriso"
float       unk_320_4[3];           // 229-231  3.2.0

229   EffectBonusMultiplier1         float
230   EffectBonusMultiplier2            float
231   EffectBonusMultiplier3           float
I added that. When the documentation was added, the meaning of that field was unknown.

Quote from: "akriso"
uint64      SpellFamilyFlags;                               // 209-210  m_spellClassMask NOTE: size is 12 bytes!!!
uint32      SpellFamilyFlags2;                              // 211      addition to m_spellClassMask

209   SpellFamilyFlagsLow   flag96
210   SpellFamilyFlagsHigh   flag96
211   SpellFamilyFlags2   flag96
These two are equivalent?
Title: Re: [RELEASE] MyDBCEditor Profiles (3.3.5)
Post by: akriso on January 25, 2013, 03:05:23 pm
SpellFamilyFlagsHigh and  SpellFamilyFlagsLow  different things.   :geek:
Title: Re: [RELEASE] MyDBCEditor Profiles (3.3.5)
Post by: schlumpf on January 25, 2013, 04:40:25 pm
Not at all? In one, there is one field with 64bit. In the other, there are two fields with 32bit. High and low indicate that a n bit field is split into two n/2 bit fields, which is the case. They are equivalent.
Title: Re: [RELEASE] MyDBCEditor Profiles (3.3.5)
Post by: XxXGenesisXxX on February 01, 2013, 04:00:23 pm
Updated.

Fixed Spell.dbc
Added a couple more dbc's,
Title: Re: [RELEASE] MyDBCEditor Profiles (3.3.5)
Post by: elarose on April 03, 2013, 12:30:56 pm
Thankyou for this,  I have been wearing the wiki out. =P
Title: Re: [RELEASE] MyDBCEditor Profiles (3.3.5)
Post by: akspa420 on November 17, 2013, 08:15:32 pm
I've begun adding 4x and 5x dbc profiles, and will release my own version as soon as I get around to adding the majority of the 4x and 5x dbc fields. At least this way, we can keep using this awesome tool to decode DBC's, well beyond its original scope of wow patches (2.4.3 seems to be the last official profiles.ini).
Title: Re: [RELEASE] MyDBCEditor Profiles (3.3.5)
Post by: Steff on November 18, 2013, 12:49:11 am
You know that. Mydbceditor can not read db2.