Multi/Sub-object to VrayMultisubTex converter?

I have hundreds of of objects downloaded from turbosquid that were premade with vray and setup with multi/sub object materials. Vray GPU doesn’t support multi/sub object materials inside blend materials. I cannot convert them manually. Does anyone have a script that will do the job?

Thanks a lot!

L

although now i think about it, that probably wouldn’t work anyway as one is for textures only and the other is multi material. is there a workaround for this?