Quantcast
Channel: Total Commander
Viewing all articles
Browse latest Browse all 18761

Eng :: RE: call a packer-plugin from the command line?

$
0
0
Author: milo1012
Subject: Re: call a packer-plugin from the command line?
Posted: Wed Mar 09, 2016 5:13 pm (GMT -6)

wolf.b wrote:
I believe, AutoHotkey can do all of that.

Well, you need to tell AutoHotkey in detail how to call PackFiles,
maybe
https://autohotkey.com/docs/commands/DllCall.htm
would actually work.
Still, you'd need to distinguish Unicode-only plugins (PackFilesW) from non-Unicode plugins.
AutoHotkey isn't really suited for all that.
And if a plugin really needs PackSetDefaultParams, you need to keep the DLL loaded in the memory of some process, before you can call PackFiles.
(I'm not sure if AutoHotkey could invoke some "dummy" process)

I think the easiest solution would be to write some similar tool as cmdTotal,
or even extent it to include pack support
(but I think the assembler source doesn't make it that easy to extent it (for most people)
- no idea why he didn't write some simple c program).

wolf.b wrote:
where I can find the source code of CHMDir? Is it open source?
...

The official location
http://totalcmd.net/plugring/chmdir.html
doesn't list it as open source, so I guess it is not.

This post in the Russian TC forum links to the same package,
so I guess there really is no newer/different one.
You could ask Flint for the source via mail.
_________________
TC plugins: PCREsearch and RegXtract


Viewing all articles
Browse latest Browse all 18761

Trending Articles