BitmapPath in MatLib Relpacer

25 votes
Version: 
1.00 beta
Date Updated: 
06/09/2010
Author Name: 
Evgeniy Kikelya

This script can replace all bitmap texture pathes in selected matlib file. You select Matlib file,select directory you want to set, select the bitmap texture directory path you want to replace and thats all. This my first script.

BE CAREFULL. It does not make backups, but uses A LOT OF MEMORY, so if it crashes your matlib maybe damaged. Example: replacing All Evermotion ArchShaders Vol.1 + Vol.2 pathes (in one file for all maps) takes near 2,5GB! Any help and suggestions how to solve this will be accepted. This my first script:)

P.S. sorry for my english

Comments

Comment viewing options

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

Hi EvgeniyKi, Thank you for

Hi EvgeniyKi, Thank you for you script.
I'm trying to use it with no success.
That´s what I get (at the listener) with a matlib recentry created (just 1 material with 1 bitmap)

"..\..\..\internet\3D\exterior\hq_plants_1.3\maps\apple_flower_01.jpg"
"Map #1"
"D:\documentos\SixtoTroya\azuqueca\max\sceneassets\images\hq_plants_1.3\{356CDC06-2C0A-4DB5-B798-8517CB947871}"

The first line is the original path of the bitmap
The second, it's name
The thirth one the name of the new path (as you can see, not the right path at the end of this line)

Thanks

Comment viewing options

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