Libun7zip
A library that provides 7-Zip (.7z) archive handling and extraction on PS3, PS4, and PS Vita
Install / Use
/learn @bucanero/Libun7zipREADME
un7zip library
This library provides 7-Zip (.7z) archive handling and extraction to the PlayStation 3 using the PSL1GHT SDK.
Source Version
- 7-Zip 19.00 (2019-02-21)
- based on AndroidUn7zip
Exports
- Extract7zFile
- un7z_ExtractArchive
- un7z_ExtractAsset
int Extract7zFile(const char *srcFile, const char *destDir);
int un7z_ExtractArchive(const char *srcFile, const char *destDir, callback7z_t callback, unsigned long inBufSize);
int un7z_ExtractAsset(const void *buffer, unsigned long size, const char *destDir, callback7z_t callback, unsigned long inBufSize);
- Test7zFile
- un7z_TestArchive
- un7z_TestAsset
int Test7zFile(const char *srcFile);
int un7z_TestArchive(const char *srcFile, callback7z_t callback, unsigned long inBufSize);
int un7z_TestAsset(const void *buffer, unsigned long size, callback7z_t callback, unsigned long inBufSize);
- un7z_ListArchive
- un7z_ListAsset
int un7z_ListArchive(const char *srcFile, callback7z_t callback);
int un7z_ListAsset(const void *buffer, unsigned long size, 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.
