OGG_File_Checker
Some small batch I wrote some weeks ago.
You can find the MESA tool here if you need it:
https://www.patreon.com/posts/mesa-v-23-12-30-95531353
Example: Kingdome Come Deliverance 2, Music.pak
There are a total of 2816 OggS vorbis streams. 40 of them will cause OGGRE to crash or stuck in an infinite loop on decompression.
These bad files will be stored in a text file (Bad_Files.txt) and will be copied to _Bad_Files folder additionaly.
Additionaly this tool will create patch files (stored in Patch_Files folder) if you want to patch the bad files back to original files afterwards.
Checksum hashing is a bit slow especially if you have over 10k files (it will take a while). I didn't found a tool by now which works faster than xxhsum.
Thanks to César for a little help with checksum checking.
v2 changes: Subfolders are now supported. You can now copy/move entire game folder which includes OGG files and check them. Removed xdelta patch engine, only hdiff is supported now.
There are some example files included in v2.