MultiArc - archiver plugin

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

Moderators: sheep, Hacker, Stefan2, white

Post Reply
quantum
Junior Member
Junior Member
Posts: 39
Joined: 2004-02-29, 01:42 UTC

Post by *quantum » 2017-08-02, 12:31 UTC

@MVV: If you are willing to post the source for your Multiarc changes, please do so, or please point out a link if it's already online somewhere. Thanks.

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

Post by *MVV » 2017-08-02, 18:37 UTC

Well, you can get current sources here. BTW, why do you need them?

quantum
Junior Member
Junior Member
Posts: 39
Joined: 2004-02-29, 01:42 UTC

Post by *quantum » 2017-08-03, 05:50 UTC

Thanks, I'm getting crashes on paths I think longer than MAX_PATH (and BatchUnpack=1) and I wanted to see if there's a buffer size I can increase.

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

Post by *MVV » 2017-08-03, 07:24 UTC

Well, adding long path support is a quite difficult task, especially for non-Unicode program. AFAIK, non-Unicode Windows API simply doesn't allow using long paths, but even Unicode API requires extra prefix...

But of cource plugin shouldn't crash on long paths. If you could provide an example of such archive, I would take a look on it myself.

quantum
Junior Member
Junior Member
Posts: 39
Joined: 2004-02-29, 01:42 UTC

Post by *quantum » 2017-08-03, 09:11 UTC

Indeed I am using the unicode API with \\?\ prefix in all cases to ensure long path support. If I can confirm the plugin really crashes because of long paths or any reproducable example, I'll post an example.

User avatar
Peter
Power Member
Power Member
Posts: 1913
Joined: 2003-11-13, 13:40 UTC
Location: Schweiz
Contact:

Post by *Peter » 2017-09-21, 10:56 UTC

CAB-files with indexFile.dat

I have (MSCF-) Cab Files and can open them. But all the files are only named with numbers, and the file infexFile.dat conatins the meaning of the numbers.

Files inside CAB:

Code: Select all

1065832118
1075857603
1097061951
1102126380
Content of indexFile.dat

Code: Select all

1065832118                            Support\2.PNG
1075857603                            Support\1.atr
1097061951                            Support\3.png
1102126380                            Support\test.doc
Is there a way to replace the numbers with the correct names of the files?
TC 9.22a / #266191
Win 7 x64 / Win 10 x64

User avatar
deus-ex
Power Member
Power Member
Posts: 744
Joined: 2003-02-10, 17:45 UTC

Post by *deus-ex » 2017-09-21, 16:16 UTC

That's not a MSCF file but a InstallShield CAB file.
Best regards
deus-ex

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

Post by *MVV » 2017-09-21, 20:03 UTC

It may be MSCF too, but within some kind of installer that doesn't store names in archive... E.g. MSI installations also use MSCF, but use GUIDs instead of file names.

User avatar
deus-ex
Power Member
Power Member
Posts: 744
Joined: 2003-02-10, 17:45 UTC

Post by *deus-ex » 2017-09-22, 06:43 UTC

True, but GUIDs for filenames in MSCF archives are comprised of 32 digits and look like this:

Code: Select all

_0124567890123456789012345678912
Also, a accompanying .dat file that holds the real filenames is typical for InstallShield CAB files, you don't find these with MSCF CAB archives.
The first four bytes in the header of an InstallShield CAB archive read "ISc(", for a Microsoft CAB file its "MSCF".
Best regards
deus-ex

User avatar
Luke_Filewalker
Junior Member
Junior Member
Posts: 47
Joined: 2003-11-05, 10:30 UTC

Re: MultiArc - archiver plugin

Post by *Luke_Filewalker » 2018-08-11, 11:07 UTC

@MVV

Thanks for the further development of MultiArc. :D We (Wing Commander Saga German) have been using Total Commander + MA MVV for years to integrate our own VP Packer "VPT". We also have instructions in English and German for installing MA MVV and for importing our VP MA addon.

Is there an official place for MA addons? Or is this topic here the right place?
Luke 'GTH' Filewalker
may the backup be with you - always

# 14630 Single user licence

User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 38451
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: MultiArc - archiver plugin

Post by *ghisler(Author) » 2018-08-12, 07:01 UTC

There is just an official place for Multiarc addon downloads:
http://totalcmd.net/directory/multiarc.html

But for the forum, the MultiArc thread is the best place.
Author of Total Commander
http://www.ghisler.com

User avatar
Luke_Filewalker
Junior Member
Junior Member
Posts: 47
Joined: 2003-11-05, 10:30 UTC

Re: MultiArc - archiver plugin

Post by *Luke_Filewalker » 2018-08-26, 13:09 UTC

@ghisler(Author)

Okay, thanks Christian.
Luke 'GTH' Filewalker
may the backup be with you - always

# 14630 Single user licence

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

Re: MultiArc - archiver plugin

Post by *Hurdet » 2019-02-07, 05:54 UTC

Periodically, the% L variable is not populated and I have to restart TC to fix it.
Do it is a bug?

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

Re: MultiArc - archiver plugin

Post by *MVV » 2019-02-07, 17:52 UTC

Looks weird. How easy can you reproduce it? What TC and MultiArc versions do you use? Which addon do you use? And what kind of action you use - create new archive, modify existing?

Post Reply