lzma

Free compression library for C# which supports 7zip (LZMA)

I have a programm (written in C#) which reads/writes it's data direct (direct file access without server) to firebird database files. For a better exchange I want to (un)compress them on import/export for a better exchange over the internet without the need of an external programm to (un)compress them. I know #ziplib which supports Zip,...

Reverse Engineering: How do I identify an unknown compression method?

Hi, I'm with a group of modders attempting to reverse engineer and mod a Blu-Ray player. We're stuck because the firmware code seems to be compressed, and the decompression code is nowhere to be found. Presumably, the decompression is handled by hardware. My question is, with only the the compressed output, how do we determine what typ...

LZMA SDK Progress

Hi, In my application, I'm compressing ~400Mb of data with LZMA SDK. Naturally, this takes some time. Even after massive Googling, I wasn't able to find any information how to get live progress information of the compress-process. Is this done with some callback function or what? Thanks in advance, nhaa123 ...

Can you help with creating a zip archive with the LZMA (7zip) SDK?

I am trying to use the LZMA SDK to create a zip archive (either .zip or .7z format). I've downloaded and built the SDK and I just want to use the dll exports to compress or decompress a few files. When I use the LzamCompress method, it returns 0 (SZ_OK) as if it worked correctly. However, after I write the buffer to file and try to open ...

How to get the uncompressed size of an LZMA2 file (.xz / liblzma)

Hi, I'm looking for a way to get the uncompressed stream size of an LZMA2 / .xz file compressed with the xz utility. I'm using liblzma from Windows/Linux for this task, so I guess I'm looking for some C/C++ API in liblzma that will do the trick. ...

Pipeling compression and ftp transfer

I am writing a utility that will zip a file (or set of files) using the LZMA sdk then send the file off to a ftp server. Usually the speed of the compression is faster than the speed of the ftp connection. What I would like to do is instead of compressing the file, waiting for it to finish, then starting the upload I would like to compre...

Compiling/Debugging LZMA

Hello everyone. I need to compile the C++ implementation of LZMA (7Z). Does anybody know how to do that? where should I download it from? Thanks so much in advance. ...

Using LZMA SDK in C++

I am trying to use LZMA SDK to compress a file in my program. I have download the SDK but I don't know how to use it. Can anyone tell me what steps I need to take to make this work? Any help would be highly appreciated I am almost a newbie to C and C++ world ...

Listing the contents of a LZMA compressed file?

Is it possible to list the contents of a LZMA file (.7zip) without uncompressing the whole file? Also, can I extract a single file from the LZMA file? My problem: I have a 30GB .7z file that uncompresses to >5TB. I would like to manipulate the original .7z file without needing to do a full uncompress. ...

How do I use the 7-zip LZMA SDK 9.x to self-extract?

I am writing a SFX for an installer. I have a number of good reasons for doing this, primarily: The installer is actually a large Python program which uses plugins. Using py2exe or pyinstaller makes doing plugins annoyingly complicated. I want to be able to pass command-line options directly to the Python installer script, as if it ...

How does the LZMA compression method work?

I need to know details about LZMA compression algorithm. I know its general concept, but I need some examples explaining it in detail. Can anybody please help me to get more information? Thank you. ...

LZMA compression settings details

Hi everyone, I really need to know what each lzma parameter (mf, fb, lp, ...) means. I could not find any good documentation in the internet. I need details of this algorithm. the most detailed one is: http://www.bugaco.com/7zip/MANUAL/switches/method.htm I would appreciate any help. Best wishes, Shadi. ...

How to pass password to decode LZMA (7zip) encrypted archive in C / Objective-C ?

Does anyone know how to pass password to decode function in LZMA SDK? ...

create a lzma file in python

i need to create a lzma file with the existing .tar file and another metadata file to further create a zip file. ...

how to create a lzma file in python

how to create a lzma file in python and add files ...

ZIPX Compression Method 2048

Hi, I have a zipx file that is using compression method 2048. I know that the ZIPX format uses one of four compression methods (LZMA, BZIP2, PPMd, WavPack). The compression method number associated with each of these methods is: LZMA (14) BZIP2 (12) PPMd (98) WavPack (97) Does someone understand what compression method 2048 stand...

Decompress a 7zip archive with multiple files & directories in Java

I want to decompress a 7zip/lzma archive with multiple files & directories in Java. I tried to use the official 7zip SDK, but I failed, as my programming skills are not that advanced for this subject. However I fonud some libraries which make the support in Java easier, speaking of LzmaOutputStream/LzmaInputStream - However I don't know ...

Trying to compile LzmaUtil.c from LZMA SDK

I wish to use LZMA natively in my own C util. I've downloaded LZMA SDK from http://www.7-zip.org/sdk.html (version 9.12 beta) - but I simply fail to compile their LzmaUtil. This is what I've tried, using MinGW: gcc -c -O2 -Wall -D_7ZIP_ST LzmaUtil.c ../../Alloc.c ../../LzFind.c ../../LzmaDec.c ../../LzmaEnc.c ../../7zFile.c ../../7zStr...

Using LZMA SDK (7zip) in C#

Can any1 tell me how to use LZMA SDK (7zip) in C#? ...