Modcraft - The community dedicated to quality WoW modding!

Community => Showoff - what you are working on => Topic started by: Rangorn on November 23, 2015, 01:46:17 pm

Title: Datamining perfect Scheme ?
Post by: Rangorn on November 23, 2015, 01:46:17 pm
Hi modcraft, i'm currently trying to Dev tools for some datamining and use the proper method for this.

Datamining is not that ez for legion, you need to use cascexplorer and u need a listfile.
The listfile is like a giant pokedex for all the files presents in this extension, so my goal is to catch em all  :lol:

Anyway, this is my idea for getting all the referenced string in wow (path to dbc db2 db3 blp m2 wmo adt etc....)

(http://img11.hostingpics.net/pics/586078datam.png)

Step 0 : Read all the existing dbc db2 db3 existing in the latest wow.exe
Step 1 : Extract all informations from theses dbs
Step 2 : Generate all existings adts from map.dbc with a prog (0_0 to 63_63) and extract m2 blp wmo from other dbs (filedata, itemdisplayinfo etc...)
Step 3 : Generate needed files for m2 (the skin), wmo (the parts), blp (for tileset, the _s.blp) and Extract informations from m2 (blp path) and wmo (blp path + m2 if doodads set, and extract blp from theses m2 too)

What do u think guys ?
Title: Re: Datamining perfect Scheme ?
Post by: stoneharry on November 23, 2015, 02:00:26 pm
I don't see why this wouldnt work. I've thought about this before. Looks good.
Title: Re: Datamining perfect Scheme ?
Post by: schlumpf on November 23, 2015, 03:33:42 pm
There are some files no longer referenced by filename anywhere, so that will be missing. Also, the hard part is keeping up with the patterns. You miss at least .phys for m2s, _h.blp, world/maptextures/, .tex, .blob, _lgt.wdt, _occ.wdt, _lod.adt
Title: Re: Datamining perfect Scheme ?
Post by: Rangorn on November 23, 2015, 07:16:14 pm
Quote from: "schlumpf"
There are some files no longer referenced by filename anywhere, so that will be missing. Also, the hard part is keeping up with the patterns. You miss at least .phys for m2s, _h.blp, world/maptextures/, .tex, .blob, _lgt.wdt, _occ.wdt, _lod.adt

True, lot of missing files, like test blp or test wmo, unused stuff etc...

For the patterns, it's easy when string are between 2 defined chunk (like adts), for m2, i will spend more time on an efficient process.

.tex gtwdt occwdt can be found with my program, and with all adts generated, for the other files, i've totally forget about them, seems difficult to retrieve em :(
Title: Re: Datamining perfect Scheme ?
Post by: MR. Farrare on November 23, 2015, 09:06:29 pm
lol there is some creature blp that is in spell folder
Title: Re: Datamining perfect Scheme ?
Post by: Amaroth on November 23, 2015, 09:29:05 pm
Quote from: "MR. Farrare"
lol there is some creature blp that is in spell folder
Nothing rare for particle effects...
Title: Re: Datamining perfect Scheme ?
Post by: MR. Farrare on November 23, 2015, 10:46:04 pm
spell/JailerGrey1.blp isn't particle
Title: Re: Datamining perfect Scheme ?
Post by: Amaroth on November 23, 2015, 11:03:03 pm
OK. Thats just funny :D.