Page 1 of 1

[Script] HashTools - 2026-Apr-01

Posted: 02 Apr 2026 01:16
by SAM0MAS
Hash_Verify.xys
Here is an updated build of HashTools 1.0 Beta2 - December 23, 2014 download/file.php?id=6624, originally shared by @Enternal viewtopic.php?p=115753#p115753, memberlist.php?mode=viewprofile&u=1984 and based on the script first written and kindly provided by @40K memberlist.php?mode=viewprofile&u=1948

At the time of this post, version Beta 3 - January 8, 2015 was not available for download.
OP indicates the added folder hashes. I do not know about the necessity and practicality of hashing folders. If you know, kindly advise.

*

There were compatibility issues — the script was written in 2014 (HashTools 1.0 Beta2)

Fixed for XYplorer v28 / Windows 11 compatibility:
  • - Html() rendering: XYplorer's html() uses Internet Explorer's engine which
    is absent on Windows 11. Fix: write HTML to a temp file in <xydata>\Temp
    and open it with Preview which renders inside XYplorer's own Preview Pane.
  • - Create Hash File: hash type extension forced to lowercase using recase()
    so Verify Hash File can match it correctly.
  • - Remove Hash From Filename: flag 8 now means "Increment on collision" in
    v28 causing "Dubious syntax" error. Changed to flag 64 (suppress cancel
    message) for a clean silent regex rename.
Cosmetic/Readability tweak for Hash Checker Slow:
  • - Each hash line now uses linematch (green background + bold green text) or linenomatch (orange/yellow background) independently
    The outer block no longer has a background colour — instead a clean border separates each file block
    The overall result message at the bottom still shows green "Hashes Match!" or amber "No Hashes Match Up." as a summary .
I really enjoyed 'playing' around with it, especially with the great help of my buddy Claude AI ;)

Using from Catalog rather than from context menu:
Image 22.png
Catalog /Generate hashes
category:
HASH TOOLS
new item:
1. Filename Hashes
2. Append Hash To Filename
3. Remove Hash From Filename
4. Verify
5. Hash Checker (Fast)
6. Hash Checker (Slow)
7. Verify Using Filename Inline Hash
8. Hash Files

Open the Properties of the new item entry (double-click on its left side/bar, or right-click → Properties), then in the Location field paste exactly this one for each in their order:

::Load "<xyscripts>\Hash_Verify.xys", "Hash";
::Load "<xyscripts>\Hash_Verify.xys", "Append Hash To Filename";
::Load "<xyscripts>\Hash_Verify.xys", "Remove Hash From Filename";
::Load "<xyscripts>\Hash_Verify.xys", "Verify Hash File";
::Load "<xyscripts>\Hash_Verify.xys", "Hash Checker (Fast) - Specific File and Hash";
::Load "<xyscripts>\Hash_Verify.xys", "Hash Checker (Slow) - Multiple Files and Hashes";
::Load "<xyscripts>\Hash_Verify.xys", "Verify Using Filename Inline Hash";
::Load "<xyscripts>\Hash_Verify.xys", "Create Hash File";

The HASH TOOLS Catalog is now fully set up. Don't forget to save via right-click → Catalog → Save to make sure everything is preserved.
item-properties.png
hash1.png
hash2.png
hash3.png
hash4.png
hash5.png
hash6.png