MtI v1.0.9 Stable (updated 17th April 2008)

Announcements, requests and support regarding the MAYA exporter
User avatar
dougal2
Developer
Posts: 2532
Joined: Wed Nov 15, 2006 8:17 am
Location: South London

Post by dougal2 » Fri Apr 11, 2008 11:33 pm

Phr0stByte
The icons and render direct didn't work for me either. Sorry, I should have said that first :oops:

The render direct seems to be something to do with the linux native build - it worked OK whn calling through wine. I haven't had time to investigate why it's different yet. Running the generated mti_*_run.sh script manually launches the render fine, perhaps MtI just isn't calling the script properly.

As for the icons, I've no idea. It might have something to do with XBMLANGPATH in Maya.env, but I can't check right now what I have it set to.

User avatar
Phr0stByte
Posts: 395
Joined: Wed Nov 22, 2006 5:07 am
Location: Centreville, VA
Contact:

Post by Phr0stByte » Fri Apr 11, 2008 11:41 pm

dougal2
For Indigo with wine, untitled.xml.bat or whatever works fine, but linux has no idea what a .bat file is. Some kind of check needs to be in place to tell Mti rather to create a .bat or a .sh

User avatar
dougal2
Developer
Posts: 2532
Joined: Wed Nov 15, 2006 8:17 am
Location: South London

Post by dougal2 » Fri Apr 11, 2008 11:47 pm

MtI always generates .sh under linux and .bat under windows.

The .sh for wine is not the same as the .bat for windows.

If you really want to understand the differences, it's probably easier for you just to read mti_Gen.mel, near the bottom

Code: Select all

global proc mti_RenderProc(string $xmlFiles[])
{
 ...
Each of the different operating system cases and the code generated by each is laid out in this proc.

User avatar
Phr0stByte
Posts: 395
Joined: Wed Nov 22, 2006 5:07 am
Location: Centreville, VA
Contact:

Post by Phr0stByte » Fri Apr 11, 2008 11:48 pm

dougal2
Strange - mine is just creating the .bat without caring that everything is 100% linux native...

User avatar
dougal2
Developer
Posts: 2532
Joined: Wed Nov 15, 2006 8:17 am
Location: South London

Post by dougal2 » Fri Apr 11, 2008 11:50 pm

ok, that's interesting.

can you run the following MEL command and tell me it's output?

Code: Select all

 about -os;

EDIT: are you running Maya under Wine ?

User avatar
Phr0stByte
Posts: 395
Joined: Wed Nov 22, 2006 5:07 am
Location: Centreville, VA
Contact:

Post by Phr0stByte » Fri Apr 11, 2008 11:51 pm

dougal2
Sure thing. I will do this when I get home (At work).

User avatar
Phr0stByte
Posts: 395
Joined: Wed Nov 22, 2006 5:07 am
Location: Centreville, VA
Contact:

Post by Phr0stByte » Sat Apr 12, 2008 9:05 am

dougal2

Code: Select all

about -os
returns

Code: Select all

// linux64 //

User avatar
dougal2
Developer
Posts: 2532
Joined: Wed Nov 15, 2006 8:17 am
Location: South London

Post by dougal2 » Sat Apr 12, 2008 9:34 am

Well, that's what it should be. Are you sure it's creating .bat files and that they're not from an older version?
There are no .bat files on my linux64 setup. :? :?

This evening I have been creating an installer for MtI for windows.
It's actually kinda complex - the next step should be to build a script for linux that does the same. Now that I've worked out the logic in the windows installer, making the linux one behave the same shouldn't be a problem (actually I think that linux has some better tools, especially for some of the file search&replace functions that are necessary).

I've got 1 remaining issue to sort out with the installer, then I'll post it up here for people to test.

User avatar
dougal2
Developer
Posts: 2532
Joined: Wed Nov 15, 2006 8:17 am
Location: South London

Post by dougal2 » Sat Apr 12, 2008 10:25 am

update:
posted a link to the windows installer in the top post.

User avatar
dougal2
Developer
Posts: 2532
Joined: Wed Nov 15, 2006 8:17 am
Location: South London

Post by dougal2 » Sat Apr 12, 2008 10:45 am

note to self:
this looks like a good idea for the linux installer - http://www.linuxjournal.com/node/1005818

User avatar
Phr0stByte
Posts: 395
Joined: Wed Nov 22, 2006 5:07 am
Location: Centreville, VA
Contact:

Post by Phr0stByte » Sat Apr 12, 2008 11:48 am

dougal2
Yep - thats an idea...

On the .bat files, I'm not going to worry about it, as it only happens if I tick off direct render. As it dosnt work anyway, I just wont tick it.

User avatar
dougal2
Developer
Posts: 2532
Joined: Wed Nov 15, 2006 8:17 am
Location: South London

Post by dougal2 » Wed Apr 16, 2008 10:58 am

UPDATE:
posted link to linux installer script.

If anyone is brave enough to try this first version, be sure to make a backup of your ~/maya/ directory first!!

(but it should work just fine :) )

User avatar
Phr0stByte
Posts: 395
Joined: Wed Nov 22, 2006 5:07 am
Location: Centreville, VA
Contact:

Post by Phr0stByte » Wed Apr 16, 2008 11:44 pm

dougal2
I will definately give this a go when I get home.

User avatar
Phr0stByte
Posts: 395
Joined: Wed Nov 22, 2006 5:07 am
Location: Centreville, VA
Contact:

Post by Phr0stByte » Thu Apr 17, 2008 2:47 pm

dougal2
Damn it! I was stupid enough not to back it up...

I had to take shelf_Indigo.mel out for Maya to even start up - failed with a shelf error.

mti_Main; will not start mti - Maya says it cannot find it.

Pitty, I have just finished modeling a scene...

User avatar
dougal2
Developer
Posts: 2532
Joined: Wed Nov 15, 2006 8:17 am
Location: South London

Post by dougal2 » Thu Apr 17, 2008 9:13 pm

Phr0stByte
ok, that's interesting... obviously more testing required :(

Post Reply
47 posts

Who is online

Users browsing this forum: No registered users and 2 guests