Yep, that's the way. Make sure you don't put weird files, I don't check really the extension (though, it ignores .zmtp), so it will takes all the files.
And this module is not about precaching !!
Special thanks for CHOOKER
Yeah, so much trouble with the initial version
, which was not complete. We have improved it day by day. It was a good opportunity for his project.
I was using the same tool as Cvar utilities to create hook and searching signatures, something grabbed from Orpheu and the hook from Jim's code.
But even though Jim's method is faster, you need to create more signatures, since you need to patch where the function is called, and the signature for SV_SendResources was not enough reliable ; and it's there CHooker comes. The method is with jmp resulting : no signatures needed for linux, and more reliable signatures for windows , and it's cool to have an unified library which does all this stuffs.