Alpha

From wowdev
Revision as of 20:47, 20 July 2009 by Unknown user (talk) (→‎MDX)
Jump to navigation Jump to search

This site contains information about the alphafiles

WDT

In the Alpha the ADTs and the WDT were just one big file with this structure:

'MVER': See the new files

'MPHD': "

'MAIN': "

'MDNM': Filenames Doodads

'MONM': Filenames WMOS

'MCIN': 256 Entries, so a 16*16 Chunkmap

'MTEX': See the new files

'MDDF': "

'MODF': "

'MCNK': contains Heightmap(?),MCLY and MCRF

WMO

Againg one big file: This is, what now is stored in the Rootfile

'MVER'

'MOMO'

'MOHD'

'MOTX'

'MOMT'

'MOGN'

'MOGI'

'MOPT'

'MOPR'

'MOLT'

'MODS'

'MODN'

'MODD'

'MFOG'

'MCVP'

And this is what now is stored in the Groupfiles

'MOGP'

'MOPY'

'MOVT'

'MONR'

'MOTV'

'MOLV'

'MOIN'

'MOBA'

'MODR'

'MOBN'

'MOBR'

'MOCV'

'MOLM'

'MOLD'

repeatet n-times, where n is the number of what now is groupfiles.

MDX

The old Model-Format, it's a lightly modified WC3-Modelformat. ChunkedStructure

'MDLX' Identifier(no chunk size!)

'VERS' 0x514 Version Chunk

'MODL':

  • char Name[80];
  • char AnimationFileName[260];
  • float BoundsRadius;
  • Vector3D MinimumExtent;
  • Vector3D MaximumExtent;
  • int BlendTime;
  • char unk;//oO

'SEQS'

  • int nSequences;

array[nSequences] of:

  • char Name[80];
  • int IntervalStart;
  • int IntervalEnd;
  • float MoveSpeed;//only for animations were you move
  • int Flags; //0 - Looping 1 - NonLooping
  • Vector3D MinimumExtent;
  • Vector3D MaximumExtent;
  • float Rarity;//?
  • int SyncPoint;//?
  • float BoundsRadius;//?
  • int unknown;//?
  • int PlaybackSpeed;//?

'GLBS'

  • int GlobalSequence;

'MTLS'

  • int nMaterials;
  • int unk;

array[nMaterials] of:

  • int InclusiveSize;
  • int PriorityPlane;
  • int Flags;
  • int InclusiveSize2;
  • int FilterMode;
  • int ShadingFlags;
  • int TextureId;
  • int TextureAnimationId;
  • int CoordId;
  • float Alpha;

'TEXS' array of:

  • int ReplaceableId;
  • char FileName[260] ;
  • int Flags

'GEOS'

  • int nGeos;
  • int unk;

array[nGeos] of:

  • char vert[4];//'VRTX'
  • int NrOfVertexPositions;
  • Vector3D vpos[NrOfVertexPositions];
  • char norm[4];//'NRMS'
  • int NrOfVertexNormals;
  • Vector3D vnorm[NrOfVertexNormals];
  • char uvas[4];//'UVAS'
  • int NrOfTextureVertexGroups;
  • Vector2D unk[NrOfVertexNormals];
  • char ptyp[4];//'PTYP'
  • int NrOfFaceTypeGroups;
  • char FaceType[NrOfFaceTypeGroups];
  • char pcnt[4];//'PCNT'
  • int NrOfFaceGroups;
  • int NrOfIndexes[NrOfFaceGroups];
  • char pvtx[4];//'PVTX'
  • int TotalNrOfIndexes;

local int TotalNrOfFaces = TotalNrOfIndexes / 3;

  • Triangle Face[TotalNrOfFaces] ;
  • char gndx[4];//'GNDX'
  • int NrOfVertexGroups;
  • byte MatrixGroup[NrOfVertexGroups];
  • char mtgc[4];//'MTGC'
  • int NrOfMatrixGroups;
  • int MatrixGroupSize[NrOfMatrixGroups];
  • char mats[4];//'MATS'
  • int NrOfMatrixIndexes;
  • int MatrixIndex[NrOfMatrixIndexes];
  • char bidx[4];//'BIDX'
  • int nBidx;
  • int Bidx[nBidx];
  • char bwgt[4];
  • int nBwgt;//'BWGT'
  • float Bwgt[nBwgt];
  • int MaterialId;
  • int SelectionGroup;
  • int SelectionFlags;
  • float BoundsRadius;
  • Vector3D MinimumExtent;
  • Vector3D MaximumExtent;
  • int NrOfExtents;
  • Vector6D Extent[NrOfExtents];
  • float unk_[15];

'BONE'

'KGRT' Animated geoset rotation

'WOQC'

'KGSC' Animated geoset scaling

'PIVT'

'CAMS'

'EVTS'

'KEVT'

'NRMS'