Difference between revisions of "WDD"
Jump to navigation
Jump to search
m |
m |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
{{File-stub}} | {{File-stub}} | ||
− | '''WDD''' is the format used for ped models and lod models in [[GTA 4|GTA IV]]. | + | '''WDD''' (Windows Drawable Dictionary) is the format used for ped models and lod models in [[GTA 4|GTA IV]]. |
== File Format == | == File Format == | ||
Line 41: | Line 41: | ||
0x06 2b Short Data Size | 0x06 2b Short Data Size | ||
+ | ==Tools and Scripts== | ||
+ | The following tools and scripts can be used to import & export (edit) these model files. | ||
+ | |||
+ | * {{GTAF|388289|OpenIV}} | ||
+ | * {{GTAF|474215|GIMS}} | ||
* {{GTAF|384933|SparkIV}} | * {{GTAF|384933|SparkIV}} | ||
* {{GTAF|382615|Model format discussion topic}} | * {{GTAF|382615|Model format discussion topic}} |
Latest revision as of 16:02, 13 April 2024
WDD (Windows Drawable Dictionary) 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
Tools and Scripts
The following tools and scripts can be used to import & export (edit) these model files.
- GTAForums: OpenIV
- GTAForums: GIMS
- GTAForums: SparkIV
- GTAForums: Model format discussion topic
Grand Theft Auto IV | |
---|---|
File Formats | .dat • .gxt • .ide • .img • .ipl • .nod • .sco • .rpf • .rrr • .wad • .wbd/.wbn • .wdd • .wdr • .wft • .whm • .wpl • .wtd |
Documentation | Audio • Bink Video • Cryptography • Cutscenes • GXT Text • Image listing • Keycodes • Map Listing • Native functions • Paths • Radar Blips • Radio Stations • Saves • Scenarios • VTable • Weapons |
Tools | ASI Loader • ENBSeries • G-Texture • GIMS IV • Ingame WPL Editor • IV Needle • OpenIV • SparkIV • XLiveLess • WPL Manager • X Mod Installer Alice • C++ Script Hook • .NET Script Hook • Scocl |
Tutorials | Importing Textures with OpenIV • Importing Textures with SparkIV |
Modifications | GTA Connected • Gostown IV • Four Multiplayer • IV Multiplayer • CitizenMP:IV Reloaded |
Useful links | Community portal • Discussion forums • Modding forums • Mods on GTAGarage.com |