View Single Post
  #2  
Old 31-03-2025, 02:30
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,688
Thanks: 1,106
Thanked 7,334 Times in 2,837 Posts
KaktoR is on a distinguished road
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.
Attached Files
File Type: 7z OGG_File_Checker_v2.7z (6.19 MB, 7 views)
__________________
Haters gonna hate

Last edited by KaktoR; 20-01-2026 at 13:33.
Reply With Quote
The Following 6 Users Say Thank You to KaktoR For This Useful Post:
Gehrman (31-03-2025), Lord.Freddy (31-03-2025), samadrahman74 (10-09-2025), ScOOt3r (31-03-2025), shazzla (31-03-2025), Wanterlude (26-08-2025)