Difference between revisions of "WBD-WBN"
Jump to navigation
Jump to search
(→File Format) |
(→WBD/WBN Description) |
||
Line 1: | Line 1: | ||
{{File-stub}} | {{File-stub}} | ||
==WBD/WBN Description== | ==WBD/WBN Description== | ||
− | '''WBD''' is a '''"Windows Bounds | + | '''WBD''' is a '''"Windows Bounds Dynamic"''' 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" | '''WBN''' is a '''"Windows Bounds Nodes"''' file usually located in the "Rockstar Games\Grand Theft Auto IV\pc\data\maps\xxx_folder\xxx.img" |
Revision as of 05:22, 3 August 2010
WBD/WBN Description
WBD is a "Windows Bounds Dynamic" 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
WBN Header ------------------------------------------------------------------- Offset Size Type Data Description ------------------------------------------------------------------- 0x00 4b LONG VTable 0x04 4b Offset ???? 0x08 4b Offset Collection of Bounding Definitions (see VTable page)
See also
- GTAForums: Collision format post in IV model format topic – by Prince-Link
Grand Theft Auto IV | |
---|---|
File Formats | .dat • .gxt • .ide • .img • .ipl • .nod • .sco • .rpf • .rrr • .wad • .wbd/.wbn • .wdd • .wdr • .wft • .whm • .wpl • .wtd |
Documentation | Audio • Bink Video • Cryptography • Cutscenes • GXT Text • Image listing • Keycodes • Map Listing • Native functions • Paths • Radar Blips • Radio Stations • Saves • Scenarios • VTable • Weapons |
Tools | ASI Loader • ENBSeries • G-Texture • GIMS IV • Ingame WPL Editor • IV Needle • OpenIV • SparkIV • XLiveLess • WPL Manager • X Mod Installer Alice • C++ Script Hook • .NET Script Hook • Scocl |
Tutorials | Importing Textures with OpenIV • Importing Textures with SparkIV |
Modifications | GTA Connected • Gostown IV • Four Multiplayer • IV Multiplayer • CitizenMP:IV Reloaded |
Useful links | Community portal • Discussion forums • Modding forums • Mods on GTAGarage.com |