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
chrizoo
Senior Member
Senior Member
Posts: 349
Joined: 2008-03-12, 02:42 UTC

Post by *chrizoo »

So type it once here and don't touch more:)
sorry, please read the bold red text above ("EDIT:..."). When I restart TC the settings are gone no matter which method (1-3) I use
Do you start "rundll32 multiarc.wcx, Settings" from TC or not? If you start it from TC (or from program started from TC), it has access to %COMMANDER_PATH% and %COMMANDER_INI% variables. If not - theese variables are undefined. So it may be a reason why MA can't find wincmd.ini.
No, I ran the rundll32 command from Windows Start menu. So I tried the command within TC, but that yields the same results as in methods 1) + 2) above (MA forgets path).
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

You should always open MA cfg dialog from TC - run "rundll32 multiarc.wcx, Settings" from buttonbar or TC start menu, or open it via pack dialog.
User avatar
chrizoo
Senior Member
Senior Member
Posts: 349
Joined: 2008-03-12, 02:42 UTC

Post by *chrizoo »

MVV wrote:You should always open MA cfg dialog from TC - run "rundll32 multiarc.wcx, Settings" from buttonbar or TC start menu...
I did that! See:
chrizoo wrote: .... So I tried the command within TC, but that yields the same results as in methods 1) + 2) above (MA forgets path).
and
MVV wrote:... or open it via pack dialog.
I did that, too:
chrizoo wrote: 3) If I select files and press ALT+F5 for packing, select "MultiArc" and then click "configure"...

EDIT: Aaaaah, I was laughing too soon :( It is true that with method 3) the wincmd.ini path is remembered - as opposed to methods 1) + 2), BUT when I close and restart TC, the wincmd.ini path is forgotten again! :( So even this does not work.
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

That's strange. MA is dated 2007 so it should support your TC version. I have no more minds, its difficult to answer remotely.
User avatar
chrizoo
Senior Member
Senior Member
Posts: 349
Joined: 2008-03-12, 02:42 UTC

Post by *chrizoo »

OK. Then many thanks, you have been very patient in helping to sort this issue out.

If I solve the problem, I will post it here. Or if anyone else has an idea, please let me know.

Is the MultiArc plugin dev still around on the forums here ... ?
User avatar
dott
Senior Member
Senior Member
Posts: 285
Joined: 2007-03-04, 00:58 UTC
Location: La Plata, Argentina

Post by *dott »

Lzma, along with lzma2 PPMd and BZip2, is one of the compression methods of 7z format.

This days I found more and more *.tar.lzma and less *.tar.gzip/bzip2.

I have been using 7-zip file manager for this archives and I really hate 7-zip file manager :evil:... so I wrote this Multiarc addon.

Code: Select all

; ___________________________________________
; Archiver: 7-Zip
; Homepage: http://7-zip.org
; Author  : dott
; Comments: Requires MultiArc v1.4 or higher
;           Extraction Only
; ___________________________________________
[LZMA]
Description="lzma streams, *.tar.lzma"
Extension=lzma
Archiver="%programfiles%\7-Zip\7z.exe"
List="%PQ l %AQA"
Start="^-------------------"
End="^-------------------"
Format0="yyyy tt dd hh mm ss aaaaa zzzzzzzzzzzz pppppppppppp  nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn"
Extract="%PQA e -y {%S} -scsWIN %AQA @%LQA"
ExtractWithPath="%PQA x -y {%S} -scsWIN %AQA @%LQA"
Test="%PQA t -y {%S} %AQA"
SkipDirsInFileList=1
SkipEmptyNames=1
BatchUnpack=1
Probablemente no
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

I don't see any global differences from old ones:) maybe just file extension.
User avatar
dott
Senior Member
Senior Member
Posts: 285
Joined: 2007-03-04, 00:58 UTC
Location: La Plata, Argentina

Post by *dott »

There is no global( or partial ;-) ) differences.

I found and test successfully the ID hex numbers but there is no need to use it, at least in lzma files that I test.
TychoBarfy
Senior Member
Senior Member
Posts: 340
Joined: 2005-08-13, 15:13 UTC
Location: Berlin, Germany
Contact:

Post by *TychoBarfy »

Under Windows 7 x64 I could not extract or view contents of cab files using MultiArc and mscab.exe v0.63 (Error Level 2 No File List).

I played arround with "L" in List= and replacing it with "list" works. The difference is, that paths and files are displayed first, than unpacked size, date, time and attributes.

Following [CAB] sequence in multiarc.ini works fine for me now:

Code: Select all

[CAB]
Description="MSCAB (DIRS) 32 Bit"
Extension=cab
Archiver=%COMMANDER_PATH%\packer\mscab.exe
ID=4D 53 43 46
IDPos=0
Format0="n**n zzzzzzzzzzzz yyyy tt dd hh mm ss aaaa"
BatchUnpack=1
Debug=0
List=%P -ri2 list %AQA %O
Extract=%P { %S} e %AQA @%LA
ExtractWithPath=%P {-ap%RQA}{ %S} x %AQA @%LA
Test=%P{ %S} t %AQA
Delete=%P -i{ %S} d %AQA @%LA
Add=%P -i -dirs {-ap%RQA}{ %S} a %AQA @%LA
Move=%P -i -dirs {-ap%RQA}{ %S} m %AQA @%LA

n**n stands for 256 times n one after each other nnnnnnnnn......
-- TB --
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

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)
User avatar
deus-ex
Power Member
Power Member
Posts: 969
Joined: 2003-02-10, 17:45 UTC

Post by *deus-ex »

Hi MVV,

thank you very much for this contribution which finally allowed me to switch to the 64-bit edition of TC. The plugin works stable and without any issues for me so far. :D
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

Why haven't you build it yourself? :D
The plugin works stable and without any issues for me so far.
There may be issues in rare used functions BTW...
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

2MVV
Did you create the 64-bit port? In a German thread, a user writes that files from the firefox settings folder whow up in TC at random, and it stopped after he removed the 64-bit multi-arc plugin. Here is the thread with Google translate:
Solved: file list contains files zombie when TC backg

Do you use any functions to monitor the file system? This sounds quite improbable to me...
Author of Total Commander
https://www.ghisler.com
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

I only recompiled public Multiarc sources (with some changes required for 64-bit module). Here are the sources. I don't think that 64-bit multiarc may behave in other way than 32-bit one...
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Indeed I cannot find any calls to ReadDirectoryChangesW which could cause that...
Author of Total Commander
https://www.ghisler.com
Post Reply