wincmd.ini->[PackerPlugins]

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
poiuytr
Senior Member
Senior Member
Posts: 243
Joined: 2003-02-23, 17:33 UTC

wincmd.ini->[PackerPlugins]

Post by *poiuytr »

Sample of [PackerPlugins] section in wincmd.ini

[PackerPlugins]
7z=79,C:\Program Files\totalcmd\Stuff\multiarc.wcx
iso=0,C:\Program Files\totalcmd\Stuff\iso.wcx
lst=21,C:\Program Files\totalcmd\Stuff\diskdir.wcx

Can anyone please tell me what does numbers in bold mean?
VadiMGP
Power Member
Power Member
Posts: 672
Joined: 2003-04-05, 12:11 UTC
Location: Israel

Post by *VadiMGP »

It is description of plugin capabilities.
User avatar
karlchen
Power Member
Power Member
Posts: 4603
Joined: 2003-02-06, 22:23 UTC
Location: Germany

Post by *karlchen »

@Poiuytr

In addition to what VadiMGP wrote,
this is what I got from the TC online help:

1: Is able to create an archive
2: Is able to modify an existsiting archive
4: More than one file in an archive is allowed
8: Is able to delete files from an archive
16: Supports option dialogues

Do not set the numbers manually. TC does so autoamtically
when the plugin is loaded for the first time.

Regards,
Karl
MX Linux 21.3 64-bit xfce, Total Commander 10.52 64-bit
The people of Alderaan keep on bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine.
The Prophet's Song
User avatar
Maxwish
Senior Member
Senior Member
Posts: 370
Joined: 2003-02-05, 19:13 UTC
Location: .NL

Post by *Maxwish »

I asked this too once. The code is automaticly determined by TC from the plugin. It's a sum of the following options as stated in the packer plugin writers guide:
PK_CAPS_NEW= 1; {Can create new archives}
PK_CAPS_MODIFY= 2; {Can modify exisiting archives}
PK_CAPS_MULTIPLE= 4; {Archive can contain multiple files}
PK_CAPS_DELETE= 8; {Can delete files}
PK_CAPS_OPTIONS= 16; {Supports the options dialogbox}
PK_CAPS_MEMPACK= 32; {Supports packing in memory}
PK_CAPS_BY_CONTENT= 64; {Detect archive type by content}
PK_CAPS_SEARCHTEXT=128; {Allow searching for text in archives
{ created with this plugin}
PK_CAPS_HIDE= 256; { Show as normal files (hide packer icon) }
{ open with Ctrl+PgDn, not Enter }
So lst=21 means options 1 + 4 + 16
...BRB...
User avatar
Maxwish
Senior Member
Senior Member
Posts: 370
Joined: 2003-02-05, 19:13 UTC
Location: .NL

Post by *Maxwish »

to Karl: oops, you beat me to the answer.
I was still typing when you responded...
...BRB...
User avatar
karlchen
Power Member
Power Member
Posts: 4603
Joined: 2003-02-06, 22:23 UTC
Location: Germany

Post by *karlchen »

@Maxwish
Hm, maybe I was faster, but your answer was more complete than what I got from the online help.
So your answer beates mine. :wink:

Kind regards,
Karl
MX Linux 21.3 64-bit xfce, Total Commander 10.52 64-bit
The people of Alderaan keep on bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine.
The Prophet's Song
Post Reply