Add support for .txz archives
Moderators: Hacker, petermad, Stefan2, white
Add support for .txz archives
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.
Sample archive can be downloaded here.
- ghisler(Author)
- Site Admin
- Posts: 50873
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
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.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
It seems that this is a decent documentation for xz, the tarball is the same as usual.ghisler(Author) wrote:Where can I find the specifications of TXZ?
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.
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"...Horst.Epp wrote:Sorry, but what is here the suggestion ?
@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.
Again, what is the suggestion if that format is already handled perfectly by a plugin.MarcinW wrote: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"...Horst.Epp wrote:Sorry, but what is here the suggestion ?
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
