7-zip with multiarc problems

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

Moderators: white, Hacker, petermad, Stefan2

Post Reply
bigtimefan
Junior Member
Junior Member
Posts: 15
Joined: 2004-05-03, 22:18 UTC

7-zip with multiarc problems

Post by *bigtimefan »

hi there... long-time lurker, first-time poster, best program in the world. :D

i love the compression 7-zip has, so i've tried to set it up with multiarc. so far it has never worked for me even once. i've searched the forums and found a few multiarc.ini configs, but i always get the exact same error...

"Executed command ' c:\program files\7-zip\7za.exe a -y -r0 -mx \"c:\test2\testfile.7z\" @e\tmp\$mltwcx\lst8375.TMP' returned errorlevel 2, which is higher than configured as normal for this command. Probably error occure. Check your configuration please..."

my multiarc.ini section looks thusly:

[7Z]
ID=37 7A BC AF 27 1C
IDPos=0,41102,41118,41630,42126,42142,42654,68608,69120,70144,
70656,71680,72192,74752,74752,75264,87040,88576,89600,90624,
92672,121344,124416,124928,128000,130560,130048,131072,133120,
150016,153600,155136,154112,152064,152576,150528,153088,153600,
155136,157696,158208,159744,163328,164864,165376,176128
Extension=7z
Archiver="c:\Program Files\7-Zip\7za.exe"
List="%P -r0 l %AQA"
Start="^-------------------"
End="^-------------------"
Format0="yyyy tt dd hh mm ss aaaaa zzzzzzzzzzzz pppppppppppp nnnnnnnnnn
nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn
nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn
nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn
nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn
nnnnnnnnnnnnnnnnnn"
Extract="%P e -r0 -y{ %S} %AQA @%LQ"
ExtractWithPath="%P x -r0 -y{ %S} %AQA @%LQ"
Test="%P t -r0 -y{ %S} %AQA"
Delete="%P d -y -r0{ %S} %AQA @%LQ"
Add="%P a -y -r0 -mx{ %S} %AQA @%LQ"
Description="7-Zip 3.13"
IgnoreErrors=0
Debug=0
UnixPath=0
SkipDirsInFileList=0
SkipEmptyNames=1
BatchUnpack=1
SearchForUglyDirs=0

Most of the posts on this topic seem to point to downloading a file "7z.ha" but i haven't seen anything telling me what that file is or what one should do with it (i've uudecoded it etc; now there it sits...). if i type the compression reference in directly to the command line, i get a "file not found" error.

it sure feels like a problem that could be solved by changing a single misconfigured switch. i see that other people have posted about the exact same error message and have apparently found an answer. if anyone could just connect the dots for me on how exactly they got to that answer, i'd be forever grateful! :oops:

thank u so much to anyone that can help!
Last edited by bigtimefan on 2004-05-05, 03:15 UTC, edited 1 time in total.
User avatar
Maxwish
Senior Member
Senior Member
Posts: 370
Joined: 2003-02-05, 19:13 UTC
Location: .NL

Re: 7-zip with multiarc problems

Post by *Maxwish »

bigtimefan wrote:c:\program files\7-zip\7za.exe a -y -r0 -mx "c:\test2\testfile.7z" @e\tmp\$mltwcx\lst8375.TMP
this doesn't look right: it should be something like @e:\tmp\

try this 7zip addon. It's a slightly modified version of Black Dog's 7zip addon (posted many times on this forum and also in '7zip.Ha')

Code: Select all

**EDITED**
see link in Black Dog's posting

;
make sure you edit the archive path: Archiver=T:\wcx_multiarc\7zip\7za.exe to your own
Last edited by Maxwish on 2004-05-04, 20:51 UTC, edited 2 times in total.
...BRB...
User avatar
Maxwish
Senior Member
Senior Member
Posts: 370
Joined: 2003-02-05, 19:13 UTC
Location: .NL

Post by *Maxwish »

Another mistake would be that you haven't turned the %S parameter handling on in the Multiarc configuration for 7-zip files.

in TC:
select file to pack (ALT-F5), then in dialogue select OTHER:7z and then press CONFIG

in the multiarc Config:
select TYPE: 7z and check %S PARAMETER HANDLING and press OK

back in TC PACK menu, now press OK to test
...BRB...
bigtimefan
Junior Member
Junior Member
Posts: 15
Joined: 2004-05-03, 22:18 UTC

still no go

Post by *bigtimefan »

wow. first things first: also a worshipper of maxwish :D can't wait till you return!

you were right in many places: @e:\tmp\ is right, and that's what i have, i just typed it out wrong. i also didn't have the %S parameter passing turned on. i've corrected that now and i'm using your multiarc.ini config. same problem; same error. the one difference: when i choose the -mx=0 or -mx=1 from the pull-down box, it'll work. but i can't use -mx=5 (which i think is the default compression?). any parameter but -mx={0 or 1} gives me the same error again. i also can't compress more than one file at a time; that can't be right, can it?
Last edited by bigtimefan on 2004-05-05, 03:30 UTC, edited 1 time in total.
User avatar
Black Dog
Power Member
Power Member
Posts: 1024
Joined: 2003-02-05, 22:17 UTC
Location: Odessa
Contact:

Post by *Black Dog »

[face=courier]2bigtimefan&Maxwish

Sorry guys, but the way you posted that configuration files made this thread unreadable. Don't you mind to edit your posts by converting plain text to encoded one (UUE or MIME)? In that case I'll surely read them :).
BTW Maxwish, this is direct link to the original configuration.[/face]
Last edited by Black Dog on 2004-10-10, 19:31 UTC, edited 1 time in total.
User avatar
Maxwish
Senior Member
Senior Member
Posts: 370
Joined: 2003-02-05, 19:13 UTC
Location: .NL

Post by *Maxwish »

2 Black Dog
Edited.
With my screen resolution, it wasn't a real problem, but I can understand it's annoying.

2bigtimefan
When using Black Dog's Addon I only have trouble with 1 option:
-m0=LZMA:a=2:d=256m:mf=pat4h:fb=255
gives error message: I think it creates a too long path to parse.


Are you using the last multArc v1.1.2?

NOTE:
1. (mhe=on -p) causes TC to freeze unless you add a password behind the p: -mhe=on -pPASSWORD
2. if you use the Self-extracting option, you of course also need 7zC.sfx in the directory you have 7za.exe
...BRB...
bigtimefan
Junior Member
Junior Member
Posts: 15
Joined: 2004-05-03, 22:18 UTC

sorta maybe looking better...

Post by *bigtimefan »

sorry blackdog... that original post was ugly, hopefully my edit will have things wrapping now :oops:

i've started to understand the 7-zip switches and how things are being passed around and found that when i pull out that %S parameter altogether that things magically start to work. my add command (and all the others) now looks very simple like this:

Add=%P a -y -r0 %AQA @%LQ

the compression is good and it'll compress multiple files. no matter what parameters are sent through the %S, using it seems to make it not work :cry:

so now i guess i'm just not sure what i'm losing out on using such a basic set of switches while everyone else has a two-line command line...?

in either event, i really appreciate people in the forum having a look and walking me through this :D
User avatar
deus-ex
Power Member
Power Member
Posts: 969
Joined: 2003-02-10, 17:45 UTC

Post by *deus-ex »

Updated IDPos string for 7-Zip which adds support for latest released v4.x sfx-installer and sfx-modules (compressed and uncompressed). Removed redundant entrys.

Code: Select all

IDPos=0, 41102, 41118, 41630, 42126, 42142, 42654, 45720, 68608, 69120, 70144, 70656, 71680, 72192, 74752, 75264, 75776, 76288, 87040, 88576, 89600, 90624, 92672, 100352, 100504, 121344, 124416, 124928, 128000, 130048, 130560, 131072, 133120, 134656, 150016, 150528, 152064, 152576, 153088, 153600, 154112, 155136, 157696, 158208, 159744, 163328, 164864, 165376, 169984, 174592, 175104, 176128
Simply copy/paste into 7-Zip section of your existing "multiarc.ini".
24.10.2004: Updated string to support latest v4.10b sfx-modules.

deus-ex
Last edited by deus-ex on 2004-10-24, 16:53 UTC, edited 2 times in total.
User avatar
Strogg
Junior Member
Junior Member
Posts: 89
Joined: 2003-08-24, 17:16 UTC
Location: Georgia

Post by *Strogg »

Unfortunately current 7-zip addon settings, even with updated ID Pos string doesn't allow to access sfx archives created by 7-zip 4.09 b.
User avatar
deus-ex
Power Member
Power Member
Posts: 969
Joined: 2003-02-10, 17:45 UTC

Post by *deus-ex »

Updated IDPos string to support sfx-modules, too. (check my previous post)
Posting this redundant message to update the thread date.

deus-ex
User avatar
Strogg
Junior Member
Junior Member
Posts: 89
Joined: 2003-08-24, 17:16 UTC
Location: Georgia

Post by *Strogg »

2deus-ex
Updated IDPos string to support sfx-modules, too.
It is obvious. If updated IDPos string supports new 7-zip installer it should have support sfx-modules too. But it doesn't! I have new 7-zip 4.09 beta installed. OS is win98se.
User avatar
deus-ex
Power Member
Power Member
Posts: 969
Joined: 2003-02-10, 17:45 UTC

Post by *deus-ex »

Just for you i installed the whole 7-Zip Filemanager crap to test sfx-module creation both with the manager (unhandy) and with my own batchroutines utilizing the console version.
All works as expected. I'm using WinXP here but that shouldn't make a difference for multiarc, now should it?

Ok, for the heck of it i'll post excerpts of my configuration. I hope you can figure something out:
(For each example copy/paste Codebox content into new file <anyname>.uue and decode with TC.)

Multiarc.ini

Code: Select all

begin 644 Multiarc.ini
M6S=Z70T*240],S<@-T$@0D,@048-"DE$4&]S/3`L(#0Q,3`R+"`T,3$Q."P@
M-#$V,S`L(#0R,3(V+"`T,C$T,BP@-#(V-30L(#0U-S(P+"`V.#8P."P@-CDQ
M,C`L(#<P,30T+"`W,#8U-BP@-S$V.#`L(#<R,3DR+"`W-#<U,BP@-S4R-C0L
M(#<V,C@X+"`X-S`T,"P@.#@U-S8L(#@Y-C`P+"`Y,#8R-"P@.3(V-S(L(#$P
M,#,U,BP@,3`P-3`T+"`Q,C$S-#0L(#$R-#0Q-BP@,3(T.3(X+"`Q,C@P,#`L
M(#$S,#`T."P@,3,P-38P+"`Q,S$P-S(L(#$S,S$R,"P@,3,T-C4V+"`Q-3`P
M,38L(#$U,#4R."P@,34R,#8T+"`Q-3(U-S8L(#$U,S`X."P@,34S-C`P+"`Q
M-30Q,3(L(#$U-3$S-BP@,34W-CDV+"`Q-3@R,#@L(#$U.3<T-"P@,38S,S(X
M+"`Q-C0X-C0L(#$V-3,W-BP@,38Y.3@T+"`Q-S4Q,#0L(#$W-C$R.`T*17AT
M96YS:6]N/3=Z#0I!<F-H:79E<CUD.EQP<F]G<F%M;65<=&]T86QC;61<=71I
M;%PW>F$-"D)A=&-H56YP86-K/3$-"E-T87)T/2)>+2TB#0I%;F0](EXM+2(-
M"D9O<FUA=#`](GEY>7D@='0@9&0@:&@@;6T@<W,@86%A86$@>GIZ>GIZ>GIZ
M>GIZ('!P<'!P<'!P<'!P<"`@;FYN;FYN;FYN;FYN;FYN;FYN;FYN;FYN;FYN
M;FYN;FYN;FYN;FYN;FYN;FYN;FYN;FYN;FYN;FYN;FYN;FYN;FYN;FYN;FYN
M;FYN;FYN;FYN;FYN;FYN;FYN;FYN;FYN;FYN;FYN;FYN;FYN;FYN;FYN;FYN
M;FYN;FYN;FYN;FYN;FYN;FYN;FYN;FYN;FYN;FYN;FYN;FYN;FYN;FYN;FYN
M;FYN;FYN;FYN;FYN;FYN;FYN;FYN;FYN;FYN;FYN;FYN;FYN;FYN;FYN;FYN
M;FYN;FYN;FYN;FYN;FYN;FYN;FYN;FYN;FYN;FYN;FYN;FYN;FYN;FYN;FYN
M;FYN;B(-"DQI<W0])5`@;"`E05$@)4\-"D5X=')A8W0])5`@92`M>2`E05$@
M0"5,40T*17AT<F%C=%=I=&A0871H/250('@@+7D@)4%1($`E3%$-"D%D9#TE
D4"!A("UB9"`M;7@].2`M;6UF/7!A=#)R("UY("5!42!`)4Q1
`
end
sum -r/size 15170/936
Wincmd.ini

Code: Select all

begin 644 Wincmd.ini
M6U!A8VME<E!L=6=I;G-=#0HW>CTV-"PE8V]M;6%N9&5R7W!A=&@E7'=C>%QM
4=6QT:6%R8UQM=6QT:6%R8RYW8W@`
`
end
sum -r/size 10012/65
Don't step on the 7-Zip compression settings. I'm not using multiarc for .7z creation but a selfcrafted batch routine to create multiple archives with different compression sets at one call instead going through the pack dialog over and over again.

deus-ex
User avatar
Strogg
Junior Member
Junior Member
Posts: 89
Joined: 2003-08-24, 17:16 UTC
Location: Georgia

Post by *Strogg »

2deus-ex
That it! Now everything works OK!
I wonder! There were not significant differencies in multiarc setting between yours and mine, except the case that it works now :)
Thank you very much!

Just for the case if you interested in, here is my current multiarc setting, updated with your help, and the previous:

New:

Code: Select all

begin 644 new.txt
M6S=:70T*240],S<@-T$@0D,@048-"DE$4&]S/3`L(#0Q,3`R+"`T,3$Q."P@
M-#$V,S`L(#0R,3(V+"`T,C$T,BP@-#(V-30L(#0U-S(P+"`V.#8P."P@-CDQ
M,C`L(#<P,30T+"`W,#8U-BP@-S$V.#`L(#<R,3DR+"`W-#<U,BP@-S4R-C0L
M(#<V,C@X+"`X-S`T,"P@.#@U-S8L(#@Y-C`P+"`Y,#8R-"P@.3(V-S(L(#$P
M,#,U,BP@,3`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R`E4WT@)4%100T*1&5L971E/250(&0@+7D@+7(P>R`E4WT@)4%1
M02!`)4Q1#0I!9&0])5`@82`M8F0@+6UX/3E[("53?2`M;7,];V9F("UM;68]
M<&%T,G(@+7D@)4%1($`E3%$-"D%S:TAI<W1O<GDP/2US9G@W>D,N<V9X#0I!
M<VM(:7-T;W)Y,3TM;7,];V9F#0I!<VM(:7-T;W)Y,CTM;7@],`T*07-K2&ES
M=&]R>3,]+6TP/5!0360Z;65M,3(X;3IO,S(-"D%S:TAI<W1O<GDT/2UM,#U,
M6DU!.F$],CID/3(U-FTZ;68]<&%T-&@Z9F(],C4U#0I!<VM(:7-T;W)Y-3TM
@;6AE/6]N("UP#0I!<VM-;V1E/3`-"E-K:7!,25-4/3$`
`
end
sum -r/size 19885/1247
---------------------------------------------------------------------

Previous:

Code: Select all

begin 644 previous.txt
M6S=:70T*17AT96YS:6]N/3=Z#0I)1#TS-R`W02!"0R!!1B`R-R`Q0PT*2410
M;W,],"P@-#$Q,#(L(#0Q,3$X+"`T,38S,"P@-#(Q,C8L(#0R,30R+"`T,C8U
M-"P@-C@V,#@L(#8Y,3(P+"`W,#$T-"P@-S`V-38L(#<Q-C@P+"`W,C$Y,BP@
M-S0W-3(L(#<T-S4R+"`W-3(V-"P@.#<P-#`L(#@X-3<V+"`X.38P,"P@.3`V
M,C0L(#DR-C<R+"`Q,C$S-#0L(#$R-#0Q-BP@,3(T.3(X+"`Q,C@P,#`L(#$S
M,#4V,"P@,3,P,#0X+"`Q,S$P-S(L(#$S,S$R,"P@,34P,#$V+"`Q-3,V,#`L
M(#$U-3$S-BP@,34T,3$R+"`Q-3(P-C0L(#$U,C4W-BP@,34P-3(X+"`Q-3,P
M.#@L(#$U,S8P,"P@,34U,3,V+"`Q-3<V.38L(#$U.#(P."P@,34Y-S0T+"`Q
M-C,S,C@L(#$V-#@V-"P@,38U,S<V+"`Q-S8Q,C@-"D1E<V-R:7!T:6]N/3<M
M6FEP(#,N,3$@+2!W=W<N-RUZ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3IM9CUP870T:#IF8CTR-34-"D%S
K:TAI<W1O<GDU/2UM:&4];VX@+7`-"D%S:TUO9&4],0T*4VMI<$Q)4U0],0``
`
end
sum -r/size 61520/1258
---------------------------------------------------------
In wincmd.ini I use 223 for multiarc instead of 64.
DVK
New Member
New Member
Posts: 1
Joined: 2004-10-20, 04:19 UTC

Trouble when TotCmd searches in 7-zip files

Post by *DVK »

Some times ago I found a little bug. I have a MultiArc installed so I use it to show/unpack the 7-zip (*.7z) archives inside the Total Commander. It works well (no troubles). But when I try to use "Find Files" (Alt+F7) in Total Commander (Field "Search for"=*.*; "Search archives (all except for UC2)"=checked; "Find text"=checked; "Find text editbox"=12345 (or any other value)) then Total crashes (exception in KERNEL32.DLL) when during searching meets the file with *.7z extension. Can anybody help me with advice?
User avatar
deus-ex
Power Member
Power Member
Posts: 969
Joined: 2003-02-10, 17:45 UTC

Post by *deus-ex »

Updated IDPos string to support latest v4.10b sfx-modules.
This message used to refresh the thread date.

deus-ex
Post Reply