Code snippet request
-
Would someone be kind enough to help me write what I think will be a very short ruby script?
I have a library of about 5000 SU models and I need to loop thru that list and for each of the materials replace the source file extension of .tga with .bmp. If there is a path to the file I need to edit that too. As you can imagine it would be an impossible task to do by hand.
I've found a script that loops thru a directory of files so I figure I can "borrow" that code but I don't know what to do about editing the materials values.
Advertisement