WDB: Difference between revisions
Jump to navigation
Jump to search
Barncastle (talk | contribs) m (→Header) |
Barncastle (talk | contribs) m (→WDB files) |
||
Line 31: | Line 31: | ||
'''File Signature''' | '''File Signature''' | ||
[[ArenaTeamCache.wdb]] | [[ArenaTeamCache.wdb]] {{Template:Sandbox/VersionRange|min_expansionlevel=3|max_expansionlevel=4}} | ||
[[CreatureCache.wdb]] WMOB | [[CreatureCache.wdb]] WMOB | ||
[[DanceCache.wdb]] | [[DanceCache.wdb]] {{Template:Sandbox/VersionRange|min_expansionlevel=3|max_expansionlevel=4}} | ||
[[GameObjectCache.wdb]] WGOB | [[GameObjectCache.wdb]] WGOB | ||
[[GuildStatsCache.wdb]] WGLD | [[GuildStatsCache.wdb]] WGLD | ||
Line 45: | Line 45: | ||
[[PetNameCache.wdb]] WPNM | [[PetNameCache.wdb]] WPNM | ||
[[QuestCache.wdb]] WQST | [[QuestCache.wdb]] WQST | ||
[[RealmCache.wdb]] {{Template:Unverified|{{Template:Sandbox/VersionRange|min_expansionlevel=6| | [[RealmCache.wdb]] {{Template:Unverified|{{Template:Sandbox/VersionRange|min_expansionlevel=5|max_expansionlevel=6|max_build=6.0.1.18179}} Not seen ≥ 6.2.3}} | ||
[[WOWCache.wdb]] WRDN | [[WOWCache.wdb]] WRDN | ||
[[Category:Format]] | [[Category:Format]] |
Revision as of 20:23, 29 September 2017
The WDB files are found inside the WDB folder. The client caches data it receives from the server. This is mainly done to reduce network traffic.
It appears that the WDB caches aren't always saved to disk with certain caches only being retained in memory.
Header
- WDB files < 1.6: Header length is 16 bytes
- WDB files >=1.6: Header length is 20 bytes (Verified till 1.9.4)
- WDB files >=3.0.8-9506: Header length is 24 bytes
Offset Type Description 0x00 char[4] Identifier, depends on the WDB file, will be explained later 0x04 uint32 Client Version - Version of the client (lo -> hi encoding) 0x08 char[4] Client Local - The Locale of the client 0x0C ???? 4 bytes unknown 0x10 ???? 4 bytes unknown 0x15 ???? 4 bytes unknown (Beginning with version 1.6 and later) 0x18 ???? 4 bytes unknown (Beginning with version 3.0.8-9506 )
Column Field Type Notes 1 Signature String 4-byte string identifying the file (reversed!) 2 Client Version Integer 4-byte integer identifying the client version 3 Language String 4-byte string identifying the language (reversed!) ≥ 4 Row Length Integer Something to do with row length, there is no consistent way of retrieving it as of yet. In Alpha this is row length with strings treated as 4 bytes. 5 Cache Version Integer This appears to be manually updated except for WoWCache which is read from warden 6 Unknown Integer 4-bytes ≥ (1.6.0) 7 Unknown2 Integer 4-bytes ≥ (3.0.8)
WDB files
File Signature ArenaTeamCache.wdb … CreatureCache.wdb WMOB DanceCache.wdb … GameObjectCache.wdb WGOB GuildStatsCache.wdb WGLD ItemCache.wdb WIDB ≤ ItemNameCache.wdb WNDB ≤ ItemTextCache.wdb WITX NameCache.wdb WNAM NPCCache.wdb WNPC PageTextCache.wdb WPTX PetitionCache.wdb WPTN PetNameCache.wdb WPNM QuestCache.wdb WQST RealmCache.wdb … (6.0.1.18179) Not seen ≥ 6.2.3ᵘ WOWCache.wdb WRDN