• ✨ ARCHIVE MODE ✨
    The forum has now been set to read-only mode, no new posts, resources, replies etc will not be possible.
    We recommend you join our Discord server to get real-time response: Discord Invite Link

Problems with XNB converting

Blureshadow

Starting Trainer
Not sure of I'm on the right thread, but why can't I convert XNB to png?
Code:
An unhandled exception of type 'Microsoft.Xna.Framework.Content.ContentLoadException' occurred in Microsoft.Xna.Framework.dll

Additional information: Error loading "chatFont". File contains Microsoft.Xna.Framework.Graphics.SpriteFont but trying to load as Microsoft.Xna.Framework.Graphics.Texture2D.
I use XNA GS 4.0 refresh version with VS2015
 

Tornado9797

Content Developer
P3D Developer
Global Moderator
Not sure of I'm on the right thread, but why can't I convert XNB to png?
Code:
An unhandled exception of type 'Microsoft.Xna.Framework.Content.ContentLoadException' occurred in Microsoft.Xna.Framework.dll

Additional information: Error loading "chatFont". File contains Microsoft.Xna.Framework.Graphics.SpriteFont but trying to load as Microsoft.Xna.Framework.Graphics.Texture2D.
I use XNA GS 4.0 refresh version with VS2015
Are you sure that you have both XNA 4.0 and .NET 4.5 installed?
 

Blureshadow

Starting Trainer
Are you sure that you have both XNA 4.0 and .NET 4.5 installed?
I have XNA 4.0 refresh, a version updated for Visual Studio 2015, which I do have installed, and the .net version is over that since I have win 10 (I tried downloading it just tobe sure and it told me I have a more updated version)
 
J

jianmingyong

Guest
I am sorry to say that window 10 do not support xnb converting to png as well. Windows 10 broke them all.
 

Blureshadow

Starting Trainer
Then can someone help me? I need the converted XNB files of fonts to png, and after I'm done with my font I'll need someone to convert them to XNB.
 
J

jianmingyong

Guest
Then can someone help me? I need the converted XNB files of fonts to png, and after I'm done with my font I'll need someone to convert them to XNB.
hmm. I don't remember you can convert a font xna file to png....
 

Blureshadow

Starting Trainer
is there a simple way to do this? I have the font in ttf format (or otf, I can't remember). I thought this was bmp fonts, not spritefonts. Is there a simple way to do it? Or a Program?
 
Top