Chunk: Difference between revisions

From wowdev
Jump to navigation Jump to search
(New page: *WDT, ADT, WMO and WDL files follow a chunked structure similar to IFF, consisting of chunks of the following format: '''Offset Type Description''' 0x0 char [4] Chun...)
 
mNo edit summary
Line 8: Line 8:
*The initial chunk in all of these files is an MVER chunk, specifying the version of the files in a 32-bit integer.
*The initial chunk in all of these files is an MVER chunk, specifying the version of the files in a 32-bit integer.
*All files use Intel (little-endian) byte order.
*All files use Intel (little-endian) byte order.
[[Category:Auxiliary]]

Revision as of 13:37, 20 May 2014

  • WDT, ADT, WMO and WDL files follow a chunked structure similar to IFF, consisting of chunks of the following format:
Offset  Type		Description
0x0 	char [4] 	Chunk identifier - in reverse character order
0x4 	uint32 		Chunk size
0x8 	size*bytes 	Chunk data
  • The initial chunk in all of these files is an MVER chunk, specifying the version of the files in a 32-bit integer.
  • All files use Intel (little-endian) byte order.