ScriptSpot

Forum topic · General Scripting

Converting selected material editor to .ini file or something that can be edited

By fajar · 2012-02-05

Description

Hello everyone, I have a question , does it posible to converting selected material editor (parameter, eventho it has many sub or it multisub) to ini file so I can import/read it n recreate it in lower max version using those script, I ve seen it bobo BFF file format converter...but still dont know how it work.....

Thank you very much

Best regard

Fajar

Comments (5)

use .mat export

Anubis · 2012-02-08

Hey Fajar,
this is a tedious task for scripting, with data lost anyway, but you can use the native .mat format 'cause it is a version independent. So no scripting necessary at all. * Note that if you have newever mat/maps (not backward compatible) you should convert them in place (before export) anyway. In some cases using OBJ exporter may save your time for converting materials, but its a dirty (Plan-B) method.

fajar · 2012-02-05

Thank you brot for input....dont know how far it can be, cos Im not maxscripter

br0t · 2012-02-05

as far as I remember, there should be methods to get ALL parameters of a material, and you could save them as strings to a file, then in your older max version, load them from there and create a material from the same type, then try to set all parameters the same, if they exist. I guess that is an issue that arose many times in the past, so maybe there is a script for this already, does anyone know?

br0t · 2012-02-05

Hey, I don't know of any existing script that does this, but it should be not much of a problem with MXS - just an awful lot of work :(