PAK - Vib-Ribbon Archive

Vib-Ribbon's PAK format is the primary data storage structure in the game. Compared to other propietary formats of archival from other games, this one is relatively simple. Several of them are laid throughout the game files. Unlike the usual ZIP, 7Z, or GZIP file, the contents are stored uncompressed, akin to a TAR archive, little endian. Of course, the files inside are indexed with a basic table of contents.

File Makeup

Header File Offset Table File Name File Length File Data

(The last three are run through for each file that exists in the archive.)

The short rundown of what each of the parts of the file do.

PAK Implementations

FILES.PAK and xx_FILES.PAK

The PAK files for vib-ribbon are placed under GAME\, TITLE\, and KIOSK\, which are then used by their respective executable, and are unpacked during gameplay.

In the Japanese game, all PAK files are named FILES.PAK, which cannot be said for the European version, because of the presence of multiple languages. Each language has a prefixed number at the beginning of its filename, and is written in base-16, double for each language. Some of the files contained also have this prefix, depending on whether there is translated text or not.

TITLE\FILES.PAK maintains the same name in the Japanese and European releases of vib-ribbon. Its translations are also included in the same directory as the file that is translated, because MAIN_T is able to change the language on the fly, whereas the setting is only carried over to MAIN_G and MAIN_K.