Havok: Difference between revisions

Jump to navigation Jump to search
m
fix typos
imported>HailToDodongo
(Add description for data sections / pointer sections)
imported>HailToDodongo
m (fix typos)
Line 339: Line 339:
|EOF
|EOF
|}
|}
<br />
 


== Class Names Section ==
== Class Names Section ==
Line 380: Line 380:
All files follow a general structure as you can see in the picture.
All files follow a general structure as you can see in the picture.


Right after the header begins the data section which contains multiple chunks, luckily, the four first chunks are always the same.
Right after the header begins the data section which contains multiple chunks, luckily, the first four chunks are always the same.


After that, the several more chunks can be found depending on the file.
After that, several more chunks can be found depending on the file.


=== Pointer ===
=== Pointer ===
Line 396: Line 396:


However, since the first four classes are always the same, the first 14 offsets will be the constant.
However, since the first four classes are always the same, the first 14 offsets will be the constant.
[[File:Havok data pointer.png|none|thumb|Data Pointer]]
[[File:Havok_data_pointer.png|none|thumb|Data Pointer]]
<br />
 


==== Linked Entries ====
==== Linked Entries ====
Line 432: Line 432:


Then, the target pointer is the offset of the beginning of the target chunk.
Then, the target pointer is the offset of the beginning of the target chunk.
[[File:Havok pointer linked.png|none|thumb|Linked Entries]]
[[File:Havok_pointer_linked.png|none|thumb|Linked Entries]]
<br />
 


==== Class Mapping ====
==== Class Mapping ====
Line 468: Line 468:


The class pointer is set to the first character of the class name found in the header section.
The class pointer is set to the first character of the class name found in the header section.
[[File:Havok class mapping.png|none|thumb|Class Mapping]]
[[File:Havok_class_mapping.png|none|thumb|Class Mapping]]




Line 476: Line 476:
{{Expand section}}
{{Expand section}}
All known class that chunks can used are listed here:
All known class that chunks can used are listed here:
<br />
 
<references />
<references />
[[Category:File formats]]
[[Category:File formats]]

Navigation menu