A way to install only the 64 bit plugin files
Moderators: Hacker, petermad, Stefan2, white
A way to install only the 64 bit plugin files
Is there a way for a plugin author to force TC to only install the files required for the 64 plugin to work? This would be great for plugin archives which host both versions.
Of course the other way round also makes sense (would only work for TC 8 and higher).
Of course the other way round also makes sense (would only work for TC 8 and higher).
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
No, the idea of a combined plugin is to use it in both TC versions. With today's large harddisks, disk space isn't a problem any more, but download time may be a bigger problem. Therefore relatively small plugins should use combined plugin archives, while large plugins may better use two separate installers.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: A way to install only the 64 bit plugin files
2ghisler(Author)
Why not just make a section in the pluginst.inf which will install the correct bit of the plugin? The download can still contain both versions.
Why not just make a section in the pluginst.inf which will install the correct bit of the plugin? The download can still contain both versions.
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: A way to install only the 64 bit plugin files
Does it really matter? Most plugins are less than 1 MB. A current 1 Terabyte SSD costs about 100$, so a 1 MB plugin doesn't even take one millionth of that space...
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: A way to install only the 64 bit plugin files
It does matter, because you are wrong.ghisler(Author) wrote: 2022-12-13, 16:03 UTC Does it really matter? Most plugins are less than 1 MB. A current 1 Terabyte SSD costs about 100$, so a 1 MB plugin doesn't even take one millionth of that space...
Most plugins are now between 2mb - 5mb x 2 for both bits. With some going as high as 17mb (SQLiteViewer) or 30mb (Diskinternals Reader).
My plugins folder takes 315mb. So no, not under 1mb.
Do you not consider people who use portable version of TC from their usb sticks ? Not everyone carries a 1tb usb.
I am not pushing for this feature at all, it's just that as an author of one of the legendary programs, your reasoning was not convincing enough.
Re: A way to install only the 64 bit plugin files
2Orochi
Here's my take on it. People creating portable TCs should be able to (manually) delete files they don't need and edit wincmd.ini according to their needs. There's nothing fancy to do either, just deletion of a few files and adjustment of plugin paths (or even just filenames). Sometimes there are even other files in a plugin package that are not needed, or you want to have a statically linked file instead of a dynamically linked one - nothing TC could do about either of these.
Regards
Dalai
Here's my take on it. People creating portable TCs should be able to (manually) delete files they don't need and edit wincmd.ini according to their needs. There's nothing fancy to do either, just deletion of a few files and adjustment of plugin paths (or even just filenames). Sometimes there are even other files in a plugin package that are not needed, or you want to have a statically linked file instead of a dynamically linked one - nothing TC could do about either of these.
Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Re: A way to install only the 64 bit plugin files
No need to, almost all pluins are written in wincmd.ini with their 32bit extension (e.g. .wlx and not .wlx64) - 64bit TC automatically looks for the corresponding file with the 64 bit extension - if it wasn't like this, TC couldn't be installed as a combined 32bit/64bit version with common wincmd.ini file.and adjustment of plugin paths
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: A way to install only the 64 bit plugin files
2petermad
Hm, I thought that's what the [*Plugins64] sections with the $checksum$ keys are for. But maybe I'm wrong about this.
Regards
Dalai
Hm, I thought that's what the [*Plugins64] sections with the $checksum$ keys are for. But maybe I'm wrong about this.
Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Re: A way to install only the 64 bit plugin files
Those 64-sections are generated by TC. You can delete them, and they will just be recreated.Hm, I thought that's what the [*Plugins64] sections with the $checksum$ keys are for. But maybe I'm wrong about this.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: A way to install only the 64 bit plugin files
@Dalai I'm using just 64-bit version of TC and deleted all wlx, wcx, wfx and wdx files + included files where I was able to determine they are needed just for 32-bit version. And nothing else was needed, all plugins are working as before deletion.
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: A way to install only the 64 bit plugin files
The [*Plugins64] keeps track of which plugins from the [*Plugins] sections are available in a 64-bit version.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com