Difference between revisions of "MMH"

From Dragon Age Toolset Wiki
Jump to: navigation, search
(option)
Line 21: Line 21:
 
(coming soon)
 
(coming soon)
  
[[Category:File formats]]
+
[[Category:File types]]

Revision as of 18:07, 18 September 2009

MMH ("Model Mesh Heirarchy") files are used to describe a wide variety of physical objects that appear in Dragon Age levels. It includes props, visual effects, creature models, weapon models, and so forth.

MMH files are defined by XML files named with the .mmh.xml extension. BioWare generated these XML files using 3DSMax plugins that have some legal encumberances preventing their distribution, but the specifications for .mmh.xml will be released and it is hoped that converters will be able to be written for other file formats.

The XML file is then run through the GraphicsProcessorMMH program to produce a binary file that is used by the game. The game can actually use the XML file directly, but this has poor performance (it runs it through GraphicsProcessorMMH every time the object is loaded) and should only be used for testing purposes.

GraphicsProcessorMMH.exe [-outdir <out-dir>] [-platform <x360,pc,ps3>] [options] [-indir<input-directory> / <input-file>]

Other options include:

-byteswapgff[Undocumented]

This is the command line you'll typically need:

GraphicsProcessorMMH -outdir %ls -platform pc %ls.mmh.xml

MMH files reference MSH (mesh) files to define the actual triangles and vertexes used in models.

mmh.xml schema

(coming soon)