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.
v0.2 update
- 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

Comments
.
Copy the mb_resource_collector03a.mse into maxRoot/scripts folder.
In any text editor(Notepad, Notepad++, etc.) create a new file and paste this :
macroscript mb_resource_collector
category:"Martin Breidt"
tooltip:"MB Resource Collector"
buttonText:"MB Resource Collector"
(
filePath = getDir #scripts + "\\mb_resource_collector03a.mse"
if doesFileExist filePath do
fileIn filePath
)
and save the file as mb_resource_collector0.mcr. Then, drop the mb_resource_collector0.mcr onto any viewport, go to Customize - Customize User Interface - "Martin Breidt" category and you will find a macro to run the script.
Tools and Scripts for Autodesk 3dsMax
Please release a permanent installer!
I downloaded mb_resource_collector03a.mse from your web page, it works fine and thanks for it, but using it repeatedly forces the annoying steps of installing it every time.
If I put it in the startup folder, the annoying installation done window appears every time when 3ds max is loaded.
This is an important limitation to use it recursively.
move assets
Hi, Thanks for the great script....
I would really like to move assets instead of copying them, but the copy move bullets are greyed out for me. Is there any way to do this?
Exporting diffrent file type.
can you please add strip all path checkbox?
Also Its a good idea to exporting function.
Hi Martin, Thanks for great
Hi Martin,
Thanks for great collect tool!
Is it possible to add some extra option? - like save in different .max format and extra .obj (or other)
So we have possibility to have three files saved *.max, *_2014.max (or other), *.obj (maybe add tick box for those extras)
Thanks in advance.
Thanks
Replace the built in rc
Thanks a lot for this script. I've some crash issue with the built in resource collector in max2012 but this script saved my life. :)
Good Script however Im stuck
Good Script however Im stuck with Max Version 8 for now. Could you make this work for Max Version 8?
Hi Mate! Great script!!!
Hi Mate!
Great script!!! really helps :)
Could you please make one as DialogBox window. It's not always comfortable to go to Utilities > MaxScript.
Thanks!
huh, enough money? r u
huh, enough money? r u kidding? :) we're talking about that 18 buks? it's the smallest sum that i pay for my cellphone
for Tertium thx for promo
for Tertium
thx for promo but I don't have enough money for your tool.