ok. finally seems I finish it. actually I think this thread must be in "bots and programs", but anyway I think it would be more useful here.
at first purpose.
this tool allow you browse all existed display id's with their mainly attributes (as model path, flags, equipment etc.) and filter this data by all of it parameters.
basically it must be useful for any morpher users.
sample 1:
you want to morph to UDM with your equipment.
you must set in filter UDM model path, allowing using character equipment and hit "apply" (actually also must be used 3's bit in model flags). if display id's with this parameters are exist all of it would be displayed.
sample 2:
you know display id equipped with item, what you want to use, but don't know id of it.
find this display id and look at slot what you interesting. if it's not a part of this model, you'll see an id of this model. click on it and you'll see all item id's what assigned for this model. also you may open this item(s) in wowhead (or other compatible db) from items list.
ui
1 - modelid/status
6 - items list for this model (double click on item to open it in wowhead)
7 - wowhead template link (click to change. for sample if you want to use another language, just open any item, select in browser desirable language, and copy this url without item id (last numbers))
5 - available db list
3 - used (displayed) columns options. if column not selected by this option it wouldn't be displayed and be ignored by filter
4 - filter options
topright buttons:
"v" - apply filter (duplicate button from main window)
"~" - roll filter (minimize it but stay on top)
"x" - left click - close filter; right click - close program (you'll be warned)
filter would use only displayed columns. select desirable in columns options.
- filter separated on 3 sections (on screen 2), if section haven't displayable column it would be hidden.
- if one of section temporary not needed, you may roll it, selected filters from this section would be used. you may roll full filter widow too.
- comboboxes contain only existed in appropriated column values
- bottom section contain equipment filters. you may use as model id (left combo), as item id (right combo). you may sort items in item id combo by name or by item id. switch it by rightest button (caption display current sorting: "N" by name; "I" - by item id).
- mask filter contain mini "mask editor":
it's not so necessary especially because meanings of flags not described even at Malu05's wiki (at least I can't find it), seems without 3's bit model couldn't be equipped with character wear. perhaps it would be more useful in a future
- full flag separated on 4-bits sections leftest bit is a last, rightest bit is a first
- use right click popup menu on text fields to fill it by "0", "1" or "*" symbols
- contain only existed flags, not existed marked as "X" recognized always as "0" and can't be used
- you may use "0", "1" as required flag or "*" as indifferent
- flags what can't pass your mask would be grayed
- use double click on existed flag to use it as mask
- mask would be applied only by "apply" button, else it would be canceled. also if your mask would pass only one value it'll be replaced by this value.
helper have a savable options:
- position and size of main window (not state)
- displayable columns an it's width
- sorting of item id combos and rolling of sections and full filter window
- wowhead link template
all options saves automatically on exit, and load on start.
you can't modify config files manually, but if you want to reset settings, just remove files:
Code:
Config.ini
Config.sig
helper supports bases of any version of bases as official, as modified. but you need to build it x)
actually it's greatly easy all what you need, it's extract some files, convert it to "csv" by any tool and make a configuration file
two bases for 14333 "enGB" and "ruRU" I make and add to downloads
bases creation:
[SPOILER]
extract from latest cache files:
Code:
CreatureDisplayInfo.dbc
CreatureDisplayInfoExtra.dbc
CreatureModelData.dbc
Item.db2
Item-sparse.db2
convert it to "csv".
output files must be with similar names with "csv" extension:
Code:
CreatureDisplayInfo.dbc.csv
CreatureDisplayInfoExtra.dbc.csv
CreatureModelData.dbc.csv
Item.db2.csv
Item-sparse.db2.csv
keep in mid, what first string for all "csv" files would be skipped, and if your tool make your files without header, just add one string as first with any symbols
if you create non enGB/enUS base, you must also convert output Item-sparse.db2.csv from utf-8 to default windows ansi (for ruRU is a 1251) imho easiest way is a akelpad just open, hit save as and select required.
create anynamed folder in folder where located your "DisplayIDHelper.exe" (I recommend you use revision and locale, for sample "14333.enGB") and move all "csv" files in it.
also in folder with "csv" files, you must create config file "Config.ini" it must contain definition of used columns:
[SPOILER]Itemsparse_ItemID_Column=1
Itemsparse_ItemName_Column=97
Item_ItemID_Column=1
Item_ItemModelID_Column=6
CreatureDisplayInfo_DisplayID_Column=1
CreatureDisplayInfo_CharacterModelID_Column=2
CreatureDisplayInfo_DisplayExtraID_Column=4
CreatureDisplayInfo_Size_Column=5
CreatureDisplayInfo_Alpha_Column=6
CreatureModelData_CharacterModelID_Column=1
CreatureModelData_ModelFlags_Column=2
CreatureModelData_ModelPath_Column=3
CreatureDisplayInfoExtra_DisplayExtraID_Column=1
CreatureDisplayInfoExtra_RaceID_Column=2
CreatureDisplayInfoExtra_GenderID_Column=3
CreatureDisplayInfoExtra_SkinColor_Column=4
CreatureDisplayInfoExtra_FaceType_Column=5
CreatureDisplayInfoExtra_HairType_Column=6
CreatureDisplayInfoExtra_HairStyle_Column=7
CreatureDisplayInfoExtra_BeardStyle_Column=8
CreatureDisplayInfoExtra_Helm_Column=9
CreatureDisplayInfoExtra_Shoulder_Column=10
CreatureDisplayInfoExtra_Shirt_Column=11
CreatureDisplayInfoExtra_Cuirass_Column=12
CreatureDisplayInfoExtra_Belt_Column=13
CreatureDisplayInfoExtra_Legs_Column=14
CreatureDisplayInfoExtra_Boots_Column=15
CreatureDisplayInfoExtra_Wrist_Column=16
CreatureDisplayInfoExtra_Gloves_Column=17
CreatureDisplayInfoExtra_Tabard_Column=18
CreatureDisplayInfoExtra_Cape_Column=19
CreatureDisplayInfoExtra_CharacterEquipment_Column=20
CreatureDisplayInfoExtra_Texture_Column=21[/SPOILER]
you may get column meanings from Malu05's wiki or just look in "csv" files.
[/SPOILER]
instalation:
helper required at least two ocx files MSHFLXGD.OCX and COMDLG32.OCX if you get error message about it not registered just register it
x86
x64
MSHFLXGD.OCX must be registered absolutely like COMDLG32.OCX. for xp under administrator privileges, is enough just copying this files into folder with your "DisplayIDHelper.exe"
COMDLG32.ZIP
MSHFLXGD.ZIP
finally:
DisplayID Helper v 1.0 (VirusTotal report)
bases:
14333.enGB.zip
14333.ruRU.zip