ScriptSpot

Script

BitmapPath in MatLib Relpacer

By YevhenK · Credited author: Evgeniy Kikelya · 2010-06-09

Version
1.00 beta
Date updated
2010-06-09
Votes
25
Download
Download
Description

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

Tags: Material, bitmap, editor, replace, manager, texture

Comments (1)

fferro · 2012-08-23

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