Skip to content

Conversation

@HeroponRikiBestest
Copy link
Contributor

Fixes false GCF detection on idtech 5 md5 binary model format SabreTools/BinaryObjectScanner#376 . Adds a few extra validity checks mentioned in HLLib, specifically

https://github.com/Rupan/HLLib/blob/47de5d5fed1b4d8e160c20f50d0bf61999996161/HLLib/GCFFile.h#L104
https://github.com/Rupan/HLLib/blob/47de5d5fed1b4d8e160c20f50d0bf61999996161/HLLib/GCFFile.h#L109

which should avoid any other false positives from Enemy Territory's md5b files.


#region Directory Header

// Try to parse game cache directory header for validity
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: Remove "for validity"

@mnadareski mnadareski merged commit ac6d93a into SabreTools:main Jul 12, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants