TPL (Texture Palette Library) files are image containers used in various Nintendo games.
I've managed to create a QuickBMS script that can extract the raw texture image data from these files.
Once extracted, the output files can be hashed using a xxHash64 utility (e.g. QuickHash GUI).
This hash (accompanied with other information from the script output file), can be used to generate filenames for Dolphin-compatible texture packs.
I've created a [blog post] that goes more in-depth on the process for doing so.