ScriptSpot

Script

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

By loocas · 2013-03-04

Version
0.2beta
Version requirement
3ds Max 2009+
Date updated
2013-03-04
Download
Download
Description

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.

Tags: utility, asset, Path, manage, line, assets, external, repathing, repath, paths, cmd, command

Comments (2)

not compatible with max 2014

tarsonis · 2016-03-22

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

Repathing .mat files

SnipeyX · 2013-10-22

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?