MultiArc - archiver plugin

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

Moderators: Stefan2, white, sheep, Hacker

Post Reply
User avatar
leedlt
Junior Member
Junior Member
Posts: 15
Joined: 2004-05-03, 08:51 UTC
Location: Stuttgart, Germany

Post by *leedlt » 2012-09-26, 21:44 UTC

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: 8301
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV » 2012-09-27, 16:31 UTC

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: 48
Joined: 2007-01-21, 14:57 UTC

Post by *flo » 2012-09-28, 10:17 UTC

For me, it works OK

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

Post by *MVV » 2013-06-28, 09:57 UTC

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: 337
Joined: 2005-01-19, 13:35 UTC

Post by *TW » 2013-06-29, 18:47 UTC

thanks a lot for the nice improvement. :)
licenced and happy TC user since 1994 (#11xx)

Hurdet
Senior Member
Senior Member
Posts: 432
Joined: 2003-05-10, 18:02 UTC

Post by *Hurdet » 2013-06-30, 02:18 UTC

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: 8301
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV » 2013-06-30, 07:42 UTC

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
Senior Member
Senior Member
Posts: 432
Joined: 2003-05-10, 18:02 UTC

Post by *Hurdet » 2013-06-30, 14:56 UTC

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: 8301
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV » 2013-06-30, 16:33 UTC

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
Senior Member
Senior Member
Posts: 432
Joined: 2003-05-10, 18:02 UTC

Post by *Hurdet » 2013-06-30, 17:46 UTC

I have 463 in config.
I know that the addon but I like to try MA.

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

Post by *MVV » 2013-07-01, 05:37 UTC

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
Senior Member
Senior Member
Posts: 432
Joined: 2003-05-10, 18:02 UTC

Post by *Hurdet » 2013-07-01, 06:18 UTC

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: 8301
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV » 2013-07-01, 06:56 UTC

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
Senior Member
Senior Member
Posts: 432
Joined: 2003-05-10, 18:02 UTC

Post by *Hurdet » 2013-07-01, 10:17 UTC

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: 8301
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV » 2013-07-01, 11:21 UTC

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