BMFont. Tool to convert fnt file from xml to text format. (SOLVED)

I was working on a project with Bitmap fonts.
So I had fnt + png files, but defold did not understand them. It turned out, that fnt file was in xml format and defold only reads text format.
I did not find a way to make ShoeBox or Hiero or Bitmap Font Generator do the convertion for me. Though they read the xml version without problems.
So I wrote simple converter on c#. And I upload it here, in case someone ever need it.FontXmlToTextConverter.zip (31.5 KB)
I used Visual Studio 2015 Community Edition to build it. This archive has both source code and exe file for lazy ones.

6 Likes

Works great with the output from this website that generates bmfont xml output.

https://hahahoho.studio

1 Like

Contacted the author of the web tool, and he added txt output that supports Defold!
I love the internet!

https://bmfont-web.hahahoho.studio

4 Likes

Yay, good job!

1 Like