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 '''CULLZONE.DAT''' file consists of seven distinct sections. Many of the zones closely mimic the <code>[[cull.ipl]]</code> file. |
{|class="wikitable" | {|class="wikitable" | ||
! style="width: 4em;" |Offset | ! style="width: 4em;" |Offset | ||
! style="width: 8em;" |Type | ! style="width: 8em;" |Type | ||
− | ! style="width: | + | ! style="width: 16em;" |Description |
|- | |- | ||
! colspan="3" |Section 1 | ! colspan="3" |Section 1 | ||
|- | |- | ||
− | |0x00000 ||dword ||number of entries | + | |0x00000 ||dword ||number of entries in section 2 |
+ | |- | ||
+ | ! colspan="3" |Section 2 | ||
|- | |- | ||
|0x00004 ||52 bytes[512] ||structures (see below) | |0x00004 ||52 bytes[512] ||structures (see below) | ||
Line 57: | Line 59: | ||
</div> | </div> | ||
{|class="wikitable" | {|class="wikitable" | ||
− | ! colspan="3" |Section | + | ! colspan="3" |Section 3 |
|- | |- | ||
|style="width: 4em;" |0x06804 | |style="width: 4em;" |0x06804 | ||
|style="width: 8em;" |dword | |style="width: 8em;" |dword | ||
− | |style="width: | + | |style="width: 16em;" |number of entries in section 4 |
+ | |- | ||
+ | ! colspan="3" |Section 4 | ||
|- | |- | ||
|0x06808 ||28 bytes[288] ||structures (see below) | |0x06808 ||28 bytes[288] ||structures (see below) | ||
Line 91: | Line 95: | ||
|style="width: 4em;" |0x08788 | |style="width: 4em;" |0x08788 | ||
|style="width: 8em;" |? | |style="width: 8em;" |? | ||
− | |style="width: | + | |style="width: 16em;" |Section 5 |
|- | |- | ||
− | |0x23538 ||? ||Section | + | |0x23538 ||? ||Section 6 |
|- | |- | ||
− | |0x26030 ||? ||Section | + | |0x26030 ||? ||Section 7 |
|} | |} | ||
== Vice City == | == Vice City == | ||
− | Vice City has | + | In addition to '''Cullzone.dat''', Vice City has a file called '''Cullzoneempty.dat'''. Both of these files are not used by the game at all. |
== External links == | == External links == | ||
* {{GTAF|763409|Discussion of file format}} | * {{GTAF|763409|Discussion of file format}} | ||
− | * {{Icon|3}} [http://spaceeinstein.altervista.org/cullzone.htm Table of entries from sections 1 | + | * {{Icon|3}} [http://spaceeinstein.altervista.org/cullzone.htm Table of entries from sections 1 through 4] |
− | * {{Icon|3}} [http://spaceeinstein.altervista.org/binary.php?file=cullzone_iii | + | * {{Icon|3}} {{Icon|VC}} [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|3}} [http://gta-modz.3dn.ru/load/0-0-0-120-20 Cullzone decompiler/compiler], by {{U|Majestic}} | ||
− | |||
{{N|VC|3}} | {{N|VC|3}} | ||
[[Category:Map Formats]] | [[Category:Map Formats]] |
Revision as of 06:28, 3 February 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 CULLZONE.DAT file consists of seven distinct sections. Many of the zones closely mimic the cull.ipl
file.
Offset | Type | Description |
---|---|---|
Section 1 | ||
0x00000 | dword | number of entries in section 2 |
Section 2 | ||
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 3 | ||
---|---|---|
0x06804 | dword | number of entries in section 4 |
Section 4 | ||
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 5 |
0x23538 | ? | Section 6 |
0x26030 | ? | Section 7 |
Vice City
In addition to Cullzone.dat, Vice City has a 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 through 4
- cullzone.dat reader (JavaScript), by spaceeinstein
- Cullzone decompiler/compiler, by Majestic