Compiling a large number of textures

Has someone already made a program for compiling a large number of textures in vmat?
If so, I really need it.

Wonder why that would be, can’t you do it manually? It takes just a couple of seconds, how are you putting out so many materials in such a short amount of time that you need a mass compiler.

I have a map (model from the game) and there are a lot of textures there, for this I need a texture compiler.