MultiArc - archiver plugin

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
User avatar
leedlt
Junior Member
Junior Member
Posts: 18
Joined: 2004-05-03, 08:51 UTC
Location: Stuttgart, Germany

Post by *leedlt »

MVV wrote:If you're using TC8x64, you can try 64-bit Multiarc build.
But be careful, it may be unstable!
(I don't know in which state latest sources are, I fixed some errors but there may be another ones)
I've been searching/waiting for 64-bit Multiarc for a while now. Many thanks to you for making the migration.

If this is now stable it would be good if it were posted to the "Useful External Tools" Page under "Other useful addons" so that others might not have to look so long.
Just Do It
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

I can't do that, it is a Mr. Ghisler's site. :)

And, it should be tested thoroughly to ensure its stability. I don't know how stable it is, I don't use 64-bit TC (I'm using 32-bit TC in both 32-bit and 64-bit OSes).
flo
Junior Member
Junior Member
Posts: 49
Joined: 2007-01-21, 14:57 UTC

Post by *flo »

For me, it works OK
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

I've added some features into Multiarc, you may get updated version here (binaries only, 32+64).

Changes:

1. Added format character '+' allowing to stretch format pattern until first space (or stretch space until first non-space).
2. Special '++' sequence after last format pattern stretches pattern until end of line (e.g. for file path - compact addons are welcome).

Example of new 7-Zip format line (old syntax is still completely valid):

Code: Select all

Format0="yyyy-tt-dd hh:mm:ss aaaaa +z+ +p+ +n++"
("z+" reads unpacked size until first space; " +" skips all spaces until first non-space character; "n++" reads name until end of line)

Example of unrar5 format line:

Code: Select all

Format0="    aaaaaaa +z+  dd-tt-yy hh:mm  n++"
(unrar5 shifts columns in case of file sizes larger than 10 GB so old syntax doesn't allow to read such shifted lines correctly)

3. Added function ReadHeaderEx, supports 64-bit file sizes (larger than 2 GB).
Last edited by MVV on 2013-06-29, 20:09 UTC, edited 2 times in total.
TW
Senior Member
Senior Member
Posts: 383
Joined: 2005-01-19, 13:35 UTC

Post by *TW »

thanks a lot for the nice improvement. :)
licenced and happy TC user since 1994 (#11xx)
Hurdet
Power Member
Power Member
Posts: 620
Joined: 2003-05-10, 18:02 UTC

Post by *Hurdet »

Ambient variables work in
Archiver=
but not in
test=
?
do it not possible to use:
test="%COMMANDER_INI%\file.exe ...."
?
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

Hurdet,
Multiarc only expands envvars in archiver path.

If your main archiver executable and file.exe are in same folder, you can use following trick:

Code: Select all

Test=%PQ}\..\file.exe <parameters>
(note the '}' character, it is necessary)
Hurdet
Power Member
Power Member
Posts: 620
Joined: 2003-05-10, 18:02 UTC

Post by *Hurdet »

I tried 7z addon. It works, only i'm not able to use "support search text". Do it is not working?
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

Maybe you configured it w/o text search capability flag? Please type your wincmd.ini line for Multiarc. There is a number before path to plugin that must contain flag 128. Also you can run rundll32 Multiarc.wcx,,Settings and set packer capabilities from that dialog.

You can use 'normal' plugins for 7z - 7zip.wcx or total7zip.wcx. They support all features.
Hurdet
Power Member
Power Member
Posts: 620
Joined: 2003-05-10, 18:02 UTC

Post by *Hurdet »

I have 463 in config.
I know that the addon but I like to try MA.
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

It seems that it should work: 463=1|2|4|8|64|128|256. Is your archive solid or not? Or are you sure file inside of archive contains that text?
Hurdet
Power Member
Power Member
Posts: 620
Joined: 2003-05-10, 18:02 UTC

Post by *Hurdet »

I packed archive with -ms=on or -ms=off.
No problem with Total7zip.wcx also in solid mode. Why MA not search in solid mode?

Do it is not possible to use a DOS command in list (returned errorlevel -1)?

When i open a password encrypted file, without to use ConPaste, MA freezes to wait prompt. Do it is possible to avoid it?
Last edited by Hurdet on 2013-07-01, 09:48 UTC, edited 1 time in total.
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

Why MA not search in solid mode?
It seems that problem is not in archive mode but in archiver's unpack mode. Try to disable BatchUnpack option to search in archives. BTW, this problem is described in Multiarc's "Known Problems" help topic.
Do it is not possible to use a DOS command in list (returned errorlevel -1)?
Multiarc always treats -1 as error. Only positive values are acceptable.
When i open a password encrypted file, without to use ConPaste, MA hang to wait prompt. Do it is possible to avoid it?
That's why ConPaste exists. Multiarc doesn't expect that archiver will ask for a password and can't pass it.
Hurdet
Power Member
Power Member
Posts: 620
Joined: 2003-05-10, 18:02 UTC

Post by *Hurdet »

MVV wrote:
Why MA not search in solid mode?
It seems that problem is not in archive mode but in archiver's unpack mode. Try to disable BatchUnpack option to search in archives. BTW, this problem is described in Multiarc's "Known Problems" help topic.
BatchUnpack=0
solve, but I will have solid archives problems in MA.
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

You can't have both text search and batch unpacking using console archivers, they just don't provide necessary interface. TC asks to unpack file by file for text search while console archivers doesn't allow to keep state between unpack operations, therefore it is terribly slow with large solid archives.
Also TC uses the same plugin functions for both regular unpack and text search unpack so it is hard to detect what TC exactly does.
Post Reply