Changes

Jump to navigation Jump to search

FF8/FileFormat X

No change in size, 18:56, 18 November 2020
m
Dependency: Changed this example to use wiki numbering and the headers.
=====Example:=====
a0stg006.x:<br>0x5d8 -> 02 00 08 00 20 00 1. # Get EOF-> *(0x5d8 + 8) -> 32 2. # Jump to EOF -> 0x5d8 + 32 = 0x5F8 (This is now Camera Animation Collection) 3. # Get pointer to correct anim collection. In this case we will use AnimCollectionID == 0, so: *(0x5F8 + 0*2 + 2) -> 0x0c  4. # Jump to Anim collection data: 0x5F8 + 0x0c = 0x604 (This is now Camera Animation Set) 5. # Jump to Camera animation by cameraAnimSetID, let's take for example cameraAnimSetID == 7, so: *(0x604 + 7*2) -> 0x25E. Now carefully, jump by multiplying it by 2!  5a. ## 0x604 + (0x25E * 2) = 0xAC0
Therefore: a0stg006.x Camera animation 7 in camera collection 0 is at 0xAC0
27
edits

Navigation menu