Original Post
Not sure how many of you have been faced with the challenge of figuring this out, but I recently have, and I figured that somebody out there might appreciate this tutorial in the relatively near future - Installing the .x exporter for Maya 7.0 - After making sure that both Maya 7.0 and the Microsoft DirectX SDK (February 2006) are installed, the following needs to be done to be able to export .x files from Maya if the SDK does not automatically install the needed files for you (which happened to me and also apparently happened with the computers at school as well): 1) Copy from C:\Program Files\Microsoft DirectX SDK (February 2006)\Utilities\Bin\x86\dxcc.dll to C:\Program Files\x86\dxcc.dll /* The following three files can be found in the zip file found at http://www.quest3d.com/download/Maya_7.0_X_Exporter.zip instead of searching around through the SDK if you prefer */ 2) Copy from C:\Program Files\Microsoft DirectX SDK (February 2006)\Utilities\Bin\PlugIns\Maya\Binary7\Plug-ins\D3DMaya7ExportX.mll to C:\Program Files\Alias\Maya7.0\bin\plug-ins\D3DMaya7ExportX.mll 3) Copy DirectX.mel, DXMUnitTests.mel, and AEDirectXShaderTemplate.mel from C:\Program Files\Microsoft DirectX SDK (February 2006)\Utilities\Bin\PlugIns\Maya\Binary7\Scripts to C:\Documents and Settings\username\My Documents\maya\7.0\scripts 4) Copy DirectX.xpm and render_DirectXShader.xpm from C:\Program Files\Microsoft DirectX SDK (February 2006)\Utilities\Bin\PlugIns\Maya\Binary7\Icons to C:\Documents and Settings\username\My Documents\maya\7.0\prefs\icons /* If for some reason the directory structure on your system is setup differently than mine (like at school), then you can use the commands "internalVar -usd" to see where to put the MEL files and "internalVar -ubd" to see where to put the XPM file. */ 5) Last but not least, you need to load the D3DMaya7ExportX plug-in for Maya by going to Window -> Settings/Preferences -> Plug-in Manager and selecting the box labeled "loaded" to load it then and "autoload" so that it will automatically load whenever Maya starts up. Hopefully this works for everyone. It was a bitch to figure this all out, because Microsoft wasn't exactly kind enough to spell this out. As I learn more about the process of dealing with the DirectX Shaders in Maya and properly rigging and animating for exporting to the X format in Maya, I'll add that info here.