Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/bucanero/libun7zip

A library that provides 7-Zip (.7z) archive handling and extraction on PS3, PS4, and PS Vita
https://github.com/bucanero/libun7zip

7z 7zip compression-library extraction ps3 ps4lib un7zip

Last synced: 7 days ago
JSON representation

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

Awesome Lists containing this project

README

        

# un7zip library

This library provides 7-Zip (.7z) archive handling and extraction to the PlayStation 3 using the [PSL1GHT SDK](https://github.com/ps3dev/PSL1GHT/).

## Source Version

- 7-Zip [19.00](https://sourceforge.net/projects/sevenzip/files/7-Zip/19.00/) (2019-02-21)
- based on [AndroidUn7zip](https://github.com/hzy3774/AndroidUn7zip)

### Exports

- Extract7zFile
- Extract7zFileEx
```c
int Extract7zFile(const char *srcFile, const char *destDir);
int Extract7zFileEx(const char *srcFile, const char *destDir, callback7z_t callback, unsigned long inBufSize);
```
- Test7zFile
- Test7zFileEx
```c
int Test7zFile(const char *srcFile);
int Test7zFileEx(const char *srcFile, callback7z_t callback, unsigned long inBufSize);
```
- List7zFile
```c
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

- [7-Zip SDK](https://www.7-zip.org/sdk.html)

## Sample app

You can find a sample PSL1GHT app using the library [here](./example).

## License

`libun7zip` is released under the [Apache-2.0 License](./LICENSE).