MB Resource Collector
This script is something like a replacement for the File > Archive... function found in 3ds Max. It will collect ALL assets currently used in the scene file into one common directory, optionally changing/removing path names. This includes final gather maps, photometric files, environment maps, bitmaps used in a displacement modifier etc., basically everyhting that is listed in the Asset Tracking System will be collected, too.
This is useful if you want to send your entire scene with all required files to someone else in one flat folder.
Optionally, the script can change the asset path names to match the new location, either as absolute or relative path names. It can also include the currently open .max file and create a .zip archive from all collected files in one go.
This script is a classic Utility script, so you just run it using MAXScript > Run Script... from the main menu. Afterwards, you will find it in the MAXScript Utility dropdown list, from which you can select it to execute it.
It is currently in beta, so please inform me of any issues you encounter. Any other feedback welcome, too. Right now, the script is encrypted due to it's beta nature, but I am planning on uploading the unencrypted version, too, once I get some beta testing feedback.
- Option to open Windows Explorer in target folder after operation
- Will ask user for confirmation when encountering a file larger than 100 MB
- Saves all settings to config file
- Creates subdirectories for different asset types, comes with editor for specifying filters
- New 'run this command afterwards' feature that will execute a MAXScript command after all assets were collected (e.g. for automatic uploading of the archive)
- New option to rename assets if target file already exists (important when using multiple assets with the same name from different directories!
Currently known issues
- ZIP archive contains full path hierarchy (might be a security issue?!)
- will not recurse into IFL or XML pointcaches
- will also collect output assets, e.g. an AVI from the Render Output > Save File slot