FtexThumb 1.0 - FTEX thumbnails for Windows Explorer (PES 2021 / Fox Engine)
============================================================================
Created by Windhook - Verteum.com
Download and updates: https://verteum.com

Shows thumbnails of .ftex textures in File Explorer (Windows 10/11, 64-bit).

Credits
  Created by Windhook (Verteum.com).
  The FTEX file layout was worked out with the help of Atvaark's open-source
  FtexTool (v0.3.3); no FtexTool code or binary is included or used.

Install
  1. Put this folder somewhere permanent.
  2. If an older version is installed, run uninstall.cmd first and restart Explorer.
  3. Double-click install.cmd.
  4. Open a folder with .ftex files in Medium/Large icons view.

Uninstall: double-click uninstall.cmd, then delete the folder.

How it works
  The DLL reads the .ftex file itself (header, zlib-compressed chunks, DXT1/DXT5/
  L8/A8R8G8B8 pixels) - no FtexTool, texconv or temp files are used. It decodes only
  the mip level that is needed for the thumbnail, so it is fast.
  Textures split into .ftexs files are supported if the .ftexs files are next to the
  .ftex (untested).

Supported pixel formats: A8R8G8B8, L8, DXT1, DXT5.
  Anything else shows the generic icon; the log line "unsupported pixel format N"
  tells which one, so it can be added.

Troubleshooting
  - Set Log=1 in ftexthumb.ini, then read %TEMP%\ftexthumb.log
  - test-thumb.ps1 asks Windows for a thumbnail the same way Explorer does:
      powershell -ExecutionPolicy Bypass -File test-thumb.ps1 "C:\path\file.ftex"
  - After replacing the DLL, restart Explorer (Task Manager -> Windows Explorer ->
    Restart) so it releases the old copy.
  - Clear cached thumbnails: cleanmgr -> tick Thumbnails.
