A CMD utility to externally re-path 3ds Max files

0 votes
Version: 
0.2beta
Date Updated: 
03/04/2013

This is a simple tool I wrote in IronPython and compiled to a usable .exe program for re-pathing or examining 3ds Max (.max and .mat) files without actually running 3ds Max.

It's pretty useful for batch re-pathing before rendering on render farms, for example. Or just to view what type of files are being linked in your .max and .mat scene files and material libraries, respectively.

Additional Info: 

Usage is simple, just call the repathMaxAssets.exe and supply your .max or .mat file. Without any parameters, it'll list all the assets (textures, caches, render output...) within that file.

When you provide the -p parameter followed by a path, the program will repath all the assets to that location of your choice and overwrite the file.

WARNING: there is no way, unfortunately, to distinquish what is an actual input file and what is the render output (for example), so every asset will get repathed to the exact same location!

Example: repathMaxAssets.exe C:\MySceneFile.max -p \\myServer\myProjectsFolder

The utility will list the repathed assets' paths afterwards for confirmation.

Version Requirement: 
3ds Max 2009+

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
tarsonis's picture

not compatible with max 2014

I thought I found the tool. But unfortunetly not compatible with 2014. Any updates planned?

SnipeyX's picture

Repathing .mat files

I am finding I need to repath a bunch of textures in a .mat and don't have a very good way of easily automating this, so I found your utility and looks to be exactly what I need! However when passing the .mat I need I'm getting an error that says, "The stream 'FileAssetMetaData2' seems to be missing."

Any ideas?

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.