7Zip Plugin Continued ...

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
ghisler(Author)
Site Admin
Site Admin
Posts: 50824
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Maybe Explorer extensions? They are loaded on Alt+Enter, when showing the right click menu, or when using Ctrl+C Ctrl+V (copy+paste).
Author of Total Commander
https://www.ghisler.com
drac
Junior Member
Junior Member
Posts: 37
Joined: 2006-04-04, 19:50 UTC

Post by *drac »

I've made a new build.

Changes:

Code: Select all

0.7.5.0: 2010-12-16
 - Build based on 7Zip 9.20 code
 - Unicode only version
Since this is an Unicode only version I've also compressed the distribution zip file with ZIP:LZMA in order to make sure that it will be only used on Total Commander 7.50 and higher.

Installer "zip" file can be downloaded from here.
Source code can be downloaded from here.

Enjoy.
User avatar
fenix_productions
Power Member
Power Member
Posts: 1979
Joined: 2005-08-07, 13:23 UTC
Location: Poland
Contact:

Post by *fenix_productions »

@drac
drac wrote:Since this is an Unicode only version I've also compressed the distribution zip file with ZIP:LZMA in order to make sure that it will be only used on Total Commander 7.50 and higher.
Wouldn't Unicode methods support be enough to ensure TC 7.5 (and above) usage instead of some weird magic?

According to WCX reference:
Total Commander will call the Unicode functions on all NT-based systems (Windows NT, 2000, XP) if they are present. If not, or on Windows 9x/ME, Total Commander will call the Ansi functions.
I suppose you don't need ANSI calls at all.
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...

#128099
drac
Junior Member
Junior Member
Posts: 37
Joined: 2006-04-04, 19:50 UTC

Post by *drac »

fenix_productions wrote:@drac
Wouldn't Unicode methods support be enough to ensure TC 7.5 (and above) usage instead of some weird magic?

I suppose you don't need ANSI calls at all.
Without the ANSI methods TC will not load the plugin, even though it will not use those functions.

I have implemented dummy ANSI functions, the LZMA zip file ensures that older TC versions will not even install the plugin.

I must confess that I haven't looked the documentation after a minimum required TC version capability.
jjk
Member
Member
Posts: 181
Joined: 2003-07-03, 10:41 UTC

Post by *jjk »

2drac
Sometimes, when I want to uncompress a 7z archive crypted by me, I am not able to remember the password I gave it.
Could you add that :
- ask some password tip when I compress. E.g. if my password is "2512" I'd set "birthday" in the tip field because I was born on 25.12
- show that field tip filled with "birthday" when I want to uncompress. So I find at once my password, and I am alone to know it because nobody knows my birthday.

TIA
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

Hello, drac, it is great that you've continued this work. There ar some bugs/suggestions from Russian board:

1a. When user changes compression level or method in Compression group of cfg dialog, text of label 'Dictionary size:' changes from translated string to 'Dictionary size:' (e.g. when Russian language used) - only this label.

1b. Is it possible to translate string 'None found' in SFX combo box when no modules available?

2. Please return possibility to create encrypted SFX archives (that was disabled because there was no corresponding SFX modules - but currently such modules are available).

3. What about adding feature to create multi-volume archives (with and without SFX)? People say that there are SFX modules that support multi-volume archives.
User avatar
Matthias030
Senior Member
Senior Member
Posts: 423
Joined: 2007-03-04, 10:48 UTC
Location: Berlin

Post by *Matthias030 »

@drac

Great work! I was waiting for this plugin a long time. You use external 7z.dll and everyone can easily update to a newer 7zip version for himself. No longer waiting for plugin update is needed. I have tried plugin a bit and have to say it is very stable here. No bugs so far. Also good: possibilty to open all archive types which are supported by 7zip. It's not only limited to *.7z files. So I can use it for *.iso files too.

Only 1 missing point: It's not possible to create encrypted archives. Can you add this possibility later?
GoFi
Member
Member
Posts: 128
Joined: 2006-12-13, 14:28 UTC

Post by *GoFi »

Edit: I suppose texts "100=solid" and "101=Non-solid" are mixed up. Maybe "100=Non-solid" and "101=solid" is right.

German translation for 7zip v0.7.5.0 It is UUE encoded.

Code: Select all

begin 644 german.7z
M-WJ\KR<<``,B$8[0Z0$```````!6``````````\(K?L`.N3#[)]-I.#J*4O<
M'^I:X?'<[C^._]!3>T^DF('3KHM<48":K$D<X>E=07-8:U)&W+UVL"0OG%#.
M#W#UP$BEL^*;7@/_B#Y%V/M-#M6`A!B6L1KZKCNJ4/[F'5U\EW2\%_3G%,KH
M:YSH`DZCE9-@!6R6'X."B/^[Y\7\JI.91P>GYJDS-5+#T*6#/:-P"-4X;6W]
MYR*IGCSXKNM'G83]$_7A%1!T*I8TU$?8!/L-0WX$&3(:H5-+61K,9+1)P*4)
MN(=+OUO9+>II7V'YYYNSX2_J\F[UGNJ$JLO>]%'TR>^7$GSOQA<1R]42PSJ"
M'7VHC`-JOLFVC=6JUNR+8"B+TL[6_S>G/3,.0!BZHS4QNJB?H29N>9KX,+(E
MWOR:B#NB>@3LSCP`&/U&"C$=-`UJ[@BA&Z9L=M#Q1ELTUI3P3YBWRAPM)NKO
M"4S5P4F%*]`R9,.LMW.>BXTP:#P_F&.0Z!&U>WA-Z<%MA,A$E1QU`(\*EK;V
M5N9"OY19O-BGAYEHF%D:A*O]5H:354ZS?Q"4-8YO_(1(I*6GNJ669'=OQ"$G
M21MJ66HX:"/S]-3^V\&*,^F[2S5!T=/4F(XCT@=E!(\=ED'S65%&2]W]>6U@
M0M^L(\\?-G$-0FS3AR%>TTXW-H7T1:((2U@!!`8``0F!Z0`'"P$``2,#!`$%
M!@````$,@^D`"`H!9>7'ZP``!0$1%P!G`&4`<@!M`&$`;@`N`&P`;@!G````
6%`H!`+F*G*!$H,L!%08!`"``````````
`
end
sum -r/size 43468/607
Last edited by GoFi on 2010-12-20, 12:58 UTC, edited 1 time in total.
User avatar
Boofo
Power Member
Power Member
Posts: 1431
Joined: 2003-02-11, 00:29 UTC
Location: Des Moines, IA (USA)
Contact:

Post by *Boofo »

Matthias030 wrote:@drac

Great work! I was waiting for this plugin a long time. You use external 7z.dll and everyone can easily update to a newer 7zip version for himself. No longer waiting for plugin update is needed. I have tried plugin a bit and have to say it is very stable here. No bugs so far.
I don't see a 7z.dll anywhere in the plugin directory.
chmod a+x /bin/laden -- Allows anyone the permission to execute /bin/laden

How do I un-overwrite all my data?

User of Total Commander
#60471 Single user license
drac
Junior Member
Junior Member
Posts: 37
Joined: 2006-04-04, 19:50 UTC

Post by *drac »

Boofo wrote:I don't see a 7z.dll anywhere in the plugin directory.
I think that Matthias030 has mistaken 7zip plugin with Total7Zip plugin which uses 7z.dll.
drac
Junior Member
Junior Member
Posts: 37
Joined: 2006-04-04, 19:50 UTC

Post by *drac »

jjk wrote:2drac
Sometimes, when I want to uncompress a 7z archive crypted by me, I am not able to remember the password I gave it.
Could you add that :
- ask some password tip when I compress. E.g. if my password is "2512" I'd set "birthday" in the tip field because I was born on 25.12
- show that field tip filled with "birthday" when I want to uncompress. So I find at once my password, and I am alone to know it because nobody knows my birthday.
TIA
I think it's possible to add a metadata field into 7z archives.

I plan to add the 7zip plugin code to code.google.com in order to have a bug/feature tracker, source code control etc.

I hope I can start digging into the source code at the beginning of next year.
drac
Junior Member
Junior Member
Posts: 37
Joined: 2006-04-04, 19:50 UTC

Post by *drac »

MVV wrote:Hello, drac, it is great that you've continued this work. There ar some bugs/suggestions from Russian board:

1a. When user changes compression level or method in Compression group of cfg dialog, text of label 'Dictionary size:' changes from translated string to 'Dictionary size:' (e.g. when Russian language used) - only this label.

1b. Is it possible to translate string 'None found' in SFX combo box when no modules available?

2. Please return possibility to create encrypted SFX archives (that was disabled because there was no corresponding SFX modules - but currently such modules are available).

3. What about adding feature to create multi-volume archives (with and without SFX)? People say that there are SFX modules that support multi-volume archives.
Hi MVV,

As I've said in a previous post, I'll have a more closer look at the source code next year.

I'll keep you guys posted!
User avatar
Boofo
Power Member
Power Member
Posts: 1431
Joined: 2003-02-11, 00:29 UTC
Location: Des Moines, IA (USA)
Contact:

Post by *Boofo »

drac wrote:
Boofo wrote:I don't see a 7z.dll anywhere in the plugin directory.
I think that Matthias030 has mistaken 7zip plugin with Total7Zip plugin which uses 7z.dll.
What, if any, are the main differences between the 2? I have used this plugin (yours) for a while now.
chmod a+x /bin/laden -- Allows anyone the permission to execute /bin/laden

How do I un-overwrite all my data?

User of Total Commander
#60471 Single user license
drac
Junior Member
Junior Member
Posts: 37
Joined: 2006-04-04, 19:50 UTC

Post by *drac »

Boofo wrote:What, if any, are the main differences between the 2? I have used this plugin (yours) for a while now.
Total7zip uses 7z.dll for opening archives and 7zG.exe to create/modify archives and it supports all the archive types 7-zip program supports (7z, XZ, BZIP2, GZIP, TAR, ZIP, WIM ARJ, CAB, CHM, CPIO, CramFS, DEB, DMG, FAT, HFS, ISO, LZH, LZMA, MBR, MSI, NSIS, NTFS, RAR, RPM, SquashFS, UDF, VHD, WIM, XAR, Z).

7zip plugin uses the 7-zip source code and supports only 7z archives and it's self sufficient, no external components needed.
User avatar
Boofo
Power Member
Power Member
Posts: 1431
Joined: 2003-02-11, 00:29 UTC
Location: Des Moines, IA (USA)
Contact:

Post by *Boofo »

drac wrote:
Boofo wrote:What, if any, are the main differences between the 2? I have used this plugin (yours) for a while now.
Total7zip uses 7z.dll for opening archives and 7zG.exe to create/modify archives and it supports all the archive types 7-zip program supports (7z, XZ, BZIP2, GZIP, TAR, ZIP, WIM ARJ, CAB, CHM, CPIO, CramFS, DEB, DMG, FAT, HFS, ISO, LZH, LZMA, MBR, MSI, NSIS, NTFS, RAR, RPM, SquashFS, UDF, VHD, WIM, XAR, Z).

7zip plugin uses the 7-zip source code and supports only 7z archives and it's self sufficient, no external components needed.
But yours handles SFX, too, doesn't it?
chmod a+x /bin/laden -- Allows anyone the permission to execute /bin/laden

How do I un-overwrite all my data?

User of Total Commander
#60471 Single user license
Post Reply