Collect Asset

30 votes
Version: 
2.097
Date Updated: 
05/04/2019

This script collects textures and other files used in the scene in one folder. Check for the same file names.
It is free script.

Additional Info: 

check files

This script work with:
- standart materials
- Vray Render
- Corona Render
- Octane Renderer
- Redshift Render
- FStorm Render
- Final Render

for installing select menu Scripting -> Run script... and select dowloaded file. Find it in Customize -> Customize user interface -> Toolbars. Category: # Scripts. Restart 3ds max for update script icon.

Tested on 3ds max 2016, 2017

contact to me e-mail: [email protected]. skype: anton_mor

You can donate for this script

Для русскоязычных есть тема на форуме http://3ddd.ru/forum/thread/show/skript_collect_asset#

Please write if you find errors

I leave old version of scipt (collect_asset_v1.55) because it use other algoritm and work with standart max Asset Tracking. And in some time it can see files, who not see version v2.x

new in v2.097
- add support V-ray volume grid files
- add search missing textures in subfolders
- add button "settings"

new in v2.096
- fix error with DotNet

new in v2.095
- add classes for Red Shift render

new in v2.094
- collect LUT from corona camera
- collect BIP files from Biped Motion Flow
- now with function Collect Files + relink, if files already are present in folder then they will be relinked.

new in v2.092
- add some classes for collecting
- add Button "Del RE Paths"

new in v2.09
- add support Final Render
- fix problems with Redshift
- add BitmapHDR class for collecting
- add Strip paths button
- fix some small issues

new in v2.08
- add support FStorm Render and Redshift Render

new in v2.07
- increase speed collecting assets from lights
- fix some errors

new in v2.06
- fix some errors

new in v2.05
- add function to seek textures

new in v2.04
- add Octane render files
- can collect files from ifl sequence
- can collect point cache
- compare files with identical names by checksum
- increase scan assets speed after operations in script
- add checkbox for automatical repeat action in Match Bitmaps window
- add logging
- fix some errors

new in v2.03 - add function "copy max file"

v2.02 - Write new engine for script. Now not use Asset Tracking. Now script work with map classes as VRayBMPFilter, Camera_Map_Per_Pixel. Work with maps in xref files, collect textures and update xref files.
This version not rewrite older version and install as new script in 3ds max.

v1.55 - add function for rename russian symbols to english in file names

v1.54 - add button "Make Archive". Now can make 7zip or zip archive directly from 3ds max

v1.52, v1.53 - fixes some errors

v1.51 - now can collect from selected objects only
           - excludes textures are not used in the scene

v1.5 - now can delete missing paths

v1.4 - fix error with new not saved scene

Video URL: 
AttachmentSize
collect_asset_v1.55.mzp725.1 KB
collect_asset_v2.07.mzp740.67 KB
collect_asset_v2.096_.mzp744.88 KB
collect_asset_v2.097.mzp745.37 KB

Comments

Comment viewing options

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

finalRender R3.6 support

Amazing script, thank you for your work.
Since i use finalRender R3.6 some maps (related to renderer) are still not collected. Could you please add support for fR? I am ready to assist with any MXS property of fR that you might need. Thank you very much.

nnq2603's picture

Awesome Antomor!

Great works, man. Xref now works like a charm. Also setpath function works well for both master file and Xref files without even open and run script inside Xref files. Great. You manage to modify metadata of asset paths from outside in a free script (the function was documented and appears in pay-scripts but for free seem only your one here), awesome! Thanks again, Antomor.

thanulee's picture

cheers!

Fantastic mate! saved my day!

zahidhasan's picture

feature request

A very powerful script.How do you manage the rollout?
Thanks a lot for your effort.

feature request:
A button to save the last used options.
auto naming and location of the zip file according to max filename.
one click execution without any dialogbox.

Nereu's picture

Xref

Hello
Wonder of script.
I would like it to have a button (on / off) with no collect xrefs option. It's possible? Thank you

antomor's picture

re: What about ies file

Script collect and archive ies files. If you have a problem with script, please write to me in skype or e-mail

tahir1983's picture

What about ies file

What about ies file archivation ability! will be it possible in further!?

antomor's picture

Re: Problem with file contain Xref scene

Thank you for bug report. Fix problem with archive xref assets in v2.04

nnq2603's picture

Problem with file contain Xref scene.

"add button 'Make Archive'. Now can make 7zip or zip archive directly from 3ds max"
This feature sounds great. I appreciate this addition so much 'coz I was searching about method to replace maxzip with external compression tool and hardly find a solid solution. Closed method that I use nowaday was a rarproxy.bat with code:

@echo off
for /F "tokens=1 delims=." %%A in ("%1") DO SET blah=%%A"
call "C:\Program Files\WinRAR\"rar.exe a -m5 -ep %blah% %2

And replace maxzip with rarproxy in Preference Settings panel. But I tried the same way for 7-zip without success. You got this 7z archive is very nice. But I try on my project with a master *.max file and other *.max Xref file, your archive function (that button) doesn't work correctly, it couldn't collect and compress all assets, seemingly it only compress asset directly refer in master file not Xref ones. The previous method I mentioned above work well with Xref. The number of asset (bitmap texture, IES, vrmesh, etc...) display in your script main UI is not so different compare to 3dsmax buildin Asset Tracking but the Archive button with 7z function doesn't seem to work with that amount of asset, the final compressed files lost 2/3 amound of assets. (full rar archived 2.3GB, your script 7z mode ~ 1.5GB, number of files ~1500 for full one, and yours ~500 files or something along the line)

So I note you about that problem as a bug. Maybe when you've got spare time you could take a look and might fix it. Thanks for reading.

amir3dsmax's picture

error with VRayBmpFilter is missing

same error when scene file contain VRayBmpFilter with missing image

Comment viewing options

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