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
User avatar
MaxX
Power Member
Power Member
Posts: 672
Joined: 2012-03-23, 18:15 UTC
Location: Earth

Post by *MaxX » 2016-10-23, 14:05 UTC

TC 9.0 rc2 + Multiarc.wcx 1.4.1.7 (this version) + Win 98 SE

Multiarc.wcx can't find any acriver addon:
http://fotohost.by/images/2016/10/23/BUFEROBMENA.png
Multiarc.ini contents:
http://text-share.com/view/raw/88559afc

BTW, it works good in Win 7.
Any ideas?

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

Post by *MVV » 2016-10-23, 17:31 UTC

Hm, is it the exact copy of your Multiarc.ini? I've noticed that it has UNIX-like line endings (LF only), so maybe this is the reason why Windows 98 API can't read the INI...

User avatar
MaxX
Power Member
Power Member
Posts: 672
Joined: 2012-03-23, 18:15 UTC
Location: Earth

Post by *MaxX » 2016-10-23, 17:45 UTC

Here's exact copy:

Code: Select all

MIME-Version: 1.0
Content-Type: application/octet-stream; name="Multiarc.ini.rar"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="Multiarc.ini.rar"

UmFyIRoHADvQcwgADQAAAAAAAAB8+HSAkEYA4QIAABMIAAACeP5YQ/iAV0kdNSEAIAAAAFBsdWdp
bnNcd2N4XE11bHRpYXJjXE11bHRpYXJjLmluaQDwBMxjDBkQzMz9EBW94BPw5DAfnFAm3JHKLFRU
04xIA3a7FKIBZZQC0i4lWuMRLcTVE/70Qp8U+GpKNtO8JfwFPgeO5uHUVmA/myTu7m8Dubo+zc0b
owHxJ9j22r7RmU31u7f3lHXLTq5EqU2ZlxltmHXq54Fmr+yImo06XXorkaHhS4pc9nPUhUqfHifU
RY2IUR3bUos5aliJa8YuOPlmDYsrYynFVipMXatfRH7clke1ROsFZ6a+kKuLjqC4sa5BSbFvTGlz
KkJezL3ZureZeVuwdBB6hn9PQDupMxHCs6aElh3M21DlWfzjNJsWiqRkJHh5Kkbh0lhnAEpjXCSA
kY1hmiPm48Na9J0Jnxcv96SOYWHX246RSoYQsIxhLriYYE22IpRDOxQn0Th/9ob+9ZZKZKjbEg+z
TFZFRT+SeU+Mv5p8a2N/iir5CIe/fRsp7InYyZi2PJyhUBvUerOHymGQHjrIXaUGO5P2jRDEl5pm
aCvPlE119cPdORni07gJ/MBs8TKhVhZe7t1M1VD6ZiLtU7pyZc5vrkpkw2qdjFsCE/XwCAsyhhv+
b56yf3iAWPENQsHTAzgWuQ0+CJZ1hh3yz5kroCGGzjegsCGSutYOCNmxyXd4ahmOOGulyrGKl5Nx
u4HCKaKW7CuXV8L4ysSZQK7693ES3YGFzq75rPaZQmCBQX3g4kK2AogkqcQU7JxXjoriC+IXQQyu
zUqiqpirKCTsa3dowIx9zFB51lfz/RuFQ+7MlQ+yH72BLPO4v/aH/t0850AdQ9OsL/+dg+UKNsF3
mpl/JF2UBbHP/SIQSGGaOgVYvZ0/DLobGM7k82PLmmID9Er0TAmPuugej3Joy5zxCWtpyAIP+qb7
H8j3D9KCu6WUNtfvf9ULJ422elXrkVUmW9L6tU5c3QHWXX8KKSDcCSM/apHDVYRSb/sC9vVBSDDD
Np8CpOuBiwse9M9LktRK7c0L1ak8hTP6VKZ4/KDEPXsAQAcA
It has proper "0D 0A".

User avatar
Horst.Epp
Power Member
Power Member
Posts: 3475
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Post by *Horst.Epp » 2016-10-23, 17:53 UTC

MaxX wrote:Here's exact copy:

Code: Select all

...
It has proper "0D 0A".
Why do you need Multiarc for such a simple config ?
There is nothing in it which realy needs Multiarc.
Windows 10 Home x64 November 2019 Update, Version 1909 (OS Build 18363.476)
Intel(R) Core(TM) i7-4770 CPU @ 3.40GH, 16GB RAM
TC 9.50ß8 x64 / x86, Everything 1.4.1.959 (x64)

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

Post by *MVV » 2016-10-23, 18:23 UTC

Horst.Epp,
Think of it as about just a sample config that doesn't work in Windows 98....
I've found an old Windows 98 virtual machine, and I confirm that MultiArc doesn't work there with similar config.

User avatar
MaxX
Power Member
Power Member
Posts: 672
Joined: 2012-03-23, 18:15 UTC
Location: Earth

Post by *MaxX » 2016-10-23, 18:41 UTC

2Horst.Epp
I need full support for 7ZIP and CAB in TC under Win98. Neither 7zip.wcx, nor Total7zip.wcx work in this case.
Do you have any another solution?

2MVV
One more reason for facepalm.
When I try (with empty multiarc.ini) to import cab.addon

Code: Select all

[CAB]
ID=4D 53 43 46 
IDPos=<SeekID>
SkipSfxHeader=1 
Extension=cab
Description=MsCab 0.63
Archiver=Cab.exe
BatchUnpack=1
Debug=0
Format0="yyyy tt dd hh mm ss aaaaaa zzzzzzzzzz nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn"
List=%P -ri2 L %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 {-ap%RQA} {%S} a %AQA @%LA
Move=%P -i {-ap%RQA} {%S} m %AQA @%LA
;
plugin says there's no sections:
http://fotohost.by/images/2016/10/23/BUFEROBMENAd9700.png

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

Post by *MVV » 2016-10-23, 19:16 UTC

It happens because of the same problem: MultiArc reads addon files like INI files.
And I've found the reason: GetPrivateProfileSectionNames function in Windows 98 fails when buffer size parameter value is 65536... but works fine with 65532! 640 kB is enough, you know. :D
Last edited by MVV on 2016-10-23, 19:21 UTC, edited 1 time in total.

User avatar
MaxX
Power Member
Power Member
Posts: 672
Joined: 2012-03-23, 18:15 UTC
Location: Earth

Post by *MaxX » 2016-10-23, 19:21 UTC

2MVV
Can I do something with my configs to make it work?
Or can you compile win9X-compatible version of this version (it does not work in win9X now)?
Last edited by MaxX on 2016-10-23, 19:23 UTC, edited 1 time in total.

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

Post by *MVV » 2016-10-23, 19:23 UTC

I'll check if it will work with decreased value and release fixed version. You can't fix it yourself.

User avatar
MaxX
Power Member
Power Member
Posts: 672
Joined: 2012-03-23, 18:15 UTC
Location: Earth

Post by *MaxX » 2016-10-23, 19:24 UTC

Thanks, I'll wait for it...

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

Post by *MVV » 2016-10-23, 20:03 UTC

Please try this one, I can't test it myself...

User avatar
MaxX
Power Member
Power Member
Posts: 672
Joined: 2012-03-23, 18:15 UTC
Location: Earth

Post by *MaxX » 2016-10-24, 16:01 UTC

2MVV
It can't even start under W98 (the same as new 1.4.2 builds), but it works fine under W7.

Upd:
Reaction for test.bat (rundll32 MultiArc.wcx, Settings) under W98:
http://fotohost.by/images/2016/10/24/0.png
, but under W7 works fine.

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

Post by *MVV » 2016-10-24, 21:58 UTC

It seems that VS2010 CRT is incompatible with Win98, so I've compiled build 150 with VS6:

MultiArc 1.4.2.150 (9x version)

I won't include it into main package so you can take it here. It works fine for me under Win98.

User avatar
MaxX
Power Member
Power Member
Posts: 672
Joined: 2012-03-23, 18:15 UTC
Location: Earth

Post by *MaxX » 2016-10-25, 16:40 UTC

2MVV
BAT-file (rundll32 MultiArc.wcx, Settings) under W98 can't work, but under W7 works fine:
http://fotohost.by/images/2016/10/25/0.png
(may be, some intertal RunDll32 problem?)

Internal TC's configer works fine:
http://fotohost.by/images/2016/10/25/1.png
http://fotohost.by/images/2016/10/25/2.png
http://fotohost.by/images/2016/10/25/3.png

I've tried to pack some 7Z and CAB archives, then read from inside. Didn't find any problem yet. Looks like everything is ok.

Also I want to try some another archivers later (UHA, InnoUnp).

P.S.
Can you make ConPaste.exe for W98? It should be useful for me too.

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

Post by *MVV » 2016-10-25, 17:46 UTC

Maybe there shouldn't be any space between the comma and function name?

Code: Select all

rundll32 MultiArc.wcx,Settings
ConPaste is ANSI tool and minimum version in its header is set to 4, so it should work under Win98. I have no ideas why it doesn't.

Post Reply