Fandom

Scratchpad

CoH/FoldMODL/FoldMESH/FoldMGRP/FoldMESH/FoldMRGM/DataDATA

< CoH/FoldMODL | FoldMESH | FoldMGRP | FoldMESH | FoldMRGM

227,111pages on
this wiki
Add New Page
Discuss this page0 Share

Found in:

Structure

Chunk Header

  • 4 bytes - Chunk Version (longint)
  • 4 bytes - Chunk Size (longint) (size in bytes)
  • 4 bytes - Chunk Name Length (longint)
  • 4 bytes - Unknown
  • 4 bytes - Unknown
  • 'Chunk Name Length' bytes - Chunk Name (string)

Chunk Data

  • 1 byte - Unknown
  • 4 bytes - Number of objects (longint)
  • Number of object blocks - 'Number of Objects'

Variable bytes - Object Block


  • 4 bytes - Number of vertices in object (longint)
  • Number of face blocks - Number of vertices in object divided by three
19 bytes - Face Block
 * 2 bytes - Face vertex ID 1 (shortint)
 * 2 bytes - Face vertex ID 2 (shortint)
 * 2 bytes - Face vertex ID 3 (shortint)
 
 * 4 bytes - Unknown (float)
 * 4 bytes - Unknown (float)
 * 4 bytes - Unknown (float)
 * 1 byte - Unknown (boolean)
  • 4 bytes - Object Name Length (longint)
  • 'Object Name Length' bytes - Object Name (string)

  • 4 bytes - Number of unknown blocks (longint)
12 bytes - Unknown Block
 * 4 bytes - Unknown (float)
 * 4 bytes - Unknown (float)
 * 4 bytes - Unknown (float)

Variable bytes - Vertex Block


  • 4 bytes - Number of vertices (longint)
  • 4 bytes - Vertex size (longint) (number of bytes in each vertex block)
  • Number of vertex blocks - Number of vertices
Variable bytes - Vertex Block
 * 4 bytes - Vertex x coordinate (unsigned float) (needs to be made negative)
 * 4 bytes - Vertex z coordinate (unsigned float) (need not be negative)
 * 4 bytes - Vertex y coordinate (unsigned float) (needs to be made negative)
 * 'Vertex size-12' bytes - Unknown

Variable bytes - Material Face Block


  • 4 bytes - Unknown
  • 4 bytes - Unknown
  • 4 bytes - Unknown
  • 4 bytes - Number of vertices making up the faces connected to this material (longint)
  • Number of face blocks - Number of vertices divided by three
6 bytes - Face Block
 * 2 bytes - Face vertex ID 1 (shortint)
 * 2 bytes - Face vertex ID 2 (shortint)
 * 2 bytes - Face vertex ID 3 (shortint)
  • 4 bytes - Material Name Length (longint)
  • 'Material Name Length' bytes - Name of the Material that these faces are attached to (string)

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.