Number in front of a plugin path (e.g. for the "packers")?

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
al20878
Junior Member
Junior Member
Posts: 25
Joined: 2018-07-31, 13:32 UTC

Number in front of a plugin path (e.g. for the "packers")?

Post by *al20878 »

Hi!

Tried to look it up, but couldn't find anything of relevance...

What is the meaning of "251" that shows up in there?

251,C:\Program Files\totalcmd\plugins\wcx\wcx_bz2\bzip2dll.wcx

Some of them do not have anything extra, just the path, though...

Thanks,
AL
User avatar
Stefan2
Power Member
Power Member
Posts: 4133
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Re: Number in front of a plugin path (e.g. for the "packers")?

Post by *Stefan2 »

Antwort: by *petermad » Fri Jun 11, 2010 13:01

The number is the sum of all DLL capabilities:

:::GetPackerCaps:::
1: Can create new archives
2: Can modify existing archives
4: Can handle multiple files in one archive
8: Can delete files from archive
16: Supports the options dialog
32: Supports packing in memory
64: Detects archive type by content
128: Allows searching for text in archives
256: Don't open with Enter, only with Ctrl+PgDn
512: Supports encryption

Total Commander will add the appropriate number on the first load of the DLL (wcx).



See https://www.ghisler.com/plugins.htm
> Packer extensions (plugins)
>> WCX Plugin Guide (CHM).zip
>>>> GetPackerCaps



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

Re: Number in front of a plugin path (e.g. for the "packers")?

Post by *ghisler(Author) »

251 is a sum of these fields (just substract the highest number you can without making the number negative):
128: Allows searching for text in archives
64: Detects archive type by content
32: Supports packing in memory
16: Supports the options dialog
8: Can delete files from archive
2: Can modify existing archives
1: Can create new archives

As you can see, one prominent absence is 4: Can handle multiple files in one archive.
That's because bz2 can only handle one file, so multiple files have to be packed in a container like tar.
Author of Total Commander
https://www.ghisler.com
User avatar
Gral
Power Member
Power Member
Posts: 1460
Joined: 2005-01-26, 15:12 UTC

Re: Number in front of a plugin path (e.g. for the "packers")?

Post by *Gral »

2 al20878
If you want solve easy way what number means you can download WCX Tweak utility - https://totalcmd.net/plugring/wcxtweak.html.
Somewhat deprecated, but still works for 32-bit plugins.
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Number in front of a plugin path (e.g. for the "packers")?

Post by *petermad »

2al20878
You can also edit the value via GUI in TC Plugins Manager: http://totalcmd.net/plugring/tc_plugman.html

See: https://madsenworld.dk/tcmd/tcpluginsmanagertweak.png
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
al20878
Junior Member
Junior Member
Posts: 25
Joined: 2018-07-31, 13:32 UTC

Re: Number in front of a plugin path (e.g. for the "packers")?

Post by *al20878 »

Thanks for all the replies!
Post Reply