default mod now in ~/.local/share/flare/default/mods and stash issues.
Hi all,
I was looking at http://opengameart.org/forumtopic/default-mod-added-back-to-flare-game
The thing is, after sometime today I git pulled both clint-flare-engine and flare-game to the latest git master and tried to compile and run the game today and got this :-
~/games/flare-game$ ./flare
Warning: A game wasn't specified, falling back to the 'default' game.
Did you forget the --game flag? (e.g. --game=flare-game).
See --help for more details.
Could not find the default mod in the following locations:
./mods/
./mods/
/home/shirish/.local/share/flare/default/mods/
/home/shirish/.local/share/flare/default/mods/
A copy of the default mod is in the "mods" directory of the flare-engine repo.
The repo is located at: https://github.com/clintbellanger/flare-engine
Try again after copying the default mod to one of the above directories.
Exiting.
after doing the needful
~/games/clint-flare-engine/mods$ cp -r default/ ~/.local/share/flare/default/mods/
I went to flare-game :-
~/games/clint-flare-engine/mods/default$ cd ../../../flare-game/
~/games/flare-game$
I then tried to play the game and while the game loads and I can move around this is what it says :-
$ ./flare --game=flare-game
Using Render Device: SDLRenderDevice
No joysticks were found.
No item sets were found.
No item sets were found.
Could not open text file: /home/shirish/.local/share/flare/flare-game/flare0.19_stash.txt
Unable to open /home/shirish/.local/share/flare/flare-game/flare0.19_stash.txt!
Could not open text file: /home/shirish/.local/share/flare/flare-game/flare0.19_stash.txt
Unable to open /home/shirish/.local/share/flare/flare-game/flare0.19_stash.txt!
Looking foward to know more.
It's nothing to worry about. The stash file didn't exist because it was your first time playing. It is created after saving the game (i.e. exiting the game, moving to another map, or acessing the stash itself).