Change Textures (Assets) Extensions

2 votes
Author Name: 
Alaa Alnahlawi

This small script will allow you to change the assigned texture extensions from one type to another either globally or to selected objects, the reason why I created this tool is you might face one of the following scenarios:

-you create your textures using PSD format you know it's easy to adjust and see the results straight away, but at the end you need to resave them in jpg or another format to use in a game engine for example. So let's say you have 20 psd textures applied to a couple of objects on a multi level and you automatically saved them in photoshop to jpg. Here you are going to face a hard time changing them in 3ds max. But with this script it's a press of a button.

-or you received a model with this case where your assigned textures in the asset tracking manager don't match the accompanied textures file type.



-Your file must be saved.

-Be careful this script overwrites the asset manager texture data of the saved maxfile, so you better have a backup copy

-Select the curent extention you have and the target one, then either press the "Change W" to change every thing in the asset tracking manager or select an object and press "Change S"

-You have to reopen the file to see the results, so if you applied the script you won't see any change

in the asset tracker unless you reopened the file.

Update 1.1:

-Error solved.

-Can understand lowercase and uppercase file format.

Update 1.2:

-If the file is not saved the script wont carsh and it will give a warning message.

-It will check if other versions of the script are open and close them before excuting.

-some cleanups.



Alaa Alnahlawi

Version Requirement: 
2007 an up
change_textures_extensions.ms4.01 KB
change_textures_extensions_1.1.ms4.24 KB
change_textures_extensions_1.2.ms4.67 KB