Code Monkey home page Code Monkey logo

psarcinterface's Introduction

PSArcInterface

PSArcInterface is a library for interfacing PlayStation archive (PSArc) files. These archives were commonly used by PS3 games and sometimes by PS Vita and PS4 games. This project contains a C++20 library and a commandline executable.

Confirmed supported games

Archives from the following games have been tested:

  • Ratchet and Clank 1 (NPEA00385) - Unpacking
  • Ratchet and Clank 2 (NPEA00386) - Unpacking
  • Ratchet and Clank 3 (NPEA00387) - Unpacking
  • Ratchet and Clank: A Crack in Time (BCES00511) - Unpacking

PSArc-cl

PSArc-cl is a commandline executable that allows packing and unpacking of Playstation archive files using LibPSArc. Builds are available for download for Windows and Linux platforms:

Usage

To decompress an archive, put the PSArc-cl executable into the same directory as the archive and start PSArc-cl. The content of the archive will then automatically be extracted.

Alternatively, PSArc-cl can be used through a commandline:

USAGE: psarc-cl.exe mode input-path output-path

MODE:
  pack      Pack all files in a directory into a PSArc file.
  unpack    Unpack all files in a PSArc file into a directory.

LibPSArc

LibPSArc is a C++20 library that implements an interface to a Playstation archive file. Currently, the API is not stable and may change over time. LibPSArc installs as a CMake package that contains the following components.

Component name Description
Headers The LibPSArc headers, available through the LibPSArc::Headers target.
Static The LibPSArc static library, available through the LibPSArc::Static target.
Shared The LibPSArc shared library, available through the LibPSArc::Shared target.

Build and Install

mkdir build
cd build
cmake ../ -G Ninja -DCMAKE_INSTALL_PREFIX={Installation directory}
ninja install

psarcinterface's People

Contributors

milchratchet avatar

Stargazers

Ada avatar  avatar

Watchers

 avatar

psarcinterface's Issues

error handling

Currently, there is no proper error handling, there are some really awful std::cout which should definitely all be removed.

zlib support

Add support for zlib compression and decompression.

C API

For better compatibility with other projects, especially non C++ ones, a C API would be great.

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.