[Closed] Map Parser?
hy folks,
i know that there are map replacer…by blur and others. BUT is there a replacer wich parses thru a scene and seeks for certain files like *tga and erplaces tehm with certain files like *.jpg if the filename is the same?
like if i have a scenen with like 100 maps. some are tiff, some tga, some psd…now i want all the tgas to be replaced with *.jpg files with the same name. rust.tga > rust.jpg
i allready tried the PEN replacer but wasn´t satisfied with it´s functionality
PEN_ReplaceMapPaths.mcr
hope that there is one allready and i was just stupid enough not to find it
regards
anselm
My script is about as old as MAXScript itself (it was originally written for Max 2.0!!!)
Even in its latest version for Max 3.0, it was still a Utility, but it does what you want:
http://www.scriptspot.com/bobo/mxs2/replacepath/replacepath_11.ms
Enter
.tga
in the Old field. Enter
.jpg
in the New field. Press “REPLACE MAP PATHS” and all *.tga will be replaced with *.jpg
The script can perform other things too – if you leave the two fields empty, all paths will be removed and just the bitmap filenames will be left. This can be useful when moving to a new machine and trying to use new general Map Paths instead of the stored paths.
You can also replace ALL paths with a single path (while keeping the file names) by entering just a new path and leaving the Old field empty. So if you moved a scene to a new machine and you have a single path with all the textures needed, you can specify them instantly.
Specifying both Old and New does a sub-string search and replace, that’s why the DOTS in the above example are necessary, otherwise the script would detect things like “Stuttgart” and replace the substring to “Stutjpgrt”
hey Bobo!
As allways thank you very much
allready tried another script called BitMapParameterChanger that does the job as it seems.
thanks for the rich explanation! i will keep that in mind
greets from stuttgart and the black mountain staff. you saved us some time and of cause my nerves
anselm