TC 8: Plugin file extension

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

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
tbeu
Power Member
Power Member
Posts: 1354
Joined: 2003-07-04, 07:52 UTC
Location: Germany
Contact:

TC 8: Plugin file extension

Post by *tbeu »

If a 32-bit plugin is called <plugin>.<ext> where <ext> can be different from wcx, wdx, wlx or wfx, does TC 8 64-bit look for a 64-bit plugin called <plugin>.<ext64> by just appending the 64 regardless of the extension?
TC plugins: Autodesk 3ds Max / Inventor / Revit Preview, FileInDir, ImageMetaData (JPG Comment/EXIF/IPTC/XMP), MATLAB MAT-file Viewer, Mover, SetFolderDate, Solid Edge Preview, Zip2Zero and more
User avatar
Samuel
Power Member
Power Member
Posts: 1930
Joined: 2003-08-29, 15:44 UTC
Location: Germany, Brandenburg an der Havel
Contact:

Post by *Samuel »

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

Post by *MVV »

It works even for extension DLL:

Code: Select all

[ContentPlugins]
4=D:\TOTALCMD\Plugins\Content\Autorun\Modules\TCFS2Tools.dll
[ContentPlugins64]
4=1
TCx32 loads here installed module TCFS2Tools.dll, TCx64 loads module TCFS2Tools.dll64.

But keep in mind that if you already have installed a bunch of 32-bit plugins, TCx64 won't load their 64-bit analogs automatically. Details here.
User avatar
tbeu
Power Member
Power Member
Posts: 1354
Joined: 2003-07-04, 07:52 UTC
Location: Germany
Contact:

Post by *tbeu »

OK, this way combined plugins get properly loaded.
TC plugins: Autodesk 3ds Max / Inventor / Revit Preview, FileInDir, ImageMetaData (JPG Comment/EXIF/IPTC/XMP), MATLAB MAT-file Viewer, Mover, SetFolderDate, Solid Edge Preview, Zip2Zero and more
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50479
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

But keep in mind that if you already have installed a bunch of 32-bit plugins, TCx64 won't load their 64-bit analogs automatically.
It does, but only when the plugin is installed - either automatically when you open the archive, or via configuration dialog. It doesn't look for the file when the plugin files are just copied to the plugin directory.
Author of Total Commander
https://www.ghisler.com
Post Reply