clintbellanger / flare

Free Libre Action Roleplaying Engine
http://clintbellanger.net/rpg/
GNU General Public License v3.0
166 stars 41 forks source link

NOTICE: NO NEW ISSUES. REPO MOVED #982

Open clintbellanger opened 12 years ago

clintbellanger commented 12 years ago

To submit issues about the Flare engine:

https://github.com/clintbellanger/flare-engine/issues

To submit issues about the Flare game:

https://github.com/clintbellanger/flare-game/issues

stefanbeller commented 12 years ago

Hehe and I wondered, who was keen on opening issue #1000. At least I was :P

clintbellanger commented 12 years ago

So close :)

matthiaskrgr commented 12 years ago

Hi, I'm the maintainer of the flare-rpg-git pkgbuild in the arch user repo; I tried to upgrade the PKGBUILD (buildscript) to work with both repos, it does compile, but when I run the game I cannot play Mix_LoadMUS: Couldn't open '/usr/share/flare-rpg/music/title_theme.ogg'

I mostly duplicated the code from the previous version of the PKGBUILD (when there was only one repo) which was working fine back then.

Build script: http://pastebin.com/7MJPw2BY

Do you see anything wrong there, I'm kind of clueless. :/

stefanbeller commented 12 years ago

@matthiaskrgr It should be feasable to only have the flare-game repository built as there is both game data and sources.

stefanbeller commented 12 years ago

Also url="http://clintbellanger.net/rpg" should be changed to url="http://www.flarerpg.org/"

clintbellanger commented 12 years ago

@matthiaskrgr the engine looks for the engine folder "flare" in paths such as /usr/local/share/flare/. If possible, try that instead of flare-rpg.

If "flare" is already reserved, you can change the engine folder here:

https://github.com/clintbellanger/flare-game/blob/master/src/Settings.cpp#L193

makrohn commented 12 years ago

Also, if you're pulling from both repos, the sparse mods.txt file from flare-engine may be overwriting the full mods.txt file from flare-game and causing havoc that way. Flare-game is complete and contains all the necessary files, make sure you're only packaging flare-game.

stefanbeller commented 12 years ago

@clintbellanger looking for /usr/local/share/flare/ would make it impossible to have installs of flare-game and polymorphable at the same time? so we should make that path configurable (or to be compiled in as gamename), but definitely easy to change.

makrohn commented 12 years ago

polymorphable currently has the different savepath hardcoded. https://github.com/makrohn/polymorphable/blob/master/src/Settings.cpp#L193

clintbellanger commented 12 years ago

@stefanbeller We'll have to use some tricks to make it configurable (after all, where would we store that config file?).

Essentially when people fork flare-engine to make a new total conversion game, that's one of the first things they might change. Until we figure out a portable way to config that value (the method would have to work whether someone's building with cmake, or using g++ directly, or using XCode, MSVC, etc.)

stefanbeller commented 12 years ago

Some experiments with cmake either show my incapacity or the failure of cmake. That is we could either try this http://stackoverflow.com/questions/9827208/run-a-shell-command-ctags-in-cmake-and-make The shell command (in unix like OS) would be something like this pwd | tr '/' ' ' |awk '{print $NF}' Or we could read the other parts of cmake magic to generate the name in the build process. Well maybe it's just not worth it as these things can be kept manually up as they do not change often.

matthiaskrgr commented 12 years ago

Thanks for your help!

http://pastebin.com/hgAKDQ88

@stefanbeller should be done now

@clintbellanger changed this as well

the error of the missing file still exists though.

Mix_LoadMUS: Couldn't open '/usr/share/flare/music/title_theme.ogg'

although the file seems to be in

/usr/share/flare/mods/fantasycore/music/title_theme.ogg

so I'm wondering if I miss some compile flag?

clintbellanger commented 12 years ago

See if fantasycore is enabled in /usr/share/flare/mods/mods.txt

matthiaskrgr commented 12 years ago

@clintbellanger

# (new line added to prevent bold text) Mods lower on the list will overwrite data in the entries higher on the list

fantasycore alpha_demo

matthiaskrgr commented 12 years ago

bump

clintbellanger commented 12 years ago

@matthiaskrgr Maybe this thread will be helpful: http://opengameart.org/forumtopic/problem-with-flaredesuraarch-linux-64bit

I suggest continuing the conversation there, as this GitHub Issue is obsolete