Difference between revisions of "WBD-WBN"

From GTAMods Wiki
Jump to navigation Jump to search
Line 1: Line 1:
 +
{{Cleanup-rewrite}}
 +
{{File-stub}}
 
'''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 6: Line 8:
  
 
== File Format ==
 
== File Format ==
Here is some basic information that has been gathered so far.(from decompressed ext_door.wbd)
+
Here is some basic information that has been gathered so far. (From decompressed ext_door.wbd)
  
  Int VTable (4b)
+
  DWORD  - 4b  - VTable
  offset to blockMap (4b)
+
DWORD  - 4b  - offset to blockMap
  Unknown (8b)
+
DWORD  - 4b - Unknown
  offset to Array (contains all hashes of the models)
+
  DWORD  - 4b  - Unknown
  count (2b) //number of hashes
+
  DWORD  - 4b  - offset to Array (contains all hashes of the models)
  size (2b) //number of hashes
+
  WORD  - 2b  - count (number of hashes)
  PointerCollection (4b)
+
  WORD  - 2b  - size (number of hashes)
  count (2b) //in ext_door.wbd same as number of door models
+
  DWORD  - 4b  - PointerCollection
  size (2b) //in ext_door.wbd same as number of door models
+
WORD  - 4b  - count (in ext_door.wbd same as number of door models)
 +
  WORD  - 4b  - size (in ext_door.wbd same as number of door models)
  
 
== See also ==
 
== See also ==
Line 22: Line 25:
  
 
{{GTA4-navi}}
 
{{GTA4-navi}}
{{File-stub}}
+
[[Category:Map Formats]]
[[Category:Map Formats]][[Category:GTA 4]]
 

Revision as of 10:22, 5 August 2009

40px-Ambox rewrite orange.svg.png This article may need to be rewritten.
Please help improve this article. The discussion page may contain suggestions.

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)

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

See also