12
edits
Changes
From Final Fantasy Inside
→CAM files
|}
Extra info by Kaspar:
The number of frames is always equal to the "approx number" above + 1 (therefore we can consider that approx number as the last frame index if we start counting from 0 ).
The only exception to this is disc03_04 wich contains 3 extra frame data (wich is probably pointless since the whole file contains blank camera animation anyway.
Each Frame data sector is structured this way:
{| class="wikitable"
! Offset
! Size
! Description
|-
| 0
| 6 bytes
| Camera Vector X axis
|-
| 6
| 6 bytes
| Camera Vector Y axis
|-
| 12
| 6 bytes
| Camera Vector Z axis
|-
| 18
| 2 bytes
| Camera Vector Z.z (copy)
|-
| 20
| 2 bytes
| Camera Space X position
|-
| 22
| 2 bytes
| Unknown (usually 0 or -1)
|-
| 24
| 2 bytes
| Camera Space Y position
|-
| 26
| 2 bytes
| Unknown (usually 0 or -1)
|-
| 28
| 2 bytes
| Camera Space Z position
|-
| 30
| 6 bytes
| Unknown
|-
| 36
| 2 bytes
| Zoom
|-
| 38
| 2 bytes
| Zoom (Repeated)
|-
| 40
| 1 byte
| Unknown
|-
| 41
| 3 bytes
| "END" marker
|}
The last unknown byte for some reasons in blank animation data often changes for the last 4 frames.
The camera data is really similar to the Field one contained in the .CA files.
== Pak File Details ==