GTA Wiki
Register
Advertisement
GTA Wiki
19,722
pages

WDD is the format used for ped models and lod models in GTA IV.

File Format[]

RSC CPU section (Size found from the flags @ 0x08 of RSC file header)

-Note on RSC (24 + 8) pointer structure:

* CPU Offsets are of form [xx xx xx 50] * Data Offsets are of form [xx xx xx 60]

WDD Header
-------------------------------------------------------------------
Offset	Size	Type	Data			Description
-------------------------------------------------------------------
0x00	4b	LONG	VTable		0xA4536900
0x04	4b	Offset	BlockMapAdress		Marks end of Header
0x08	4b	LONG	ParentDictionary	(Usually 0)
0x0C	4b	LONG	UsageCount		(Usually 1)
0x10	8b	SimpleCollection<Hashes>	Contains hashes of the models
0x18	8b	PointerCollection<WDR>		Contains Pointers to WDR files
0x1C	4b	LONG	Unknown
0x20	12b	0xCD Padding till 0x0F
--------------------------------------------------------------------
PointerCollection (BlockSize 0x08) 
Contains pointers to the data of the given type
--------------------------------------------------------------------
0x00	4b	Offset	Offset to the Pointers
0x04	2b	Short	Number of Pointers
0x06	2b	Short	
--------------------------------------------------------------------
SimpleCollection (BlockSize 0x08) 
Contains data of the given type
--------------------------------------------------------------------
0x00	4b	Offset	Offset to the Data
0x04	2b	Short	Data Count
0x06	2b	Short	Data Size
Copyrighted

This page is licensed under the GNU Free Documentation Licence. This page has a separate license to the CC-BY-SA that applies to most of GTA Wiki.

The full text of the GNU FDL v1.2 is here. Click the "History" button to see the full list of authors. See GTA Wiki:Copyright for more detail on our copyright policy.

Navigation[]

[ ve ]Game files and formats in Grand Theft Auto
Important!See our Policy on modded content.
File formatsIMG Archive | DFF | TXD | IDE | GXT | Handling.cfg | Carcols Dynamic Object
Game filesAnimviewer.dat/GTAVC | Bink | Default.dat/GTAVC | Chassis Vlo | Fistfite.dat/GTAVC | Flight.dat | Gta vc.dat | Object.dat/GTAVC | OpenGTA2 | Particle.cfg/GTAVC | Particle (SA) | Paths | Ped.dat/GTAVC | Pedgrp.dat/GTAVC | Pedstats.dat/GTAVC | Scenarios.dat | Scripted Path | Surface.dat/GTAVC | Surfaud.dat | TimeCyc Definition | Timecyc.dat/GTAVC | Train.dat/GTAVC | Train.dat/GTAVC | Train.dat/GTAVC | Train2.dat/GTAVC | WAD | WBD-WBN | WPFL | Water.dat | Water.dat/GTAVC | Weapon.dat/GTAVC | Weaponinfo.xml
File toolsCodeWalker | OpenIV | Spark IV
Advertisement