Coder Social home page Coder Social logo

resistiv / vibripper Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 1.0 30 KB

A utility to unpack and repack Vib-Ribbon's PAK file format.

License: GNU General Public License v3.0

C++ 97.76% Makefile 2.24%
ps1 extractor pak psx repacker unpacker vib-ribbon

vibripper's Introduction

VibRipper

VibRipper is a C++-based CLI program for unpacking and repacking Vib-Ribbon's PAK file format. The focus of this program was to create an accurate yet flexible PAK handler for future Vib-Ribbon modding.

Usage

VibRipper { u <pakfile> [outdir] | r <indir> [tocfile] }

Passing u allows a user to unpack a PAK file. Optionally, a user can define an output directory of their choosing. If not, the program will create its own within the same directory as the PAK file with _out appended. In either case, the program will also create a _TOC.txt file within the same directory as the PAK file, which describes the original table of contents structure of the PAK file, which can later be used for accurate repacking.

Passing r allows a user to repack a PAK file from a directory. Optionally, a user can define a TOC file (_TOC.txt file) to repack the directory with, maintaining the original PAK structure and PAK file name. If not provided with a TOC file, the program will repack the directory based on your OS's filesystem rules into its parent directory with .PAK appended.

Passing h displays a basic help message for the user.

Format

A format description can be found on KNFE's wiki.

Remarks

I created a similar program to this one some months ago at the request of a Twitter user who reached out to me. However, there was the particular problem that some PAK files don't follow a constant ruleset when sorting their file names in the table of contents. This caused inconsistent and incompatible results. So, I created the basic text TOC file to preserve the order of contents when repacking. While this solution is a bit clunky, I found it was most effective instead of trying to hardcode bizarre rules for certain directories.

That aside, I decided to leave the raw folder repacking as part of the program in the rare case that the community deems it is viable for some scenarios.

License

This project is licensed under the GNU GPLv3.

vibripper's People

Contributors

resistiv avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

bawang27

vibripper's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.