News:

MegaGlests' game mods menu let's you install many new mods. Even more are available on the MegaGlest Wiki and the Mods forum.

Main Menu

[fixed] BUG REPORT, 3.3.7-svn1080, linux 32bit

Started by Andrew Clark, 10 October 2010, 04:50:23

Andrew Clark

when i'm starting game i have this error:

v3.3.7-GNUC: 40404-Oct  9 2010 18:28:07, SVN: [$Rev: 1079 $], [STREFLOP]
[2010-10-10 08:41:10] In [glest_game/global/config.cpp::getInstance Line: 122]
[2010-10-10 08:41:10] In [glest_game/facilities/game_util.cpp::getGameReadWritePath Line: 188] path to be used for read/write files [/home/andy/]
[2010-10-10 08:41:10] In [glest_game/facilities/game_util.cpp::getGameReadWritePath Line: 188] path to be used for read/write files [/home/andy/]
[2010-10-10 08:41:10] In [glest_game/facilities/game_util.cpp::getGameReadWritePath Line: 188] path to be used for read/write files [/home/andy/]
[2010-10-10 08:41:10] In [glest_game/global/config.cpp::getInstance Line: 126]
[2010-10-10 08:41:10] In [glest_game/global/config.cpp::getInstance Line: 130]
[2010-10-10 08:41:10] In [glest_game/facilities/game_util.cpp::getGameReadWritePath Line: 188] path to be used for read/write files [/home/andy/]
[2010-10-10 08:41:10] In [glest_game/facilities/game_util.cpp::getGameReadWritePath Line: 188] path to be used for read/write files [/home/andy/]
Startup settings are: debugSystem [1], debugNetwork [0], debugPerformance [0], debugWorldSynch [0], debugUnitCommands[0], debugPathFinder[0], debugLUA [0], debugError [1]
Opening logfile [/home/andy/debug.log] type = 0, currentDebugLog.fileStreamOwner = 1
[2010-10-10 08:41:10] *ERROR* In [glest_game/main/main.cpp::handleRuntimeError Line: 107] [Font not found.] gameInitialized = 0, program = 0x8316e38
******************************************************
    #2 An error ocurred and Glest will close.
Error msg = [Font not found.]

Please report this bug to contact_game@glest.org
******************************************************
START Closing logfiles
END Closing logfiles


debug.log file:

[2010-10-10 08:41:10] In [shared_lib/sources/platform/common/platform_common.cpp::findAll] scanning [data/core/menu/textures/logo*.*]
[2010-10-10 08:41:10] In [glest_game/global/core_data.cpp::computeFontSize Line: 188] fontsize orginal 12      calculated:10   
[2010-10-10 08:41:10] In [glest_game/global/core_data.cpp::load Line: 107] displayFontName = [-*-liberation-*-r-*-*-10-*-*-*-*-*-*-*] displayFontSize = 10
[2010-10-10 08:41:10] In [glest_game/global/core_data.cpp::computeFontSize Line: 188] fontsize orginal 12      calculated:10   
[2010-10-10 08:41:10] In [glest_game/global/core_data.cpp::load Line: 118] displayFontSmallName = [-*-liberation-*-r-*-*-10-*-*-*-*-*-*-*] displayFontSmallNameSize = 10
[2010-10-10 08:41:10] In [glest_game/global/core_data.cpp::computeFontSize Line: 188] fontsize orginal 14      calculated:10   
[2010-10-10 08:41:10] In [glest_game/global/core_data.cpp::load Line: 129] menuFontNormalName = [-*-liberation-*-r-*-*-10-*-*-*-*-*-*-*] menuFontNormalNameSize = 10
[2010-10-10 08:41:10] In [glest_game/global/core_data.cpp::computeFontSize Line: 188] fontsize orginal 20      calculated:15   
[2010-10-10 08:41:10] In [glest_game/global/core_data.cpp::load Line: 139] menuFontNameBig = [-*-liberation-*-r-*-*-15-*-*-*-*-*-*-*] menuFontNameBigSize = 15
[2010-10-10 08:41:10] In [glest_game/global/core_data.cpp::computeFontSize Line: 188] fontsize orginal 25      calculated:18   
[2010-10-10 08:41:10] In [glest_game/global/core_data.cpp::load Line: 149] menuFontNameVeryBig = [-*-liberation-*-r-*-*-18-*-*-*-*-*-*-*] menuFontNameVeryBigSize = 18
[2010-10-10 08:41:10] In [glest_game/global/core_data.cpp::computeFontSize Line: 188] fontsize orginal 18      calculated:13   
[2010-10-10 08:41:10] In [glest_game/global/core_data.cpp::load Line: 160] consoleFontName = [-*-liberation-*-r-*-*-13-*-*-*-*-*-*-*] consoleFontNameSize = 13
[2010-10-10 08:41:10] In [shared_lib/sources/sound/sound_file_loader.cpp::open Line: 162] path = [data/core/menu/music/intro_music.ogg] vi->version = 0, vi->channels = 2, vi->rate = 44100, vi->bitrate_upper = 0, vi->bitrate_nominal = 128003, vi->bitrate_lower = 0, vi->bitrate_window = 0
[2010-10-10 08:41:10] In [shared_lib/sources/sound/sound_file_loader.cpp::open Line: 162] path = [data/core/menu/music/menu_music.ogg] vi->version = 0, vi->channels = 2, vi->rate = 44100, vi->bitrate_upper = 0, vi->bitrate_nominal = 128003, vi->bitrate_lower = 0, vi->bitrate_window = 0
[2010-10-10 08:41:10] In [glest_game/main/program.cpp::init Line: 526]
[2010-10-10 08:41:10] In [glest_game/main/main.cpp::handleRuntimeError Line: 108] [Font not found.] gameInitialized = 0, program = 0x8316e38
[2010-10-10 08:41:10] In [glest_game/facilities/logger.cpp::cleanupLoadingTexture Line: 47]
[2010-10-10 08:41:10] In [glest_game/facilities/logger.cpp::cleanupLoadingTexture Line: 63]

If i understand correctly - megaglest is taking system fonts. but liberation fonts is installed on my system:
[andy@timelock ~]$ rpm -qa | grep liber
fonts-ttf-liberation-1.06.0.20100721-alt1
[andy@timelock ~]$

Where is my mistake? ;]

softcoder

We just fixed this in svn today. To fix your problem, edit glest.ini and change all instances of the word helvetica to a font you have on your system (like: fixed or you can use *)

Then retry running mega-glest.

Andrew Clark

Quote from: softcoder on 10 October 2010, 06:40:01
We just fixed this in svn today. To fix your problem, edit glest.ini and change all instances of the word helvetica to a font you have on your system (like: fixed or you can use *)

Then retry running mega-glest.
I'm follow your advice and fix my porblem. Thank you! But mouse cursor is not moving, when i'm in title menu.

softcoder

While this does not make sense that the mouse cursor isn't working, you may also try editing glestuser.ini and adding:

No2DMouseRendering=true