Binary mdl model file format: Difference between revisions

From FreeAllegiance Wiki
Jump to navigationJump to search
(Hey guys, I'm using KGJV's AMT 2 source and mdl files to work out and document the mdl file format :) Will update as I make progress, then put appropiate links from other pages when ther is more done.)
(No difference)

Revision as of 21:40, 18 June 2010

This page details the internal file format of a binary .mdl model file.

IMPORTANT These files use Little Endian format for numbers.

Header

All .mdl files begin with the 32bit magic number 0xDEBADF00.

Due to the little endian storage of this the first four bytes in a file as seen with a hex editor are (in hex) 00,DF,BA,DE.