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
andres992
Member
Member
Posts: 124
Joined: 2006-04-12, 21:26 UTC

Post by *andres992 »

I, too, think that it is good to have both plugins (7zip and Total7zip) around. I am not doing a full comparison here but just pointing out some observations as a long-time user of the older 7zip plugin.

When I installed Total7Zip just for testing, without configuring it much, I noticed that after a simple installation, the configuration dialog itself did not remember my previous archive format (i.e. after packing to .7z, it still offered me .zip packing the next time). It should be noted that when I do not open the configuration dialog, Total7zip seems to remember the previous format. But Total7zip also did not actually encrypt file names in the archive even after I checked that option in the configuration dialog.

Resolving the latter is probably just a matter of further configuration (at least I hope so) but that led me to think that the older 7zip plugin (instead of Total7zip) might still be handy for those who:

(a) do not want (or do not have the time) to go too deep with the 'manual' configuration or learning the quirks; or

(b) do not want too many options or, in other words, who just want a working 7zip solution without a fancy (or a little confusing -- this may depend on the user) configuration dialog.

As I have said, it is probably just a matter of configuration but for now, I am returning to the old 7zip plugin (7zip 0.7.5.0), and I will leave further testing and learning of Total7zip for future, when I have more time.
#68776 Personal Licence
User avatar
Total7zip
Junior Member
Junior Member
Posts: 74
Joined: 2010-12-18, 07:54 UTC

Post by *Total7zip »

andres992 wrote:When I installed Total7Zip just for testing, without configuring it much, I noticed that after a simple installation, the configuration dialog itself did not remember my previous archive format (i.e. after packing to .7z, it still offered me .zip packing the next time).
Yes it's a bug. It's fixed now. Thanks.
andres992 wrote: But Total7zip also did not actually encrypt file names in the archive even after I checked that option in the configuration dialog.
It's a misunderstanding - press Ctrl+F5, set "Encrypt" option and than you will be asked for password and other options.

Only 7z compression options are saved in current version.
If you want to create archive with password - you need to enter you password. That's it.
diceman2037
Junior Member
Junior Member
Posts: 26
Joined: 2010-07-17, 05:41 UTC

Post by *diceman2037 »

support for more than 2 threads on lzma2 would be nice.
Lyx
Junior Member
Junior Member
Posts: 7
Joined: 2011-01-21, 14:46 UTC

Post by *Lyx »

Just wanted to say that at least from my side, there is still interest in updates to this plugin, because it works for portable installations of total commander.

I.e., one thing that i do miss, is packing in the background.
User avatar
Lupus
Junior Member
Junior Member
Posts: 57
Joined: 2003-04-02, 15:10 UTC
Location: Frankfurt/M. Germany

Post by *Lupus »

Hello drac,

I wonder why you do not update the project page of this plugin at Totalcmd.net (http://www.totalcmd.net/plugring/7zip_new.html).
If necessary, you could create a new page.
Before I read this thread here, I didn't know about the new 0.7.5 release; promotion is important. :wink:

In fact, I prefere the Total7zip plugin because it is more powerful than yours.
With [Ctrl+PageDown] I can open files like .msi, .iso, .exe(NullsoftInstaller),
.chm, .deb and many more without the need of extra plugins anymore; and
thus it is "smaller" even though it is bigger in size.
And if a new version of 7-Zip is released I just need to copy the new
7z.dll to the plugins dir, no need to wait for a new version of the plugin like with yours.

These are the main differences (for me) and they are hard to beat. 8)
User avatar
dllee
Junior Member
Junior Member
Posts: 62
Joined: 2011-04-09, 12:29 UTC
Location: Taiwan
Contact:

Post by *dllee »

Chinese BIG5 translation for 7zip v0.7.5.0

Code: Select all

begin 644 chinese_big5.7z
M-WJ\KR<<``-YJ4)BY@$```````!Z`````````.QK$AP`'8@$J4GIT0"W[7"#
M-Z)\DJ7"86TB<>V`-,BNB_#\D32A%R.RI.]M.(J1_]BG3U9.\2GBI=EVA9U(
M(*H46[76/HUE-BMYI",*;BNXM^N(RL7$.-KS22LL3ZQ&)B[O:+_9T!J=$_.D
MCUAEX"?"VR-9"*MO=^*/U6_XET6ATSF33+R]U3P-)X0^/P$L_C%)\%"EIZD=
MW#=T[,<$[@RS/6B/W-*U05`$XD4LPT;]6S>YQ6G8^8`WFSAU@_H6=':L-_D[
MCBLR-(<.HOUW)"!3#Z$$M$77US?ZOT0XCS13!T!8PM23LEO)PTH"H21666(K
M\UXFG%S]YOO#H^:L_-VO0*F(]$`FES5VXABTG!Q"K(1IC!E1(MQ*9[ZF2JN6
M^"'`ZO0E,2B!#4-TCH:(J"T#B$%:@<ZVBI7<\]EI96TUR7+*N7-`EJV]K>W[
M`&6TC&>5/,Q,J.R&-:Z.V:G$L4W%W5+;01+B/NHBH;3?T7Y$RPK4_6CW@=^_
M\^B*;&N;'7I*D8#!J.]1!%HPF52$/Q>9\T5L`(J<H[Z,S'O*@9`WC7:<THKH
MQHOY-N#@Z(E.>'&[(*$B@9H&W5JCT&,AUE"`H$!O6SY=4:%7O+45@2@]88"?
MYA<DXH4>BU`9=C035R>>X$;D4"GF6P`!!`8``0F!Y@`'"P$``2,#`0$%70``
M`0`,@Q,`"`H!',\:$P``!0$1(P!C`&@`:0!N`&4`<P!E`%\`8@!I`&<`-0`N
M`&P`;@!G````$@H!`((<7(84]\L!$PH!`(875?%T]\L!%`H!`"A=8/Z7Z,L!
*%08!`"``````````
`
end
sum -r/size 35120/640
User avatar
dllee
Junior Member
Junior Member
Posts: 62
Joined: 2011-04-09, 12:29 UTC
Location: Taiwan
Contact:

7zip 0.7.6.0 released

Post by *dllee »

7zip plugins 0.7.6.0 with default settings 7zip.ini (your settings will be overwrited when auto install the plugins by TC) and 7z*.sfx
7zip plugins 0.7.6.0 source

What's new:

Code: Select all

0.7.6.0: 2011-04-13 dllee
 - New: set 7z datetime to newest file
 - New: reorder directory list (bug fixed for the dir's datetime with sub-dir)
 - Fix: overwrite "filename.ext" with "FileName.Ext" in archive
 - Fix: maximum thread count and show again translated label Dictionary size: when changing compression level or method
 - New: force to store File Modify Time to archive, and show 1980-01-01 00:00 when no Modify Time stored in archive
 - New: add  103 translation ID for None found  (for SFX combobox)
 - New: add  115 translation ID for kNumPasses:
 - New: add 2026 translation ID for set 7z datetime to newest file
 - New: add 2027 translation ID for reorder directory list
 - Fix: english.lng 100/101 solid/Non-solid to Non-solid/solid
 - New: chinese-big5 translation
I do like the TC build in feature "Set ZIP date to newest file", so I tried to add this feature to 7zip plugins, and also tried to fixed the datetime of dir with sub-dir that was described in this post
datetime of dir with sub-dirs may error in 7z plugins

and I browsed this post, and fixed some bugs...
but after I thought it is done, I find a NEW BUG the attributes of file/dir is not correct when extracting.

I have 7zip and Total7Zip installed in TC,
I like 7zip for it uses just like the TC build in ZIP function. Total7Zip will bring 7Z setting dialog when compression, it's cool, but that may let user don't know how to do, if he/she did not use 7z compress before.
I like Total7Zip for it supports multi-format.

2Total7zip: hope you fix the datetime problem of the dir. I reorder the dir fileitem when OpenArchiveW(), you can check my source :)
User avatar
dllee
Junior Member
Junior Member
Posts: 62
Joined: 2011-04-09, 12:29 UTC
Location: Taiwan
Contact:

Post by *dllee »

Test file for the BUG the attributes of file/dir is not correct when extracting

Code: Select all

begin 644 ROOT0401.7Z
M-WJ\KR<<``,AY.J27@$````````B`````````'S&H-+@`"D`(%T`*0Q&0TI(
MT"EOTW3C'7E!QD(W)GJ)_32C@WS=H<$M_`````"!,P>N#]"'PCR?/T=!!`0Q
MM\R"M/MM518F'ZW@&T]03MP!,MQ:]MA2FPW9O<L2+4_.:&>?H53/Z_J+X$49
M^[Y]FQ=,,"I+D>NF?X'VTO9$!YBI^$Z+D78/I++Z&+3;LZ9&M,MQ8E#R(8(@
MMA`@ARJ:I+8+?VFPF3*;DU6VO@A=N$KP#'_BC(X+B*SJS=54BP"^3L,<Q]ZM
M\,!5$@I>P]*3TTX#@YN,`GP^,*/PCK-#<6J%;%LY*:5,'2]TT1Q+'7>U;6YX
M`V2,[>[)2NKDZ56F9"<0PGK#QSI4^H2L:[:M^12E4:VI%TE/=`64;AQ_[/_U
M?C_W4RLJB/7'5O+/W4G=49&)]1H0K_Z/GY0]YWC[PQ,"F-@ZYJ-J8/V<W<*E
M&89CKA3@RP0=!!%K=ULU8C3UU+I((!<&*`$)@38`!PL!``$C`P$!!5T`$```
+#(3Z"@%+&BL0````
`
end
sum -r/size 28248/416
save to ROOT0401.uue and decode by TC you will get ROOT0401.7Z

7zip: will remove all attributes of the dir, and add [a] Archive to each file.
Total7zip: will remove all attributes of the dir. File attributes are correct.

extract by 7z file manager, dir & file attributes are correct.
User avatar
dllee
Junior Member
Junior Member
Posts: 62
Joined: 2011-04-09, 12:29 UTC
Location: Taiwan
Contact:

Post by *dllee »

7zip plugins 0.7.6.1 with default settings 7zip.ini (your settings will be overwrited when auto install the plugins by TC) and 7z*.sfx
7zip plugins 0.7.6.1 source

What's new:

Code: Select all

0.7.6.1: 2011-04-14 dllee
 - Fix: Attributes of file is not correct when extracting
 - New: restore File CreateTime/AccessTime for empty file when extracting
about the attributes of dir, when I debug 7zip, I found TC will skip the dir, and call ProcessFileW/ProcessFile() only for files.
so the bug of the wrong attributes of dir when extracting should be fixed by TC.

Now, 7zip have the same result as Total7zip when decompress ROOT0401.7Z

BTW, you have to check the setting
Configuration -> Copy/Delete -> [v] Copy date/time of directories
and then when you extract file via 7zip, you will have the same date/time of directory as it stored in archive file.
gnozal8
Junior Member
Junior Member
Posts: 83
Joined: 2004-01-12, 11:14 UTC
Contact:

Post by *gnozal8 »

Good to see that the development of this plugin is not dead.

Thank you !
Knorke
Junior Member
Junior Member
Posts: 2
Joined: 2011-04-15, 05:58 UTC

Post by *Knorke »

@dllee: Many many Thanks from me too for continuing the work :D
User avatar
petermad
Power Member
Power Member
Posts: 16101
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

Danish translation for v. 0.7.6.1 can be downloaded from http://madsenworld.dk/tcmd/7zip_danish_0761.7z
License #524 (1994)
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
fishbetta
Junior Member
Junior Member
Posts: 2
Joined: 2010-10-01, 13:02 UTC

Post by *fishbetta »

I like Total7zip though.

嘩,呆灣人嘛地家。
User avatar
dllee
Junior Member
Junior Member
Posts: 62
Joined: 2011-04-09, 12:29 UTC
Location: Taiwan
Contact:

Post by *dllee »

2petermad Thanks. Now, Danish translation adds to 7zip plugins 0.7.6.1 :D

2gnozal8 & Knorke I did it for myself :wink: I'm happy you like the new features :D and I just hope ghisler can fix the bug of the attribute of DIR, when extracting 7z.

2fishbetta 哈哈, 呆丸人無所不在 :lol: Total7zip is really good, 但我想要的功能, 可能還是自己加比較快 :P
User avatar
Total7zip
Junior Member
Junior Member
Posts: 74
Joined: 2010-12-18, 07:54 UTC

Post by *Total7zip »

dllee wrote:Test file for the BUG the attributes of file/dir is not correct when extracting
Total7zip: will remove all attributes of the dir. File attributes are correct.
Hi there!

Total7zip doesn't "remove all attributes of the dir" =)
When you browse archive you can see that all attributes are reported to TC.

as far as I can remember the problem with dir attributes comes from TC itself.
when TC unpacks archive it creates all directories by itself and sets wrong attributes (or doesn't set them at all).

thank you for the sources - I will take a look at them

==================
update:
I tried your new version, but it looks like it doesn't restore dir time. (or I didn't get it).
"reorder directory list" is set, I see how the plugin changes order, but when I extract from this archive I always get dirs with current time:

Code: Select all

MIME-Version: 1.0
Content-Type: application/octet-stream; name="test_dir_time.7z"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="test_dir_time.7z"

N3q8ryccAAPzN/+ENAAAAAAAAAAgAAAAAAAAAIrQYkwAAIF6lJ3yvbHzmbtoJYwZ3amMWkJC21uS
PIJhnRL9JyfdxrcrskxN1wnoYAx/wdeabV3gFwYAAQk0AAcLAQABIwMBAQVdAAABAAw3CgG/FmWX
AAA=
and one more - when you change order you don't clear time values, you change them only if they is set for new item. this can lead to bug.
Last edited by Total7zip on 2011-04-18, 10:10 UTC, edited 1 time in total.
Post Reply