WBD-WBN

From GTAMods Wiki
Revision as of 10:22, 5 August 2009 by Aschratt (talk | contribs)
Jump to navigation Jump to search
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