Jump to content

  • Log In with Google      Sign In   
  • Create Account

Banner advertising on our site currently available from just $5!


1. Learn about the promo. 2. Sign up for GDNet+. 3. Set up your advert!






XNB file format documentation

  Posted by Shawn Hargreaves, 07 July 2011 · 573 views

XNA
Recent silence notwithstanding, I'm still here, and will have more to say about aliasing as soon as I find myself less busy!

In the meantime, check out this latest App Hub release:  http://create.msdn.com/en-US/sample/xnb_format

This article documents the format of the compiled data files (.xnb) produced by the XNA Game Studio 4.0 Content Pipeline build process. This information may be useful if you wish to write your own code to load .xnb files into a programming environment other than XNA / .NET, or if you wish to create .xnb files independently of the usual Content Pipeline build process.

It also includes an example .xnb parser, written in native C++, which demonstrates how to parse a compiled XNB file by printing its contents to the screen. This can be used as a reference to help you understand how to write your own XNB loader, and also as a debugging tool for investigating exactly what data is contained within an XNB file.

http://blogs.msdn.com/aggbug.aspx?PostID=10184280

Source




March 2015 »

S M T W T F S
1 234567
891011121314
15161718192021
22232425262728
293031    
PARTNERS