/libun7zip

A library that provides 7-Zip (.7z) archive handling and extraction on PS3, PS4, and PS Vita

Primary LanguageCApache License 2.0Apache-2.0

un7zip library

This library provides 7-Zip (.7z) archive handling and extraction to the PlayStation 3 using the PSL1GHT SDK.

Source Version

Exports

  • Extract7zFile
  • Extract7zFileEx
int Extract7zFile(const char *srcFile, const char *destDir);
int Extract7zFileEx(const char *srcFile, const char *destDir, callback7z_t callback, unsigned long inBufSize);
  • Test7zFile
  • Test7zFileEx
int Test7zFile(const char *srcFile); 
int Test7zFileEx(const char *srcFile, callback7z_t callback, unsigned long inBufSize);
  • List7zFile
int List7zFile(const char *srcFile, callback7z_t callback);

Build/Install

Build the library with:

make

Install the library to your PSL1GHT setup with:

make install

Documentation

Sample app

You can find a sample PSL1GHT app using the library here.

License

libun7zip is released under the Apache-2.0 License.