"Richard Brooks" <richardbrooks@[EMAIL PROTECTED]
> wrote in message
news:BfOdnUBxg7Gj1PPbnZ2dnUVZ8tOmnZ2d@[EMAIL PROTECTED]
> MSNothing said the following on 12/06/07 02:32:
>> "Richard Brooks" <richardbrooks@[EMAIL PROTECTED]
> wrote in
message
>> news:5dqdnW93iOW9WfDbnZ2dnUVZ8qKvnZ2d@[EMAIL PROTECTED]
>>> MSNothing said the following on 11/06/07 22:46:
>>>> "Richard Brooks" <richardbrooks@[EMAIL PROTECTED]
> wrote in
>>>> message news:dpGdnc8a2tg56PDbnZ2dnUVZ8trinZ2d@[EMAIL PROTECTED]
>>>>> MSNothing said the following on 11/06/07 14:58:
>>>>>> Is there a way (script or command) to change the filename extension
>>>>>> of all textures in a scene.
>>>>>>
>>>>>> I am im****ting a file that uses DDS for all textures in the scene,
I
>>>>>> would like to be able to easily change all the textures extensions
to
>>>>>> BMP, my application that I am ex****ting to does not sup****t DDS.
>>>>> You did of course do a keyword search in your browser using
something
>>>>> like "rename files batch" ?
>>>>>
>>>> I think you misunderstand, I am not talking about changing them in
the
>>>> directory, ala windows. I am talking about renaming them INSIDE the
>>>> .max file. ALA the scene
>>> That would require something like a hex editor with batch processing.
>>>
>>> If you find nothing then get back to me as I could knock something up
>>> for you. I'd had to do something similar to that with making multiple
>>> aircraft in 3DS4.
>>>
>> I have gotten very close, I can read each object, get the texture
>> assigned to it, using tokens, I can create the right filename, what I
am
>> lacking right now is the ability to write to the texture list. iow, to
>> actually change the name.
>
> It sounds similar to what I needed to make a squadron of aircraft. The
> program I had written initially wrote a duplicate file but differently
> named. Then, it scanned through that file for specific names and
> increased the material name index in that file.
>
> So, basically in this case you need a program that needs to scan the
file
> for ".DDS" and rename to ".BMP", whether it's an assigned texture or the
> texture name itself, is that correct ? That way you don't have to do
> anything because the assigned texture name still matches the texture
> filename.
>
>
> Richard.
>
>
> --
> "Initiative is punishable."
> Russian business saying.
Yes, I would like it in maxscript of course because it is a .max file


|