Difference between revisions of "Cullzone.dat"
Jump to navigation
Jump to search
(tabulated information + links) |
|||
Line 4: | Line 4: | ||
== GTA III == | == GTA III == | ||
− | The file consists of | + | The file consists of five distinct sections. Many of the zones closely mimic the <code>[[cull.ipl]]</code> file. |
− | + | {|class="wikitable" | |
− | + | ! style="width: 4em;" |Offset | |
− | + | ! style="width: 8em;" |Type | |
− | + | ! style="width: 12em;" |Description | |
− | + | |- | |
− | + | ! colspan="3" |Section 1 | |
− | + | |- | |
− | + | |0x00000 ||dword ||number of entries | |
− | + | |- | |
− | + | |0x00004 ||52 bytes[512] ||structures (see below) | |
− | + | |} | |
− | + | <div style="margin-left: 3em;"> | |
− | + | {|class="wikitable" | |
− | + | ! style="width: 4em;" |Offset | |
− | + | ! style="width: 4em;" |Type | |
− | + | ! style="width: 12em;" |Description | |
− | + | |- | |
− | + | |0x00 ||float ||x center | |
− | + | |- | |
− | + | |0x04 ||float ||y center | |
− | + | |- | |
− | Section 2: | + | |0x08 ||float ||z center |
− | + | |- | |
− | + | |0x0C ||float ||x bottom left | |
− | + | |- | |
− | + | |0x10 ||float ||x top right | |
− | + | |- | |
− | + | |0x14 ||float ||y bottom left | |
− | + | |- | |
− | + | |0x18 ||float ||y top right | |
− | + | |- | |
− | + | |0x1C ||float ||z bottom left | |
− | + | |- | |
+ | |0x20 ||float ||z top right | ||
+ | |- | ||
+ | |0x24 ||dword ||? | ||
+ | |- | ||
+ | |0x28 ||word ||? | ||
+ | |- | ||
+ | |0x2C ||word ||? | ||
+ | |- | ||
+ | |0x2E ||word ||? | ||
+ | |- | ||
+ | |0x30 ||word ||? | ||
+ | |- | ||
+ | |0x32 ||word ||? | ||
+ | |- | ||
+ | |0x34 ||word ||? | ||
+ | |} | ||
+ | </div> | ||
+ | {|class="wikitable" | ||
+ | ! colspan="3" |Section 2 | ||
+ | |- | ||
+ | |style="width: 4em;" |0x06804 | ||
+ | |style="width: 8em;" |dword | ||
+ | |style="width: 12em;" |number of entries | ||
+ | |- | ||
+ | |0x06808 ||28 bytes[288] ||structures (see below) | ||
+ | |} | ||
+ | <div style="margin-left: 3em;"> | ||
+ | {|class="wikitable" | ||
+ | ! style="width: 4em;" |Offset | ||
+ | ! style="width: 4em;" |Type | ||
+ | ! style="width: 12em;" |Description | ||
+ | |- | ||
+ | |0x00 ||float ||x bottom left | ||
+ | |- | ||
+ | |0x04 ||float ||x top right | ||
+ | |- | ||
+ | |0x08 ||float ||y bottom left | ||
+ | |- | ||
+ | |0x0C ||float ||y top right | ||
+ | |- | ||
+ | |0x10 ||float ||z bottom left | ||
+ | |- | ||
+ | |0x14 ||float ||z top right | ||
+ | |- | ||
+ | |0x18 ||word ||? | ||
+ | |- | ||
+ | |0x1A ||word ||? | ||
+ | |} | ||
+ | </div> | ||
+ | {|class="wikitable" | ||
+ | |style="width: 4em;" |0x08788 | ||
+ | |style="width: 8em;" |? | ||
+ | |style="width: 12em;" |Section 3 | ||
+ | |- | ||
+ | |0x23538 ||? ||Section 4 | ||
+ | |- | ||
+ | |0x26030 ||? ||Section 5 | ||
+ | |} | ||
== Vice City == | == Vice City == | ||
Vice City has an additional file called '''cullzoneempty.dat'''. Both of these files are not used by the game at all. | Vice City has an additional file called '''cullzoneempty.dat'''. Both of these files are not used by the game at all. | ||
− | == External | + | == External links == |
− | * [http://gta-modz.3dn.ru/load/0-0-0-120-20 Cullzone decompiler | + | * {{GTAF|763409|Discussion of file format}} |
+ | * {{Icon|3}} [http://spaceeinstein.altervista.org/cullzone.htm Table of entries from sections 1 and 2] | ||
+ | * {{Icon|3}} [http://spaceeinstein.altervista.org/binary.php?file=cullzone_iii CULLZONE.DAT reader (JavaScript)], by {{U|spaceeinstein}} | ||
+ | * {{Icon|3}} [http://gta-modz.3dn.ru/load/0-0-0-120-20 Cullzone decompiler/compiler], by {{U|Majestic}} | ||
+ | * {{Icon|VC}} [http://spaceeinstein.altervista.org/binary.php?file=cullzone_vc Cullzone.dat reader (JavaScript)], by {{U|spaceeinstein}} | ||
− | {{N|VC}} | + | {{N|VC|3}} |
− | + | [[Category:Map Formats]] |
Revision as of 22:16, 26 January 2015
The cullzone.dat is a binary file containing zoning information in GTA III and Vice City. The file is located in the \data
folder of the game's directory. It is unknown what the file does and it does not appear to be used in the games.
GTA III
The file consists of five distinct sections. Many of the zones closely mimic the cull.ipl
file.
Offset | Type | Description |
---|---|---|
Section 1 | ||
0x00000 | dword | number of entries |
0x00004 | 52 bytes[512] | structures (see below) |
Offset | Type | Description |
---|---|---|
0x00 | float | x center |
0x04 | float | y center |
0x08 | float | z center |
0x0C | float | x bottom left |
0x10 | float | x top right |
0x14 | float | y bottom left |
0x18 | float | y top right |
0x1C | float | z bottom left |
0x20 | float | z top right |
0x24 | dword | ? |
0x28 | word | ? |
0x2C | word | ? |
0x2E | word | ? |
0x30 | word | ? |
0x32 | word | ? |
0x34 | word | ? |
Section 2 | ||
---|---|---|
0x06804 | dword | number of entries |
0x06808 | 28 bytes[288] | structures (see below) |
Offset | Type | Description |
---|---|---|
0x00 | float | x bottom left |
0x04 | float | x top right |
0x08 | float | y bottom left |
0x0C | float | y top right |
0x10 | float | z bottom left |
0x14 | float | z top right |
0x18 | word | ? |
0x1A | word | ? |
0x08788 | ? | Section 3 |
0x23538 | ? | Section 4 |
0x26030 | ? | Section 5 |
Vice City
Vice City has an additional file called cullzoneempty.dat. Both of these files are not used by the game at all.
External links
- GTAForums: Discussion of file format
- Table of entries from sections 1 and 2
- CULLZONE.DAT reader (JavaScript), by spaceeinstein
- Cullzone decompiler/compiler, by Majestic
- Cullzone.dat reader (JavaScript), by spaceeinstein