Return to FLARE!
Sunday, January 27, 2013 - 09:58
Hello everyone, I'm back to the forums FLARE after a long time, and I downloaded the new version (0.18) with the new gear I found a great decision by the staff put more pieces to the kit, my congratulations .
After I got off the source, compile it with Dev C + + (all perfect) when I try to start the game will not let me play, says "Enable a core mod to continue". I look stdout.txt file but gave me no problem (remember that the last time if I knew any).
Any suggestions?
Greetings!
Are you sure you've got the flare-game repo and not the flare-engine repo?
git://github.com/clintbellanger/flare-game.git
I have the game (into Mods folder, have more mods).
In mods.txt:
fantasycore
alpha_demo
Make sure you also have the latest data? If you have an old version of fantasycore and alpha_demo it probably won't work.
AFAIK the latest data is in the game itself :-
/games/flare-game/mods/alpha_demo$ ll -h
total 36K
drwxr-xr-x 4 shirish shirish 4.0K 2012-10-12 07:17 animations
drwxr-xr-x 2 shirish shirish 4.0K 2013-01-25 13:14 enemies
drwxr-xr-x 4 shirish shirish 4.0K 2012-09-21 03:04 images
drwxr-xr-x 2 shirish shirish 4.0K 2013-01-07 01:14 items
drwxr-xr-x 2 shirish shirish 4.0K 2013-01-25 13:14 languages
drwxr-xr-x 2 shirish shirish 4.0K 2013-01-07 01:14 maps
drwxr-xr-x 2 shirish shirish 4.0K 2013-01-07 01:14 npcs
drwxr-xr-x 2 shirish shirish 4.0K 2012-09-21 03:04 quests
drwxr-xr-x 3 shirish shirish 4.0K 2012-09-21 03:04 soundfx
Where I can activate the mods? in Mods folder mods.txt, or config folder mods.txt
There should be a way in-game to activate the mods (through settings). Also make sure if you haven't already to do a make install.
Here one screenshot, the configuration UI is out of position, and can`t play the game.
Manually, i add fantasycore and alpha_demo in config/mods.txt and mods/mods.txt but not working.
Here a log of Dev C++ compilation (i,m not see any problem):
Compilador: Default compiler
Building Makefile: "C:\Users\Diego\Desktop\Test\Makefile.win"
Ejecutando make...
make.exe -f "C:\Users\Diego\Desktop\Test\Makefile.win" all
g++.exe ../../Downloads/flare-game-master/flare-game-master/src/Animation.o ../../Downloads/flare-game-master/flare-game-master/src/AnimationManager.o ../../Downloads/flare-game-master/flare-game-master/src/AnimationSet.o ../../Downloads/flare-game-master/flare-game-master/src/AStarNode.o ../../Downloads/flare-game-master/flare-game-master/src/Avatar.o ../../Downloads/flare-game-master/flare-game-master/src/BehaviorStandard.o ../../Downloads/flare-game-master/flare-game-master/src/CampaignManager.o ../../Downloads/flare-game-master/flare-game-master/src/CombatText.o ../../Downloads/flare-game-master/flare-game-master/src/EffectManager.o ../../Downloads/flare-game-master/flare-game-master/src/Enemy.o ../../Downloads/flare-game-master/flare-game-master/src/EnemyBehavior.o ../../Downloads/flare-game-master/flare-game-master/src/EnemyGroupManager.o ../../Downloads/flare-game-master/flare-game-master/src/EnemyManager.o ../../Downloads/flare-game-master/flare-game-master/src/Entity.o ../../Downloads/flare-game-master/flare-game-master/src/FileParser.o ../../Downloads/flare-game-master/flare-game-master/src/FontEngine.o ../../Downloads/flare-game-master/flare-game-master/src/GameState.o ../../Downloads/flare-game-master/flare-game-master/src/GameStateConfig.o ../../Downloads/flare-game-master/flare-game-master/src/GameStateLoad.o ../../Downloads/flare-game-master/flare-game-master/src/GameStateNew.o ../../Downloads/flare-game-master/flare-game-master/src/GameStatePlay.o ../../Downloads/flare-game-master/flare-game-master/src/GameStateTitle.o ../../Downloads/flare-game-master/flare-game-master/src/GameSwitcher.o ../../Downloads/flare-game-master/flare-game-master/src/GetText.o ../../Downloads/flare-game-master/flare-game-master/src/Hazard.o ../../Downloads/flare-game-master/flare-game-master/src/HazardManager.o ../../Downloads/flare-game-master/flare-game-master/src/ImageManager.o ../../Downloads/flare-game-master/flare-game-master/src/InputState.o ../../Downloads/flare-game-master/flare-game-master/src/ItemManager.o ../../Downloads/flare-game-master/flare-game-master/src/ItemStorage.o ../../Downloads/flare-game-master/flare-game-master/src/Loot.o ../../Downloads/flare-game-master/flare-game-master/src/LootManager.o ../../Downloads/flare-game-master/flare-game-master/src/main.o ../../Downloads/flare-game-master/flare-game-master/src/MapCollision.o ../../Downloads/flare-game-master/flare-game-master/src/MapRenderer.o ../../Downloads/flare-game-master/flare-game-master/src/Menu.o ../../Downloads/flare-game-master/flare-game-master/src/MenuActionBar.o ../../Downloads/flare-game-master/flare-game-master/src/MenuActiveEffects.o ../../Downloads/flare-game-master/flare-game-master/src/MenuCharacter.o ../../Downloads/flare-game-master/flare-game-master/src/MenuConfirm.o ../../Downloads/flare-game-master/flare-game-master/src/MenuEnemy.o ../../Downloads/flare-game-master/flare-game-master/src/MenuExit.o ../../Downloads/flare-game-master/flare-game-master/src/MenuHUDLog.o ../../Downloads/flare-game-master/flare-game-master/src/MenuInventory.o ../../Downloads/flare-game-master/flare-game-master/src/MenuItemStorage.o ../../Downloads/flare-game-master/flare-game-master/src/MenuLog.o ../../Downloads/flare-game-master/flare-game-master/src/MenuManager.o ../../Downloads/flare-game-master/flare-game-master/src/MenuMiniMap.o ../../Downloads/flare-game-master/flare-game-master/src/MenuPowers.o ../../Downloads/flare-game-master/flare-game-master/src/MenuStash.o ../../Downloads/flare-game-master/flare-game-master/src/MenuStatBar.o ../../Downloads/flare-game-master/flare-game-master/src/MenuTalker.o ../../Downloads/flare-game-master/flare-game-master/src/MenuVendor.o ../../Downloads/flare-game-master/flare-game-master/src/MessageEngine.o ../../Downloads/flare-game-master/flare-game-master/src/ModManager.o ../../Downloads/flare-game-master/flare-game-master/src/NPC.o ../../Downloads/flare-game-master/flare-game-master/src/NPCManager.o ../../Downloads/flare-game-master/flare-game-master/src/PowerManager.o ../../Downloads/flare-game-master/flare-game-master/src/QuestLog.o ../../Downloads/flare-game-master/flare-game-master/src/SaveLoad.o ../../Downloads/flare-game-master/flare-game-master/src/SDL_gfxBlitFunc.o ../../Downloads/flare-game-master/flare-game-master/src/Settings.o ../../Downloads/flare-game-master/flare-game-master/src/SharedResources.o ../../Downloads/flare-game-master/flare-game-master/src/StatBlock.o ../../Downloads/flare-game-master/flare-game-master/src/TileSet.o ../../Downloads/flare-game-master/flare-game-master/src/Utils.o ../../Downloads/flare-game-master/flare-game-master/src/UtilsDebug.o ../../Downloads/flare-game-master/flare-game-master/src/UtilsFileSystem.o ../../Downloads/flare-game-master/flare-game-master/src/UtilsParsing.o ../../Downloads/flare-game-master/flare-game-master/src/Widget.o ../../Downloads/flare-game-master/flare-game-master/src/WidgetButton.o ../../Downloads/flare-game-master/flare-game-master/src/WidgetCheckBox.o ../../Downloads/flare-game-master/flare-game-master/src/WidgetInput.o ../../Downloads/flare-game-master/flare-game-master/src/WidgetLabel.o ../../Downloads/flare-game-master/flare-game-master/src/WidgetListBox.o ../../Downloads/flare-game-master/flare-game-master/src/WidgetScrollBar.o ../../Downloads/flare-game-master/flare-game-master/src/WidgetScrollBox.o ../../Downloads/flare-game-master/flare-game-master/src/WidgetSlider.o ../../Downloads/flare-game-master/flare-game-master/src/WidgetTabControl.o ../../Downloads/flare-game-master/flare-game-master/src/WidgetTooltip.o -o "Proyecto1.exe" -L"C:/Dev-Cpp/lib" -lmingw32 -lSDLmain -lSDL -lSDL_image -lSDL_mixer -lSDL_ttf -mwindows -lmingw32 -lSDLmain -lSDL -lSDL_image -lSDL_mixer -lSDL_ttf
Ejecución Terminada (execution terminated)
Compilación Concluida con Éxito (Compilation successfully completed)
Any suggestion? I want work in this project!, try new things etc...
I,m not have problems in the compilation, and i edited mods.txt well i think
That is definitely NOT a default mod enabled in your main screen there - that font is not distributed with the base flare game.
Try to find your mods.txt config file and remove the extra mods.
I try it, but my exe compilated not work, but with flare.exe game works!.
which version you have SDL , mixer, image, ttf?
SDL 1.2, mixer 1.2, image 1.2, ttf 2.0
Because much of the engine is being changed rapidly, especially the UI in the last few versions, the errors you're seeing may be from different versions of the engine vs. the data. If they're not in the same release or same source control commit it may not work.
I'll try downloading it from here https://github.com/clintbellanger/flare-engine/
Thanks for answering
Again, the flare-engine repo does not include data files. In order to make sure that the version of the exectable and the data files match, you should clone
git://github.com/clintbellanger/flare-game.git
and compile from there.I tried but nothing, as usual, I was thinking it could be the libs, and I'm linking with 32bit, and my operating system is 64-bit, but for some strange reason, the 64bit not compiled, it is as if no I detect the Dev C + +.
Download the entire game, and compile the src coming in, but gives the same error. Edit config / mods.txt and mods / mods.txt but goes as before.
It may be for different architecture libraries? I should get out a compiler for x64?
Greetings and thanks for the ideas!
I am debuging it with vs2008, and have same issue. Take a look of function void loadMiscSettings() at settings.cpp.
It seems like the std::ifstream is buffed(class FileParser's member). So if use FileParser to open more than once file at same function. The second call will failed at infile.next().
My temporary solution is defin a FileParser instance for every settings files. Like:
FileParser infile;
// load miscellaneous settings from engine config
// misc.txt
if (infile.open(mods->locate("engine/misc.txt").c_str())) {
while (infile.next()) {
.....
// resolutions.txt
FileParser infile1;
if (infile1.open(mods->locate("engine/resolutions.txt").c_str())) {
while (infile1.next()) {
// gameplay.txt
FileParser infile2;
if (infile2.open(mods->locate("engine/gameplay.txt").c_str())) {
while (infile2.next()) {
This issue be solved and the game could be playing. But I got the crash when created a character. at __thiscall _Lockit::~_Lockit() of the file "xlock.cpp". Any suggestions?
rentt:
If you're still experiencing issues, please consider filing a bugreport at https://github.com/clintbellanger/flare-engine/issues?state=open
That's a place where it is not overlooked and forgotten as easily as here in the forums
Guys, issue with FileParser was fixed in master! A lot of time has gone... This issue happens when your compiler doesn't support C++0X. I got this issue when compiling for Android.
So it's fixed now.