Solved - Command line wrapper for .wcx plugins?

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
highend
Junior Member
Junior Member
Posts: 6
Joined: 2015-10-19, 17:09 UTC

Solved - Command line wrapper for .wcx plugins?

Post by *highend »

Hi,

I'd like to make use of e.g. TotalObserver.wcx (the 32-bit version would be enough) via the command line.

The WIKI (https://www.ghisler.ch/wiki/index.php?title=Plugins_usage_in_3rd-party_applications#Packer_plugins_.28WCX.29) states that there is cmdTotal but its link points to a chinese? site that only contains p**n.

I've found a v2.02 version of it in this thread (http://forum.wincmd.ru/viewtopic.php?t=15066&postdays=0&postorder=asc&&start=0) but this doesn't seem to work as well, at least it doesn't list files or extract them from an .exe file.

Code: Select all

cmdTotal.exe TotalObserver.wcx x "R:\AMD_Chipset_Drivers.exe" "R:\AMD_Chipset_Drivers"

cmdTotal 2.02 (c) 2006/2007 KaKeeware, http://www.kakeeware.com
              (c) 2013 Konstantin Vlasov, http://flint-inc.ru/

Using plugin:     TotalObserver.wcx

Using option:     l

Processing file:  R:\AMD_Chipset_Drivers.exe

Target directory:
Universal Extractor extracts this file via the TotalObserver.wcx plugin so the command line tool should have been able to list its content as well...

Is anybody aware of any other cli program that can use .wcx plugins?
Last edited by highend on 2020-12-29, 13:36 UTC, edited 1 time in total.
User avatar
Dalai
Power Member
Power Member
Posts: 9364
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: Command line wrapper for .wcx plugins?

Post by *Dalai »

cmdTotal can be downloaded from the unofficial plugin site: https://totalcmd.net/plugring/cmdtotal.html, and it looks like 2.02 is the latest version available (there).

Not sure if it still works with the current releases, but the AMD chipset drivers used to be extractable with 7-zip - which also has a CLI interface.

If you need TotalObserver (also) for other stuff, then never mind my post.

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
highend
Junior Member
Junior Member
Posts: 6
Joined: 2015-10-19, 17:09 UTC

Re: Command line wrapper for .wcx plugins?

Post by *highend »

Both versions (the link to the one on the russian forum and the one you've linked to) are the same.
Thanks for an official link, though!

Only the normal amd drivers package .exe can be extracted via 7-zip. E.g. "amd_chipset_software_2.10.13.408.exe"
After this it will contain a subfolder "Packages" with the file "AMD_Chipset_Drivers.exe" which 7-zip extracts, but what comes out of this procedure isn't something you can further process:

Code: Select all

.rsrc
.data
.rdata
.reloc
.rsrc_1
.text
[0]
CERTIFICATE
Universal Extractor uses the TotalObserver.wcx plugin file to extract it to this instead:

Code: Select all

0x0409.ini
AMD_Chipset_Drivers.isc
AMD_Chipset_Drivers.msi
Setup.ini
highend
Junior Member
Junior Member
Posts: 6
Joined: 2015-10-19, 17:09 UTC

Re: Command line wrapper for .wcx plugins?

Post by *highend »

Solved...

After taking a look how Universal Extractor does it with that plugin I've noticed that I need "observer.ini", "TotalObserver.wcx" and the correct "modules" folder together in the same directory as the .wcx to get cmdTotal to work...
User avatar
Dalai
Power Member
Power Member
Posts: 9364
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: Solved - Command line wrapper for .wcx plugins?

Post by *Dalai »

Nice that you got it working. Thanks for the feedback!

Perhaps I could use this information to unpack the AMD chipset drivers with this method in the future. Now I remember that AMD switched from NSIS based installers to the crappy InstallShield ones sometime last year, and I made the same experiences you just described over a year ago. Ah, my memory never let's me down when forgetting things ;).

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
highend
Junior Member
Junior Member
Posts: 6
Joined: 2015-10-19, 17:09 UTC

Re: Solved - Command line wrapper for .wcx plugins?

Post by *highend »

No problem.

Btw, quickbms (http://aluigi.altervista.org/quickbms.htm) can be used as well as an alternative to cmdTotal.
This one is used by Universal Extractor.
Ofc it needs the same files & folder from the TotalObserver plugin.

Code: Select all

# -Y = Automatically answer yes to any question
# -o = Overwrite the output files without confirmation if they already exist
quickbms.exe -Y -o "path to quickbms\TotalObserver.wcx" "path to\src.exe" "path to\destination folder"
Post Reply