#gemrb@irc.freenode.net logs for 5 May 2014 (GMT)

Archive Today Yesterday Tomorrow
GemRB homepage

[01:24:36] --> Eli2 has joined #gemrb
[01:26:49] <-- Eli2_ has left IRC (Ping timeout: 252 seconds)
[04:08:25] <-- edheldil has left IRC (Ping timeout: 252 seconds)
[04:20:25] --> edheldil has joined #gemrb
[04:20:25] --- ChanServ gives channel operator status to edheldil
[04:34:55] <-- fuzzie has left IRC (Remote host closed the connection)
[05:15:13] <-- mrugiero has left IRC (Quit: Saliendo)
[05:32:37] --> edheldil_ has joined #gemrb
[05:43:35] <-- edheldil_ has left IRC (Ping timeout: 250 seconds)
[07:09:56] --> WingedHussar has joined #gemrb
[07:18:20] <tomprince> I'm sort of around now.
[07:34:35] --> lynxlynxlynx has joined #gemrb
[07:34:35] <-- lynxlynxlynx has left IRC (Changing host)
[07:34:35] --> lynxlynxlynx has joined #gemrb
[07:34:35] --- ChanServ gives channel operator status to lynxlynxlynx
[07:41:08] <edheldil> tomprince: Great!
[08:00:27] <lynxlynxlynx> tomprince: can you trigger the build then please?
[08:00:43] <lynxlynxlynx> force build --revision=64b17d1369ef00 nmake-msvc++10 release build
[10:03:49] <-- Lightkey has left IRC (Ping timeout: 252 seconds)
[10:05:39] <-- DrMcCoy has left IRC (Ping timeout: 252 seconds)
[10:06:33] --> DrMcCoy has joined #gemrb
[10:16:04] <-- WingedHussar has left IRC (Read error: Connection reset by peer)
[10:16:37] --> Lightkey has joined #gemrb
[10:19:37] --> WingedHussar has joined #gemrb
[10:31:48] <-- DrMcCoy has left IRC (Quit: He's dead, Jim)
[10:32:31] --> DrMcCoy has joined #gemrb
[11:02:27] <-- lynxlynxlynx has left IRC (Ping timeout: 276 seconds)
[11:16:30] --> lynxlynxlynx has joined #gemrb
[11:16:31] <-- lynxlynxlynx has left IRC (Changing host)
[11:16:31] --> lynxlynxlynx has joined #gemrb
[11:16:31] --- ChanServ gives channel operator status to lynxlynxlynx
[15:29:43] <-- WingedHussar has left IRC (Quit: WingedHussar)
[16:21:10] --> edheldil_ has joined #gemrb
[16:25:47] <-- edheldil_ has left IRC (Ping timeout: 252 seconds)
[16:40:44] --> fizzle has joined #gemrb
[16:46:19] <-- fizzle has left IRC (Ping timeout: 252 seconds)
[16:48:40] --> fizzle has joined #gemrb
[16:52:30] --> toney has joined #gemrb
[16:57:50] --> Eli2_ has joined #gemrb
[16:59:47] <-- Eli2 has left IRC (Ping timeout: 252 seconds)
[17:07:54] --> Yoshimo has joined #gemrb
[17:07:54] <-- Yoshimo has left IRC (Changing host)
[17:07:54] --> Yoshimo has joined #gemrb
[18:35:35] --> c_korn has joined #gemrb
[18:35:38] <c_korn> hello
[18:37:06] <c_korn> having a problem with gemrb 0.8.1 (ubuntu 14.04 amd64). these are the cmake settings http://sprunge.us/RBLG but PLUGINDIR is not set: /* #undef PLUGINDIR */
[18:41:56] <c_korn> and this is why gemrb fails to start because it looks in the $HOME directory for the plugins: http://sprunge.us/YEEH
[18:45:01] <fizzle> in cmake/cmake_config.h.in change the lines for PLUGINDIR, DATA_DIR and SYSCONFDIR to just read "#define" instead of "#cmakedefine"
[18:45:28] <fizzle> as a quick fix
[18:48:38] <lynxlynxlynx> that define doesn't really matter
[18:48:41] <lynxlynxlynx> did you make install?
[18:49:06] <lynxlynxlynx> & hi
[18:51:03] <fizzle> lynx: I've been needing that change locally for ages
[18:51:31] <lynxlynxlynx> it's used only for the default — if you set the path in the config, it shouldn't be needed
[18:52:15] <lynxlynxlynx> for a run-from-build-dir setup that and GemRBPath are the only extra things you need to set
[18:54:15] <c_korn> here is the complete build log : http://sprunge.us/gZDe
[18:57:33] <lynxlynxlynx> ok, so you did
[18:58:06] <fizzle> lynx: the problem is PLUGINDIR != PLUGIN_DIR
[18:58:11] <lynxlynxlynx> odd that nobody noticed before
[18:58:12] <lynxlynxlynx> yes
[18:58:18] <fizzle> and PLUGINDIR is not defined
[18:58:22] <lynxlynxlynx> cmakedefine looks at the first param to check if it exists
[18:59:00] <lynxlynxlynx> i'll fix it, it's basically the same thing as the DATA_DIR unification i did a few days ago
[18:59:18] <lynxlynxlynx> partial mess from the build system shift
[18:59:51] <c_korn> also there seems to be a problem finding SDL2_mixer: -- Found SDL2_mixer: /usr/lib/x86_64-linux-gnu/libSDL2_mixer.so (found version "..")
[19:03:20] <lynxlynxlynx> i can reproduce that now
[19:04:04] <lynxlynxlynx> btw, are you intentionally building the sdl2 version?
[19:04:25] <c_korn> shouldn't I? is it experimental?
[19:04:43] <c_korn> just try to make use of the latest libs
[19:05:01] <lynxlynxlynx> kind of; it's mostly used for mobile platforms, so the mouse/kbd input is a bit wonky and the cursor leave traces on the gui
[19:05:24] <c_korn> ah, I know this cursor bug when using wine
[19:05:33] <lynxlynxlynx> before it wasn't really a mainstream option, so it didn't get much testing on pcs
[19:05:45] <c_korn> ok, will choose SDL1 then
[19:06:15] <lynxlynxlynx> if it is only for you, it's not that much of a problem, but if that deb is going anywhere, sdl1 is the way to go
[19:06:38] <-- toney has left IRC (Quit: Leaving.)
[19:06:46] <c_korn> it is going to be published on playdeb.net
[19:06:58] <lynxlynxlynx> cool
[19:07:02] <lynxlynxlynx> definitely sdl1 then
[19:07:12] <lynxlynxlynx> you don't need to bother with sdl_mixer either, as you have openal
[19:10:10] <c_korn> what about?USE_OPENGL
[19:11:22] <lynxlynxlynx> that only works with sdl2
[19:11:57] <lynxlynxlynx> almost everything is rendered, but currently there's no real gain in using that yet
[19:20:08] <lynxlynxlynx> oh, i didn't have sdl2_mixer installed
[19:20:49] <lynxlynxlynx> but afterwards, i can reproduce
[19:21:55] <c_korn> ok, this is because I do not have /etc/gemrb/GemRB.cfg.sample configured: http://sprunge.us/BCKY
[19:23:01] <c_korn> but I do not want the Cache directory to be created in the current dir.
[19:25:22] <lynxlynxlynx> you can point it wherever you like
[19:25:23] <Seniorita> [commit] lynxlynxlynx: remove last uses of PLUGINDIR https://github.com/gemrb/gemrb/commit/735723cb5400c1e3bbf5a63a778edca9397929fa
[19:25:24] <Seniorita> [commit] lynxlynxlynx: remove last uses of SYSCONFDIR vs SYSCONF_DIR https://github.com/gemrb/gemrb/commit/4b192c6db6b21be90fa7455f21efb7dcbd6ce38d
[19:25:46] <lynxlynxlynx> /tmp is the natural choice
[19:26:19] <lynxlynxlynx> our sdl2_mixer module is standard, my pkg-config file looks normal, so perhaps it's a cmake regression
[19:26:22] <lynxlynxlynx> i'll dig deeper
[19:26:53] <c_korn> yep, looks like the regexp is wrong
[19:34:20] <c_korn> hum, I downloaded planescape from GoG so I do not have a CD. is this a problem?
[19:34:40] <lynxlynxlynx> no
[19:38:31] <lynxlynxlynx> btw, did you find a cmake bug about it or is that just speculation?
[19:38:33] <c_korn> something is wronf http://sprunge.us/jdeT
[19:38:40] <c_korn> *wrong
[19:39:21] <-- Yoshimo has left IRC (Quit: Yoshimo)
[19:40:01] <c_korn> is Chitin.key case sensitive?
[19:40:18] <lynxlynxlynx> CaseSensitive=1 ?
[19:40:36] <lynxlynxlynx> everything is, except on windows
[19:40:56] <c_korn> #CaseSensitive=1
[19:41:00] <c_korn> commented out
[19:43:25] <c_korn> Log(MESSAGE, "KEYImporter", "Opening %s...", resfile); --> [KEYImporter]: Opening chitin.key... does it look for the file in the current directory?
[19:43:46] <lynxlynxlynx> well uncomment it
[19:44:02] <lynxlynxlynx> we don't print full paths everywhere, as it'd be useless
[19:44:13] <lynxlynxlynx> chitin.key is always in the GameDir
[19:44:57] <c_korn> same problem
[19:45:43] <lynxlynxlynx> huh
[19:46:15] <c_korn> wait a minute: access("/etc/gemrb/gemrb.cfg", R_OK) = -1 ENOENT (No such file or directory) wrong file
[19:46:49] <lynxlynxlynx> that's fine, we have a lot of default places we look for the config first
[19:46:56] <lynxlynxlynx> i see you're already stracing :)
[19:47:12] <lynxlynxlynx> *where we look
[19:47:20] <c_korn> no output: $ strace gemrb -c planescape 2>&1 | grep .cfg
[19:47:47] <c_korn> it does not even read the config file
[19:48:15] <lynxlynxlynx> is the file named planescape?
[19:48:23] <c_korn> /etc/gemrb/planescape.cfg
[19:48:38] <lynxlynxlynx> so -c planescape.cfg
[19:48:51] <lynxlynxlynx> or even the full path if you want to be sure
[19:49:03] <lynxlynxlynx> like it was hinted before, SYSCONFDIR was messed up
[19:51:34] <c_korn> sexy, http://i.imgur.com/6WEZfMR.png
[19:51:40] <c_korn> thanks for your help
[19:57:41] <lynxlynxlynx> np
[19:58:12] <lynxlynxlynx> too bad you chose the most broken of the games
[19:58:39] <c_korn> :/
[20:01:47] <lynxlynxlynx> http://www.gemrb.org/wiki/doku.php?id=engine:start
[20:01:48] <Seniorita> engine:start [GemRB wiki]
[20:02:06] <lynxlynxlynx> it has the most convoluted version of the engine, that's why
[20:02:06] --> raevol has joined #gemrb
[20:02:52] <lynxlynxlynx> companies working separately on similar things at the same time and bam, you have 7 variants
[20:06:14] <lynxlynxlynx> ups, i have a commit from august 13 in the other clone, still not pushed
[20:09:46] <c_korn> well, let's see how the game runs. currently I am still on system shock 2 so will take a while until I get to planescape ;)
[20:09:59] <c_korn> gemrb will be published tomorrow. need to sleep. bye.
[20:10:35] <lynxlynxlynx> thanks
[20:10:48] <lynxlynxlynx> found the mixer problem too
[20:10:55] <lynxlynxlynx> upstream renamed the vars
[20:11:49] <-- c_korn has left IRC (Quit: Bye bye.)
[20:12:03] <raevol> lynxlynxlynx: is the mixer problem what's making magic missile so loud?
[20:12:57] <lynxlynxlynx> not at all, this is only a problem for sdl2 builds
[20:13:04] <lynxlynxlynx> you'd get no sound
[20:13:17] <raevol> i see, ok
[20:13:28] <raevol> is the magic missile one a known issue? almost blew out my speakers
[20:16:21] <lynxlynxlynx> not that i'd recall
[20:16:24] <lynxlynxlynx> which game?
[20:16:52] <raevol> bg1
[20:17:26] <raevol> i think it's just the missile striking sound stacking, once for each missile, so it increases the volume
[20:18:34] <-- fizzle has left #gemrb
[20:22:27] <lynxlynxlynx> which audio plugin are you using?
[20:23:56] <raevol> http://paste.ubuntu.com/7400894/
[20:23:57] <Seniorita> Ubuntu Pastebin
[20:23:59] <raevol> looks like openal?
[20:25:54] <lynxlynxlynx> i don't hear any noticeable escalation
[20:26:09] <raevol> it's very apparent here
[20:26:28] <lynxlynxlynx> the effect is loud though, but that's probably from the data
[20:26:35] <lynxlynxlynx> lower your sfx volume ingame
[20:29:04] <raevol> hmm ok
[20:42:40] <Seniorita> [commit] lynxlynxlynx: cmake: fixed wrong variable check for sdl_mixer https://github.com/gemrb/gemrb/commit/871060dbd58f6b36884f5aebacdfa675ea0b3cd0
[20:42:41] <Seniorita> [commit] lynxlynxlynx: FindSDL2_mixer.cmake: fixed version check https://github.com/gemrb/gemrb/commit/932fb608ca214cef395490759c827808ac184c47
[20:42:42] <Seniorita> [commit] lynxlynxlynx: FindSDL2_mixer.cmake: look in v2 dirs first https://github.com/gemrb/gemrb/commit/1c2120d5b04243f1bdaf6bed4f2cc8b5b6967b3a
[20:42:44] <Seniorita> [commit] lynxlynxlynx: cmake: fixed sdl_mixer library var to be compatible with both versions https://github.com/gemrb/gemrb/commit/bfc56624b3b3762ced0e5a40a27ddc54d6054aff
[20:42:45] <Seniorita> [commit] lynxlynxlynx: cmake: also use the nondeprecated include var https://github.com/gemrb/gemrb/commit/7b126e105c4a86dde02b0a355c4d04217c2f9042
[20:46:47] --> edheldil_ has joined #gemrb
[21:49:34] --> edheldil__ has joined #gemrb
[23:57:53] <-- edheldil__ has left IRC (Ping timeout: 258 seconds)