A collection of tools and resources for the Tales Of series (specifically: Xillia, Xillia 2, Zestiria, Berseria and Graces f Remastered.)
The hexpat directory contains pattern files for ImHex:
scpack.hexpat:.SCPACKscript package files (.SCPACKR/.SCPACKD).tofhdb.hexpat: Unencrypted TLDAT header files.zarc.hexpat:.ZARCarchives from Graces f Remastered.
A tool for unpacking and repacking .TLDAT and .SCPACK package files. .SCPACK files contain Lua scripts that implement UI and gameplay elements.
A DLL (proxying winmm.dll) that will hook into the game's file loading routines and dump the name of anything it tries to load. It will store these names in a name_db.txt file next to the executable, which can be passed to TLTool as a name dictionary to unpack the TLDAT with proper file names.