Havok: Difference between revisions
m
fix typos
imported>HailToDodongo (Add description for data sections / pointer sections) |
imported>HailToDodongo m (fix typos) |
||
Line 339: | Line 339: | ||
|EOF | |EOF | ||
|} | |} | ||
== 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 | Right after the header begins the data section which contains multiple chunks, luckily, the first four chunks are always the same. | ||
After that, | 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: | [[File:Havok_data_pointer.png|none|thumb|Data Pointer]] | ||
==== 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: | [[File:Havok_pointer_linked.png|none|thumb|Linked Entries]] | ||
==== 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: | [[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: | ||
<references /> | <references /> | ||
[[Category:File formats]] | [[Category:File formats]] |