Jump to content
  • Advertisement


  • Content Count

  • Joined

  • Last visited

Everything posted by zendo

  1. Hi, I tried to run demo and compile code downloaded from http://www.angelcode.com/dev/bmfonts/ Demo exe says "failed to initialize". log.txt: ... acgfx_font.cpp | 933|Unrecognized format for 'data/comic24.fnt' application.cpp| 42|Failed to initialize font 'data/comic24.fnt' (-1) acframe_applica| 160|Application specific init failed (-1)   Source code had an error (VS 2010) but it was easy to correct (by declaring int n outside of "for"). However, when built, application also failed to initialize. Log: ... acgfx_graphics.| 342|Available render target format: L16 acgfx_graphics.| 633|Effect file 'data/font.fx' failed to compile (0x88760B59) acgfx_font.cpp | 135|Failed to load 'data/font.fx' (-1) application.cpp| 40|Failed to initialize font 'data/arial24.fnt' (-1) acframe_applica| 160|Application specific init failed (-1)
  2. zendo

    BMFont Demo (exe and source) don't work

    1. It works well. Thank you, Andreas. Maybe only some glitch, when we resize a column narrow enough (see pic).   2. I managed *.sln to be opened in VS 2010, changing two upper lines: Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio Express 2012 for Windows Desktop to Microsoft Visual Studio Solution File, Format Version 11.00 # Visual Studio Express 2010 for Windows Desktop And set "Property Pages" - "VC++ Directories" - "Platform Toolset" to "v100", to find all include files.   3. Now I can think how to make letters look outstanding. (In my future epic programs). With some coloring and shading of edges, probably. I thought of some tags to change colors inline, like <#RRGGBB> or <#RRGGBBAA>, but likely it's better not to make things complex and let the program make separate calls for different colors.
  3. Hi, I downloaded the source code of BMFont from http://svn.code.sf.net/p/bmfont/code/trunk and installed in standard folder for VS 2010 projects, My Documents\Visual Studio 2010\Projects\BMFont.   When I open main.cpp or other files of the solution, the errors are shown on all the standard includes:   "cannot open source file windows.h", and so on.   Other my projects find all includes. In "VC++ Directories" of "bmfont Property Pages" there are the settings for include paths:   C:\Progs\Sys\DirectX SDK\Include;$(VCInstallDir)include;$(VCInstallDir)atlmfc\include;$(WindowsSdkDir)include;$(FrameworkSDKDir)\include;$(DXSDK_DIR)Include   It seems everything should work, but it doesn't. Why? Does bmfont somehow rewrites standard variables such as $(VCInstallDir)? How to check or correct that, I don't know. I'm rather new in all this. Could you help? Thank you.
  4. I have set "bmfont Property Pages" - "VC++ Directories" - "Platform Toolset" to v100, as in my other projects, instead of v110. I hope it's OK. It seems that solved the problem.
  5. zendo

    BMFont Demo (exe and source) don't work

    OK, thanks! That demo is very important to me, because I want to learn how to use bitmap fonts, not how to create them. :)
  • Advertisement

Important Information

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

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!