Page 1 of 1

Add support for .txz archives

Posted: 2014-05-23, 01:14 UTC
by MarcinW
TXZ is similar to TGZ (TAR + GZIP), but TXZ uses TAR + LZMA. Since TC already uses LZMA, it's possible that handling .txz archives would be quite easy.

Sample archive can be downloaded here.

Posted: 2014-05-23, 07:11 UTC
by Horst.Epp
This format is already supported with existing plugins.
Total7zip for example.
I can open your example without problems.

Posted: 2014-05-23, 10:41 UTC
by MarcinW
I was almost sure about this, however all needed functionality seems to be implemented in TC already, so I wrote my suggestion.

Posted: 2014-05-23, 16:04 UTC
by Horst.Epp
MarcinW wrote:I was almost sure about this, however all needed functionality seems to be implemented in TC already, so I wrote my suggestion.
Sorry, but what is here the suggestion ?
As I told you TC can handle that format with help of existing plugins.
So nothing has to be done at all.

Posted: 2014-05-26, 13:48 UTC
by ghisler(Author)
Where can I find the specifications of TXZ? There is already a LZMA dll for ZIP, but I need to know the header format. It's also not sure whether the specific LZMA implementation is compatible or not.

Posted: 2014-05-26, 23:46 UTC
by milo1012
ghisler(Author) wrote:Where can I find the specifications of TXZ?
It seems that this is a decent documentation for xz, the tarball is the same as usual.
It looks like there is some format mess when it comes to these newer Tar-Archives,
but I think xz uses LZMA2, not the original LZMA and therefore might need additional code for that DLL.

Posted: 2014-05-28, 00:07 UTC
by MarcinW
Horst.Epp wrote:Sorry, but what is here the suggestion ?
Do you always have a bad day? The suggestion is in the topic of this thread: "Add support for .txz archives" and in my first post: "it's possible that handling .txz archives would be quite easy"...

@ghisler(Author):
Well, I have no experience with txz format and in fact I don't know anything about it. I just observed that it's becoming more popular (it seems that some new Linux distributions use it instead of tgz), so I thought that it might be useful to have it by default in TC, especially because there is a possibility, that the required decompression algorithms are in TC already.

Posted: 2014-05-31, 09:31 UTC
by Horst.Epp
MarcinW wrote:
Horst.Epp wrote:Sorry, but what is here the suggestion ?
Do you always have a bad day? The suggestion is in the topic of this thread: "Add support for .txz archives" and in my first post: "it's possible that handling .txz archives would be quite easy"...
Again, what is the suggestion if that format is already handled perfectly by a plugin.
This way I can write multiple suggestions, just to handle anything internal what is already supported by plugins.
Whats the reason for TC plugins ?
And no, I don't have bad days, its just funny to write such answers
:D