Collect Asset

41 votes
Version: 
2.099e
Date Updated: 
03/14/2024

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: Xiruim.

Tested on 3ds max 2024. must work with oldest versions too

contact with me e-mail: [email protected]. telegram: https://t.me/xiruim

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.099e
- fix error with OSLMap

new in v2.099d
- fix some errors

new in v2.099c
- New itstaller. Now you can install/update script or delete.
- Now you need press Refresh button for activate functions of script. You can change this in settings
- You can choise in settings default format for archive, zip or 7zp
- Add choise version of 3ds max file when create archive
- if you make archive for selected objects script will reset render settings, clean matedit, remove background in saved scene
- add new classes of assets
- fix some bugs

new in v2.099b
- New installer. Now script installed to "Xiruim" category. Old script will be deleted. You need again create a button on you panel
- Update design. Thanks for this users phil_b and LAS
- In settings you can choise a language for hints. English or Russian.
- add class Redshift Sprite
- add a subfolder field
- fix some errors

new in v2.098
- add option for exclude xref files from collecting

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
collect_asset_v2.098.mzp745.64 KB
collect_asset_v2.099b.mzp746.48 KB
collect_asset_v2.099c.mzp770.54 KB
collect_asset_v2.099d.mzp770.8 KB
collect_asset_v2.099e.mzp770.81 KB

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
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

antomor's picture

Re

Yes. I repeated this error on my test scene. Now i try fix it. Thanks

amir3dsmax's picture

when map is missing

sorry i forgot to mention error occurred when map is missing

AttachmentSize
error.jpg 395.33 KB
antomor's picture

Re: VRay_Lens_Effects

I test this, and in my scene it work fine. You can give me screenshot of this error? And maybe you file for testing. Send please to [email protected]
Thanks for the comment.

amir3dsmax's picture

VRay_Lens_Effects

error when scene file contain VRay_Lens_Effects image

antomor's picture

Re ERROR

Thank you for this comment. I try fix this error in new version.

3dwannab's picture

ERROR

When I check copy max file and selected objects only and press collect file it creates an error as shown.

Using max 2016.

AttachmentSize
2016-02-28_16-12-12.jpg 19.8 KB
krukovetsvp@gmail.com's picture

RE: Ресурс

Огромное спасибо. Не нашёл "Donate". Куда можно отблагодарить? :)

antomor's picture

RE: Ресурс

Сделаю вариант сохранения сцены в папку, как если бы сделали Save as... в максе. А для выделеных обьектов будет аналог команды Save selected...
Думаю скоро добавлю эти изменения.

Comment viewing options

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