1. Post #1
    Gold Member
    DwarfOverlord's Avatar
    December 2010
    970 Posts
    Hi,

    My friend is currently trying to install MESA for maya (he has maya 13 64 bit). I've gone through how to install it with him, and checked all his file paths are right but this error comes up:
    // Error: file: C:/Users/(My Friend's Name)/Documents/maya/2013-x64/prefs/shelves/shelf_MESA_V1.mel line 32: Invalid flag '-flat'

    I've already googled this issue, but haven't had any luck. Has anyone gotten it working for Maya 2013 64?
    If so, any help would be greatly appreciated.

  2. Post #2
    Gold Member
    DwarfOverlord's Avatar
    December 2010
    970 Posts
    Does anyone anyone know what's wrong? Sorry for the bump.

  3. Post #3
    Rokay's Avatar
    February 2010
    42 Posts
    try deleting that '-flat' command from the shelf_MESA_V1.mel file using a text editor

  4. Post #4
    Gold Member
    DwarfOverlord's Avatar
    December 2010
    970 Posts
    Sorry for the bump, but after Rokay's advice worked, I have run into yet another error.
    Code:
    // Error: file: C:/Program Files (x86)/Steam/steamapps/sourcemods/Source Code/mesa/smdExport.mel line 1111: unable to open C:\Program Files (x86)\Steam\steamapps\sourcemods\Source Code\scenes\props for write
    The snippet of code that this error refers to is:
    Code:
     int $fileHandle = `fopen $smdFileName "w"`;
    if (!$fileHandle) 
    {
    error ("unable to open " + $smdFileName +  " for write");
    return 0;
    }
    Has anyone actually gotten this thing to work?