This library provides .tar, .tar.gz (GZip), and .tar.bz2 (BZip2) archive handling, creation, and extraction to the PlayStation 3 using the PSL1GHT SDK.
- Extract contents from
.tar,.tar.gz, and.tar.bz2files - Create
.tar,.tar.gz, and.tar.bz2archives
- libbzip2 1.0.6
- based on untar.c
- based on tarball.cpp
- tar(): creates a
.taruncompressed archive
int tar(const char* dstFile, const char* srcPath);
int tarEx(const char* dstFile, const char* srcPath, tar_callback_t callback);- tar_gz(): creates a
.tar.gz(GZip) compressed archive
int tar_gz(const char* dstFile, const char* srcPath);
int tarEx_gz(const char* dstFile, const char* srcPath, tar_callback_t callback);- tar_bz2(): creates a
.tar.bz2(BZip2) compressed archive
int tar_bz2(const char* dstFile, const char* srcPath);
int tarEx_bz2(const char* dstFile, const char* srcPath, tar_callback_t callback);- untar(): extracts contents from a
.taruncompressed archive
int untar(const char* srcFile, const char* dstPath);
int untarEx(const char* srcFile, const char* dstPath, tar_callback_t callback);- untar_gz(): extracts contents from a
.tar.gz(GZip) compressed archive
int untar_gz(const char* srcFile, const char* dstPath);
int untarEx_gz(const char* srcFile, const char* dstPath, tar_callback_t callback);- untar_bz2(): extracts contents from a
.tar.bz2(BZip2) compressed archive
int untar_bz2(const char* srcFile, const char* dstPath);
int untarEx_bz2(const char* srcFile, const char* dstPath, tar_callback_t callback);Build the library with:
make
Install the library to your PSL1GHT setup with:
make install
You can find a sample PSL1GHT app using the library here.
libuntar is released under the MIT License.