Difference between revisions of "FF8/FileFormat PAK"
< FF8
Jump to navigation
Jump to search
(added note about which version of the game uses PAK files.) |
(→PAK File Structure: added a new table laying out the order of the data. and added a new link) |
||
Line 2: | Line 2: | ||
=PAK File Structure= | =PAK File Structure= | ||
− | The PAK file has no header. Each movie usually contains two BINK videos | + | 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. |
− | + | {| class="wikitable" | |
+ | |- | ||
+ | ! 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. | Existing projects you can use to extract the PAK files. | ||
* https://github.com/MaKiPL/OpenVIII-monogame/tree/master/PAK%20Extractor | * 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/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== | ==BINK files== | ||
Line 14: | Line 24: | ||
==CAM files== | ==CAM files== | ||
− | + | * Each frame is 44 bytes long. | |
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
Line 21: | Line 31: | ||
| 0 || 3 bytes || 0x463850 "F8P" | | 0 || 3 bytes || 0x463850 "F8P" | ||
|- | |- | ||
− | | 6 || 2 bytes (uint16) || Approx number of frames can be extra | + | | 6 || 2 bytes (uint16) || Approx number of frames. There can be extra data. |
+ | |- | ||
+ | | 8 || 44 bytes * number of frames || Frame data | ||
|} | |} |
Revision as of 03:20, 1 November 2020
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 |