ann: targzbz2 v0.01 release

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
ctiberg
Member
Member
Posts: 194
Joined: 2003-10-24, 14:10 UTC
Location: Kristianstad, Sweden

ann: targzbz2 v0.01 release

Post by *ctiberg »

Get it here: http://ctiberg.alturl.com/targzbz2001.zip

This plugin requires Total Commander v5.50 or later.

Having an extra step to go through before getting at the contents of a .tar.gz or .tar.bz2 archived file was what prompted me to create this plugin. It's a readonly plugin for tar archives compressed with either gzip or bz2. My easoning for not doing a full compression plugin with write support is that Total Commander is already able to write .tar.gz files just fine, which is enough for my needs.

The source code requires Abbrevia from TurboPower Software, so be sure to grab that if you want to recompile the sources.

This is released 'as-is', without any kind of warranty.[/b]
Best regards,
Christian Tiberg
User avatar
AlleyKat
Senior Member
Senior Member
Posts: 203
Joined: 2003-06-15, 10:51 UTC
Location: for personal info, see wiki
Contact:

Post by *AlleyKat »

Great idea. Just need to figure out how to run with both this and the other .bz2 plugin for the rare occation when I need to pack something like that.

However, I'm having a little problem with one err type, I guess, of files. Example files:
http://prdownloads.sourceforge.net/phpbb/lang_danish.tar.gz?download
http://prdownloads.sourceforge.net/phpbb/subSilver_danish.tar.gz?download

They seemingly open up fine, but the files within are all folders.
May be a file problem however, I've had similar reports from a FreeBSD user. He could open some of the files, but not all. Can't be reproduced with the other plugin.
User avatar
ctiberg
Member
Member
Posts: 194
Joined: 2003-10-24, 14:10 UTC
Location: Kristianstad, Sweden

Post by *ctiberg »

Confirmed. I'm looking into it...
Best regards,
Christian Tiberg
User avatar
AlleyKat
Senior Member
Senior Member
Posts: 203
Joined: 2003-06-15, 10:51 UTC
Location: for personal info, see wiki
Contact:

Post by *AlleyKat »

If it's any help, these files seems to be made by PHP - I have phpMyAdmins that produce such files on a Win testserver with PHP4.3.9 and on a Fedora C2 productionserver with PHP4.3.10. To the best of my knowledge both servers use the PHP native zip (and bz2) extension(s) - I'll try an update, could easily be a bug in the module I guess.

[edit] Followup: After having installed PHP 4.4, it's even worse. bz2 files cannot be opened (error in packed file) and gz crashes TC (error EDEFADE, continue execution?). After such an error the file icon suggests that the archive is open, and the file is locked (until restart of TC). The bz2 plugin can open the .bz2 files.[/edit]

I've had to uninstall it for now, but f I can be of any assistance just give the word. I still love the idea. :)
Translate your favorite Mozilla Extension ~ Your Language Is Important Too.
#tcmd on irc.freenode.net - the place to idle
User avatar
ctiberg
Member
Member
Posts: 194
Joined: 2003-10-24, 14:10 UTC
Location: Kristianstad, Sweden

Post by *ctiberg »

v0.02 has now been released. Get it here: http://www.totalcmd.net/files/targzbz2002.zip

It turns out that my archive routines gave me the UNIX file attributes, and that's kinda wrong :) I now convert them to a regular DOS/Win attribute, and files that showed all dirs before now show up correctly.

I haven't been able to see any files that crash TC though, so I'd be happy to get a link to something!
Best regards,
Christian Tiberg
Post Reply