Very small improvement in "Verify CRC" instrument

Here you can propose new features, make suggestions etc.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
Postkutscher
Power Member
Power Member
Posts: 556
Joined: 2006-04-01, 00:11 UTC

Very small improvement in "Verify CRC" instrument

Post by *Postkutscher »

Mr. Ghisler , could you please make that when I am pressing Enter on *.md5 and *.sha files TC checks the hashes even through checksum.wcx is installed ?
The problem now is that TC ignores PK_CAPS_HIDE for *.md5 and *.sha
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Try associating checksum.wcx with some other extension, e.g. *.sha1.
Author of Total Commander
https://www.ghisler.com
Postkutscher
Power Member
Power Member
Posts: 556
Joined: 2006-04-01, 00:11 UTC

Post by *Postkutscher »

ghisler(Author) wrote:Try associating checksum.wcx with some other extension, e.g. *.sha1.
It is unacceptable.

1. I want to create *.sha (not *.sha1) files with this plugin because it can make *.sha and *.md5 without brunch view unlike TC. If it will be *.sha1 TC compatibility will be lost.
2. checksum.wcx cannot check filetype (no CanYouHandleThisFile)
3. checksum.wcx checks file extention internally anyway.
Postkutscher
Power Member
Power Member
Posts: 556
Joined: 2006-04-01, 00:11 UTC

Post by *Postkutscher »

2ghisler(Author)
Thank you for update.
Indeed I thought if you are not answering to me, this feature will be implemented, but it seems that you simply have not noticed my last sentence.
Once again. It is thery nice, that TC has it`s own function for hash checking. I use it also. But I still cannot refuse of checksum.wcx plugin because of two reasons :

1. It makes md5 hash for nested directories simplier than TC (no need to make brunch view)
2. It makes possible to check one file while *.md5 contains hashes for 10-100-1000 files. Let imagine for example hashes of 3 DVD-images in 1 my_dvd_images.md5 file. I can check only 1 or 2 DVD images and save my time. This can be done only with plugin, not with TC.

Your recomendation to change extention breaks compatibility of TC and plugin and is unrealizable because checksum.wcx checks the extention of file but does not check it`s content. I could edit it`s sources to eliminate extention check ( I have already worked on this plugin when I`v made WCX interface 2.12 support for handling >4GB files ) , but this is soooo bad, so weird workaround. Could you please solve it by natural elegant way? I assume this is not so difficult for you. Just make TC reacting on enter for *.md5 and *.sha. It must be such as commenting some part of your code which directs these files to plugin, I assume.
Please :roll: :oops:
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Unfortunately I don't currently have any solution for this problem - when the plugin is assigned to md5 and sha, TC will of course call the plugin and not handle the formats internally...
Author of Total Commander
https://www.ghisler.com
Postkutscher
Power Member
Power Member
Posts: 556
Joined: 2006-04-01, 00:11 UTC

Post by *Postkutscher »

But TC could associate md5 and sha1 extentions to himself internally. It has now so wonderful internal association system :)

This must work when PK_CAPS_HIDE is set for plugin (it is the case by me).
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Hmm, I will check that.
Author of Total Commander
https://www.ghisler.com
Postkutscher
Power Member
Power Member
Posts: 556
Joined: 2006-04-01, 00:11 UTC

Post by *Postkutscher »

I don`t see any improvement here. Seems to be unchanged. :?
Postkutscher
Power Member
Power Member
Posts: 556
Joined: 2006-04-01, 00:11 UTC

Post by *Postkutscher »

Great! All works as expected. I`m happy now :)
Thank you! Thank you!!
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Thanks for suggesting it!
Author of Total Commander
https://www.ghisler.com
Post Reply