Filename Structures: Difference between revisions

From wowdev
Jump to navigation Jump to search
m (Add NPC textures)
m (Clarify versions this document is for)
Line 1: Line 1:
This page lists filename structures that are used inside WoW's content system to better supply authors of listfile generators with structures to search/bruteforce on.
This page lists filename structures that are used inside WoW's content system to better supply authors of listfile generators with structures to search/bruteforce on. As such, this article is only for versions of WoW that use CASC (6.0+).


== Maps ==
== Maps ==

Revision as of 14:46, 8 July 2017

This page lists filename structures that are used inside WoW's content system to better supply authors of listfile generators with structures to search/bruteforce on. As such, this article is only for versions of WoW that use CASC (6.0+).

Maps

Map files can be guessed based upon the Directory name found in Map.db2.

world/maps/[mapname]/[mapname].tex
world/maps/[mapname]/[mapname].wdl
world/maps/[mapname]/[mapname].wdt

You can choose to parse the WDT for a list of available tiles, but it is usually faster to just bruteforce them.

ADTs

Keep in mind that unlike the minimaps and LOD textures, ADTs are not padded with zero.

world/maps/[mapname]/[mapname]_[0-63]_[0-63].adt
world/maps/[mapname]/[mapname]_[0-63]_[0-63]_tex0.adt
world/maps/[mapname]/[mapname]_[0-63]_[0-63]_obj0.adt
world/maps/[mapname]/[mapname]_[0-63]_[0-63]_obj1.adt
This section only applies to versions ≤ Legion (7.0.3.21287).
world/maps/[mapname]/[mapname]_[0-63]_[0-63]_tex1.adt 
This section only applies to versions ≥ Legion (7.0.1.20740).
world/maps/[mapname]/[mapname]_[0-63]_[0-63]_lod.adt

Minimaps

world/minimaps/[mapname]/map[00-63]_[00-63].blp

LOD textures

world/maptextures/[mapname]/[mapname]_[00-63]_[00-63].blp
world/maptextures/[mapname]/[mapname]_[00-63]_[00-63]_n.blp

WMOs

You can find most WMOs through parsing the ADT obj files as they (at the time of writing) contain their filenames.

Group IDs start at 0 and are padded to 3 characters with 0's. You can find the number of groups inside the parent WMO or by bruteforcing [000-512].

world/wmo/[dir]/[name].wmo
world/wmo/[dir]/[name]_[groupid].wmo

LOD

LOD textures are sometimes referenced from the WMO itself and can be used to guess a WMO filename not referenced in any ADT.

world/wmo/[dir]/[name]_[groupid]_lod1.wmo
world/wmo/[dir]/[name]_[groupid]_lod1.blp
world/wmo/[dir]/[name]_[groupid]_lod1_l.blp
world/wmo/[dir]/[name]_[groupid]_lod2.wmo
world/wmo/[dir]/[name]_[groupid]_lod2.blp
world/wmo/[dir]/[name]_[groupid]_lod2_l.blp

Minimaps

Minimaps are usually not larger than 1-2 tiles per WMO group and have currently never exceeded 22x14.

world/minimaps/wmo/[dir]/[name]_[groupid]_[00-63]_[00-63].blp

NPC textures

textures/bakednpctextures/creaturedisplayextra-[id].blp
textures/bakednpctextures/creaturedisplayextra-[id]_hd.blp