Relink Bitmaps
As featured in 3D World – August 2011
Download Relink Bitmaps v2.04
(Self-installing .mzp file, just run this script via: ”Maxscript->Run script”)
NEW: Anyone who can break Relink Bitmaps and cause the script to error will receive a free license if you can send me a file that it breaks on or can provide me with steps for how to recreate the problem.
Friends/Community,
This tool is available to the community for free, but I kindly request if you see the value in time this tool saves you, that you donate whatever you can to help me pay off student loans. Every donation helps immensely. I do however understand that we’re all in this mess somehow and I understand if you aren’t able to donate immediately at this time. To donate simply click the “Donate!” button on the script. I am suggesting $10 for an individual, but whatever you can spare will insure the future development of this script and updates.
Tested thoroughly with (32-bit and 64-bit): Max 2012, 2011, 2010, 2009, 2008, Max 9
New in Version 2.04
- Added an option to Relink All Bitmaps and not just missing ones. The checkbox “All Maps” should do the trick.
- Fixed a bug with the licensing system, if you have requested a license in the past and it wasn’t working, please email colin.senner@gmail.com your new request code (Generated by clicking the “Donate!” button). Old License files will continue to work, but they now have a new format
- Command Line support added for “All Maps” feature (check the FAQ at the bottom for syntax)
- The new version deletes your “Relink Bitmaps.ini” file because new features have been added to it, this is to prevent errors. Reconfigure manually.
- Fixed the icon not showing up properly after install (Thanks Artur)
Features:
- All 3dsmax supported Bitmap Texture types
- (new) Relinks Mental Ray Proxy files
- (new) Relinks VRay Proxies (.vrmesh)
- (new) Relinks VRayHDRI files
- (new) Relinks IES files (including VRayIES files)
- (new) Automatically checks for script updates and new versions
- 250% speed increase from previous versions
- Command-line mode available for automating repetative tasks (see documentation below)
- Configurable default user options saving button clicks and wasted time
Just a quick thank you to Christopher Grant at Scriptspot, and the users who have shared their time and ideas (and donations) to make this script better: brittnell, hongxu, fajar and others!
As always, thank you for everything and be well,
-Colin
Documentation:
To reset the configuration .ini file in the Listener window (Maxscript->MAXScript Listener) type and hit [enter]:
resetConfig()
To reset the position of the Relink Bitmap’s dialog window (in case it gets stuck off screen) type:
resetPosition()
Relink Bitmaps has the ability to run automatically via the command line, here is the syntax:
sceneRelinkBitmaps searchArr ignoreCase:[t/f] recursive:[t/f] undoOn:[t/f] lowMemory:[t/f] allMaps:[t/f] progress:[progressBar]
/* sceneRelinkBitmaps – Relinks bitmaps in the current scene
searchArr: an array of directories to search, ie. #(“C:/maps”,”D:/maps”)
ignoreCase: true or false
ignoreExtension: true or false
recursive: true of false
undoOn: true or false
lowMemory: true or false
allMaps: true or false
progress: progressBar link to update progress, will update the .value in this while it relinks */
If you’re having problems with the script run it and in the listener type:
setDebugMode on
and send me the output and what you did so I can track it down for you asap
Previous Changelogs:
New in Version 2.03
- Changed the script path to use the user’s local scripts path instead of “C:\Program Files\Autodesk\3dsMax 20##\”, this should eliminate problems with needing administrator rights to install the script.
- Added the option to ignore the file’s extension allowing you to relink .jpgs to .tifs with ease. Note: it will use whichever one it finds first.
- Corrected a bug with the “Find” button which would induce a crash if it was clicked with nothing in it.
New in Version 2.02
- Added a user requested option to delete all missing maps in a scene
- Fixed a bug with find a material producing an error
Older Versions:
Relink Bitmaps 2.0
Relink Bitmaps 2.01
Relink Bitmaps 2.02
Relink Bitmaps 2.03

Colin
Thanks for the script however I cannot get it to do anything I have max 2008 installed. It says Runtime error: $directory not recognized: maxSysIcons\ <<
Please could you advise
Cheers, all the best
Pete
If you could mail me that would be great whufc1980@aol.com Thanks
Hello,
i’m here to report a bug. The script works the first time i run it, then if i import an object with materials that have a broken path, if i reopen the script even if refresh, the list still appears empty. The temporary solution is to save and reopen the scene, then after getting the “missing bitmaps” popup alert, the script will work again. But i have to do this procedure everytime! :s This happened after updating the plugin to last version v2.04
Thanks anyway for your nice job.
Cheers!
S.
wohoew i breaked the script ^^ very simple -> empty scene, search directory: C:\\ and then max crashed. free license?
Colin!
Very cool Script, seems to work fine. Youl´ll get my donation
Wouldn´t it be great to add support for XRefs and their proxies?
I use these a lot, sometimes hundreds a scene…
Kind regards.
Sascha
Contacting you via email now to try and replicate this problem.
-Colin
Contacting you via email. If I can reproduce it, sure free license
.
-Colin
Contacted via email. (I do this to remind myself who I have and haven’t contacted). Support for xrefs? Hrm, I’ll have to think about it, it’s possible, but probably a huge overhead opening those scenes up as well as they have to be loaded for the plugin to work.
-Colin
Hi,
Thanks for your contribution, seems to be a great tool!
Any batch process available? Need to run it on multiples scenes…
Thanks
remy
Use this script to do Relink Bitmaps over a ton of max files:
http://www.scriptspot.com/3ds-max/scripts/batch-it-max
The documentation for Relink Bitmaps Command line is posted on my site! Enjoy.