Difference between revisions of "WBD-WBN"

From GTAMods Wiki
Jump to navigation Jump to search
(File Description)
Line 1: Line 1:
 
 
== 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"  
 
'''WBD''' is a '''"Windows Bounds Dictionary"''' file usually located in the "Rockstar Games\Grand Theft Auto IV\pc\data\maps\xxx_folder\xxx.img"  
  
Line 22: Line 18:
 
  size (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 ==
+
== See also ==
* {{GTAF|382615&|Collision format post in IV model format topic}} – by Prince-Link
+
* {{GTAF|post|382615|1059358051|Collision format post in IV model format topic}} – by {{U|Prince-Link}}
  
 
{{GTA4-navi}}
 
{{GTA4-navi}}
 
{{File-stub}}
 
{{File-stub}}
 
[[Category:Map Formats]][[Category:GTA 4]]
 
[[Category:Map Formats]][[Category:GTA 4]]

Revision as of 04:16, 5 August 2009

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

See also