Skip to content
This repository has been archived by the owner on Sep 15, 2022. It is now read-only.

Latest commit

 

History

History
30 lines (26 loc) · 1.39 KB

README.md

File metadata and controls

30 lines (26 loc) · 1.39 KB

This tool is outdated!

Please use VibRipper or KNFE instead!

Vib-Ribbon PAK Extractor

A simple command-line application for extracting files that are contained in PAK (.PAK) files found within the PS1 title Vib-Ribbon / ビブリボン. This tool works with both the Japanese & European versions of the game, and is untested on the PSN version. This project is intended as a preliminary dive into reverse engineering binary file formats and using the resulting information to create a tangible product, and is to be presented as part of a senior project.

PAK Format

PAK files store a set number of files that are utilized within the game in an uncompressed format. The file layout is as follows:

// Table of Contents
    uint32 {4}          File count
    // For each file
        uint32 {4}      File index

// File Body
    // For each file
        char {x}        Variable-length, null-terminated file name (padded to nearest 4 bytes)
        uint32 {4}      File length
        byte {x}        File data

Additionally, the file names include nested directories, which this program handles & replicates natively.

License

This software and source code are offered under the MIT License. For more information, click here.