WBD-WBN
WBD/WBN 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)
- CPU Offsets are of form [xx xx xx 50] * Data Offsets are of form [xx xx xx 60]
WBD Header ------------------------------------------------------------------- Offset Size Type Data Description ------------------------------------------------------------------- 0x00 4b LONG VTable 0x04 4b Offset Offset to blockMap 0x08 4b LONG Unknown 0x0C 4b LONG Unknown 0x10 8b SimpleCollection<Hashes> Collection that contains all hashes of the models 0x18 8b PointerCollection<Unknown>
-------------------------------------------------------------------- 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
|
This page is licensed under the GNU Free Documentation Licence. This page has a separate license to the CC-BY-SA that applies to most of Grand Theft Wiki.
The full text of the GNU FDL v1.2 is here. Click the "History" button to see the full list of authors. See Grand Theft Wiki:Copyright for more detail on our copyright policy.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. See Grand Theft Wiki:Copyright for more information. |