WDB: Difference between revisions
Jump to navigation
Jump to search
(New page: = WDB files = 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. == Header == WDB file...) |
mNo edit summary |
||
Line 1: | Line 1: | ||
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. | 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. | ||
== Header == | == Header == | ||
*WDB files < 1.6: Header length is 16 bytes | |||
*WDB files >=1.6: Header length is 20 bytes (Verified till 1.9.4) | |||
'''Offset Type Description''' | '''Offset Type Description''' | ||
0x00 char[4] Identifier, depends on the WDB file, will be explained later | 0x00 char[4] Identifier, depends on the WDB file, will be explained later | ||
Line 20: | Line 14: | ||
0x15 ???? 4 bytes unknown (Beginning with version 1.6 and later) | 0x15 ???? 4 bytes unknown (Beginning with version 1.6 and later) | ||
'''Column Field Type Notes''' | |||
1 Signature String 4-byte string identifying the file (reversed!) | |||
2 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. | |||
5 Unknown Integer 4-bytes | |||
== | == WDB files == | ||
File Signature | |||
[[CreatureCache.wdb]] WMOB | |||
[[GameObjectCache.wdb]] WGOB | |||
[[QuestCache.wdb]] WQST | |||
[[ItemCache.wdb]] WIDB | |||
[[ItemNameCache.wdb]] WNDB | |||
[[ItemTextCache.wdb]] WITX | |||
[[NPCCache.wdb]] WNPC | |||
[[PageTextCache.wdb]] WPTX | |||
[[WOWCache.wdb]] WRDN |
Revision as of 14:19, 3 August 2007
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.
Header
- WDB files < 1.6: Header length is 16 bytes
- WDB files >=1.6: Header length is 20 bytes (Verified till 1.9.4)
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)
Column Field Type Notes 1 Signature String 4-byte string identifying the file (reversed!) 2 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. 5 Unknown Integer 4-bytes
WDB files
File Signature CreatureCache.wdb WMOB GameObjectCache.wdb WGOB QuestCache.wdb WQST ItemCache.wdb WIDB ItemNameCache.wdb WNDB ItemTextCache.wdb WITX NPCCache.wdb WNPC PageTextCache.wdb WPTX WOWCache.wdb WRDN