WBD-WBN

From GTAMods Wiki
Revision as of 01:45, 5 August 2009 by Gforce (talk | contribs) (File Description)
Jump to navigation Jump to search


File Description

WBD is a "Windows Bounds Dictionary" file usually located in the "Rockstar Games\Grand Theft Auto IV\pc\data\maps\xxx_folder\xxx.img"

WBN is a "Windows Bounds Nodes" file usually located in the "Rockstar Games\Grand Theft Auto IV\pc\data\maps\xxx_folder\xxx.img"

these files are the method used within GTA-IV for collision files, early indications show that map model colision files are mapped in game "World coordinates"

File Format

Here is some basic information that has been gathered so far.(from decompressed ext_door.wbd)

Int VTable (4b)
offset to blockMap (4b)
Unknown (8b)
offset to Array (contains all hashes of the models)
count (2b) //number of hashes
size (2b) //number of hashes
PointerCollection (4b)
count (2b) //in ext_door.wbd same as number of door models
size (2b) //in ext_door.wbd same as number of door models

Discussion Topics