Changes

Jump to navigation Jump to search

FF8/FileFormat PAK

237 bytes added, 20:38, 31 December 2020
CAM files: adding the bit about 3 unknown bytes in cam header.
|-
| 0 || 3 bytes || 0x463850 "F8P"
|-
| 3 || 3 bytes || Unknown
|-
| 6 || 2 bytes (uint16) || Approx number of frames. There can be extra data.
|-
| 20
| 2 4 bytes
| Camera Space X position
|-
| 22
| 2 bytes
| Unknown (usually 0 or -1)
|-
| 24
| 2 4 bytes
| Camera Space Y position
|-
| 26
| 2 bytes
| Unknown (usually 0 or -1)
|-
| 28
| 2 4 bytes
| Camera Space Z position
|-
| 30
| 2 bytes
| Unknown (usually 0 or -1)
|-
| 32
| 40
| 1 byte
| UnknownRender Mode ('08','10','11' or '50')
|-
| 41
|}
The last unknown byte 4 Render mode seems to be these :   -8 ('08') = render characters over FMV and masks meshes over characters (hiding/masking them)  -16('10') = render characters over FMV (not masked)  -17('11') = don't render characters over FMV  -80('50) = End Transition? (not sure what's this exactly but for some reasons in blank animation data often changes sure the character are not rendered with this on)  the 80 mode (when used) is active for the last 4 framesframe only and seems like it's not used when the fmv transition to the field at the end (eg.attack on Dollet landing or Galbadia Garden intro)
The camera data is really similar to the Field one contained in the .CA files.
|-
| 20
| 2 4 bytes
| Camera Space X position
|-
| 22
| 2 bytes
| Unknown (usually 0 or -1 ?)
|-
| 24
| 2 4 bytes
| Camera Space Y position
|-
| 26
| 2 bytes
| Unknown (usually 0 or -1 ?)
|-
| 28
| 2 4 bytes
| Camera Space Z position
|-
| 30
| 2 bytes
| Unknown (usually 0 or -1 ?)
|-
| 32
27
edits

Navigation menu