Jump to content
  • Advertisement
Sign in to follow this  

"xof 0303txt 0032" Anyone know what this line in .x means?

This topic is 4841 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Perhaps, magic?

"xof" = every .x file contains this so programs know it's an .x file
"0303txt" = to tell the programs it's ascii, not binary
"0302" = another thing to show it's an .x file


Share this post

Link to post
Share on other sites
Take a look here [wink]


The variable length header is compulsory and must be at the beginning of the data stream. The header contains the following:
Type Sub Type Size Contents Content Meaning
Magic Number (required) 4 bytes "xof " Version Number (required)
Major Number 2 bytes 03 Major version 3
Minor Number 2 bytes 02 Minor version 2
Format Type (required) 4 bytes "txt " Text File
"bin " Binary File
"tzip" MSZip Compressed Text File
"bzip" MSZip Compressed Binary File
Float size (required) 4 bytes 0064 64-bit floats
0032 32-bit floats

xof 0302txt 0064

So for you, you have an Ascii .X file that uses Major version 3, minor version 3, and has 32bit floats.

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!