FF8/FileFormat PAK
From Final Fantasy Inside
< FF8
Final Fantasy VIII's movie files are stored within pak files. This is for the CD 2000 version only. Steam 2013 version uses avi files. publish.pak contains the Eidos logo. disc1.pak, disc2.pak, disc3.pak, and disc4.pak hold the rest of the FMV movies.
PAK File Structure
The PAK file has no header. Each movie usually contains a CAM file and two BINK videos. A PAK file can contain multiple movies. One BINK file is the low res the other is the high res.
Section | Description |
---|---|
CAM - optional | Camera data |
BINK - high res | FMV video |
BINK - low res | FMV video |
Existing projects you can use to extract the PAK files.
- https://github.com/MaKiPL/OpenVIII-monogame/tree/master/PAK%20Extractor
- https://github.com/MaKiPL/FF8-Rinoa-s-Toolset/blob/master/SerahToolkit_SharpGL/FF8_Core/PlayMovie.cs
- https://github.com/Sebanisu/OpenVIII_CPP_WIP/tree/master/src/open_viii/pak
BINK files
- Start with 0x42494B "BIK"
- More info: https://wiki.multimedia.cx/index.php/Bink_Container
CAM files
- Each frame is 44 bytes long.
Offset | Size | Description |
---|---|---|
0 | 3 bytes | 0x463850 "F8P" |
6 | 2 bytes (uint16) | Approx number of frames. There can be extra data. |
8 | 44 bytes * number of frames | Frame data. Each frame ends with "END" |