[Problem]: far2wc not working. Any helper?

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
ByteNick
Junior Member
Junior Member
Posts: 10
Joined: 2003-05-22, 13:55 UTC
Location: Bucharest, Romania

[Problem]: far2wc not working. Any helper?

Post by *ByteNick »

I have been trying to install the far2wc.wcx plugin, but it didn't worked for me.

Any helper around?

It says it is not recognized as a TC plugin.

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

Post by *deus-ex »

Example to use Docfilebrowser with Far2wc: :wink:

Far2wc.ini (in same Directory with 'Far2wc.wcx')

Code: Select all

[c:\program files\totalcmd\wcx\docfile.dll]
Extension=.chm.doc.msi.xls
Wincmd.ini

Code: Select all

[PackerPlugins]
chm=31,c:\program files\totalcmd\wcx\far2wc.wcx
doc=31,c:\program files\totalcmd\wcx\far2wc.wcx
msi=31,c:\program files\totalcmd\wcx\far2wc.wcx
xls=31,c:\program files\totalcmd\wcx\far2wc.wcx
:!: Don't forget to adapt programpaths to your settings!
ByteNick
Junior Member
Junior Member
Posts: 10
Joined: 2003-05-22, 13:55 UTC
Location: Bucharest, Romania

Post by *ByteNick »

Thanks deus!

It works like a charm now.

I was trying to add the packer using TC's interface and it didn't worked that way, because it was not recognizing fas2wx.wcx as a packer plugin.

Editing the ini files seems to be the best way of doing it.

BTW: That 31 figure that comes that comes after the = sign, where does it comes from?
(In my case:
xls=31,c:\Tools\TotalCmd\wcx\far2wc\far2wc.wcx)

Is there any way to predict that number?

Thanks again!
bytalized
Junior Member
Junior Member
Posts: 17
Joined: 2003-03-05, 11:58 UTC
Location: The Netherlands
Contact:

Post by *bytalized »

the 31 is the functions it supports as a packer.

for instance able to extract = 1, able to delete = 2, able to create = 4, add those....

these numbers I just made up, but it's the flags telling TC the packer's abilities.
ByteNick
Junior Member
Junior Member
Posts: 10
Joined: 2003-05-22, 13:55 UTC
Location: Bucharest, Romania

Post by *ByteNick »

Is it documented somewhere?

I have the strange feeling that every time I'm making a fresh install these numbers are different, but can't tell for sure.

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

Post by *deus-ex »

Packer configuration:

1=can create new archives
2=can modify exisiting archives
4=Archive can contain multiple files
8=can delete files
16=supports the options dialogbox
32=sSupports packing in memory
64=detect archive type by content
128=allow searching for text in archives
256=show as normal files (hide packer icon), open with Ctrl+PgDn, not Enter

Example:
31=packerplugin supports options 1,2,4,8 and 16 (16+8+4+2+1=31)

I could'nt be bothered to set the correct values for far2wcx, but it does'nt do any bad. :)
ByteNick
Junior Member
Junior Member
Posts: 10
Joined: 2003-05-22, 13:55 UTC
Location: Bucharest, Romania

Post by *ByteNick »

deus-ex = exe god

Thanks a lot.

With this info I can do it by hand. Why?

Example: If I want to use far2wx.wcx + resource plug on exe files to be able to see what's inside, if I add to that number 256, I will be able to enter on exe's to execute and apply Ctrl+PgDn to see what's inside.

Excellent!

Thanks again!
Post Reply