#gemrb@irc.freenode.net logs for 7 Feb 2012 (GMT)

Archive Today Yesterday Tomorrow
GemRB homepage

[00:21:44] <-- brad_a has left IRC (Ping timeout: 248 seconds)
[00:25:20] --> joneirik has joined #gemrb
[00:38:39] --> brad_a has joined #gemrb
[00:45:53] <-- lynxlynxlynx has left IRC (Remote host closed the connection)
[00:49:38] <-- brad_a has left IRC (Remote host closed the connection)
[00:50:13] --> brad_a has joined #gemrb
[01:00:25] <-- edheldil_ has left IRC (Ping timeout: 245 seconds)
[02:03:00] --> Gekz has joined #gemrb
[02:03:01] <-- Gekz has left IRC (Changing host)
[02:03:01] --> Gekz has joined #gemrb
[02:34:12] <-- brad_a has left IRC (Remote host closed the connection)
[02:34:28] --> brad_a has joined #gemrb
[03:16:45] <-- wrotek has left IRC (Ping timeout: 252 seconds)
[03:17:13] <-- brad_a has left IRC (Quit: brad_a)
[03:39:50] <-- joneirik has left IRC (Remote host closed the connection)
[07:47:48] --> lynxlynxlynx has joined #gemrb
[07:47:48] <-- lynxlynxlynx has left IRC (Changing host)
[07:47:48] --> lynxlynxlynx has joined #gemrb
[07:47:48] --- ChanServ gives channel operator status to lynxlynxlynx
[08:17:51] --> edheldil_ has joined #gemrb
[08:28:08] <-- edheldil_ has left IRC (Ping timeout: 272 seconds)
[09:39:40] --> Baldurer has joined #gemrb
[11:36:44] --- edheldil is now known as Ed_lunch
[11:56:29] <-- Baldurer has left IRC (Ping timeout: 276 seconds)
[12:12:07] --> sataniac has joined #gemrb
[12:12:58] <sataniac> hello. is that any way to set max fps in gemrb or in a game used in gemrb? i think there is a maximum set somewhere and now its a bit low.
[12:13:27] --- Ed_lunch is now known as edheldil
[12:13:45] <fuzzie> it is hard-coded to >=30fps
[12:14:20] <edheldil> sataniac: I think there are other things bound to framerate, so changinging the max is not harmless
[12:14:59] <sataniac> well my problem is not really the max. it is under 30. i thought it is because the max is set to 30 or somethink
[12:15:04] <sataniac> *something
[12:15:11] <edheldil> if you run at the max framerate, the animation is as smooth as it was meant to be ;-)
[12:15:34] <sataniac> if i start the game it is about 23
[12:25:10] <lynxlynxlynx> your hardware sucks
[12:25:28] <lynxlynxlynx> coupled with gemrb being inefficient in some areas ...
[12:25:49] <edheldil> that's the culprit, I think :)
[12:31:06] --> Baldurer has joined #gemrb
[13:38:33] <-- sataniac has left IRC (Quit: Page closed)
[13:58:03] <edheldil> Grr, somebody broke the autodetection :(
[13:58:32] <fuzzie> brad did mention it wasn't working, but I couldn't see why from the source
[13:59:04] <lynxlynxlynx> it used to mostly work
[14:00:38] <fuzzie> although I forget again how it was meant to work since we have no override/auto/ directory
[14:07:32] <fuzzie> well, I guess probably the lack of that directory is responsible and it's been broken since April, actually
[14:08:42] <fuzzie> since ResourceManager::AddSource doesn't error() out if it failed to actually add the new override
[14:09:12] <fuzzie> but .. then you should have an 'Invalid path' error earlier on in the log, if I am diagnosing this (blindly) correctly
[14:09:39] <edheldil> No, iirc auto does not have to exist
[14:10:32] <fuzzie> well, if you don't have an override/auto/ then you don't have a fake entry in the search path to replace
[14:10:33] <edheldil> at Interface.cpp:1632 'path' points to the correct override dir
[14:10:46] <fuzzie> so it's way too late by the time you get to 1632
[14:11:56] <edheldil> I suspect it's brad's reordering of things in Init(), if it already took place
[14:12:20] <fuzzie> no
[14:12:31] <fuzzie> 18:24 <edheldil> I will look at it later
[14:12:44] <fuzzie> ^- apparently I already found this and told you on April 26th
[14:12:46] <edheldil> ah, really auto has to exist
[14:13:04] <fuzzie> and then I guess everyone promptly forgot
[14:13:10] <edheldil> hehe
[14:13:23] <fuzzie> not clever of me/us :/
[14:13:25] * edheldil bows his head in shame
[14:13:57] <fuzzie> but I proposed adding override/auto/ as a quick fix and you wanted to ponder on it, since it *is* a nasty hack to require it
[14:14:26] <fuzzie> underlying problem seems to be that the DirectoryImporter got changed to ignore non-existant directories
[14:16:14] <fuzzie> and I guess that is because it predates my cached version, so it would waste huge amounts of I/O trying to find stuff in directories which weren't there
[14:16:45] <fuzzie> so probably there's a nicer solution
[14:18:34] <edheldil> I will look into it later :)
[14:18:41] <fuzzie> :-)
[14:18:48] <fuzzie> at least hopefully now it will be in people's minds
[14:24:27] <edheldil> btw, at https://github.com/edheldil/gemrb/blob/configfile/gemrb/GemRB.cfg.sample.in is a proposed new version of our sample config file. *Hopefully* it would lead to fewer user problems, although I am not overoptimistic
[14:25:02] <fuzzie> well
[14:25:29] <fuzzie> the sensible approach seems to be to just have a default sample config that has none of that in it
[14:25:55] <fuzzie> i mean, none of the stuff that people shouldn't touch
[14:26:36] <fuzzie> and it seems like we're sort of close to that
[14:27:20] <edheldil> that's possible as well, although I rather prefer commented out options with default values
[14:27:42] <fuzzie> i think if we do that in the *main* sample config file, people will inevitably uncomment them
[14:27:45] <fuzzie> i don't mind though
[14:28:54] <fuzzie> (and I guess Width/Height could maybe be commented by default, too)
[14:29:30] --> SiENcE has joined #gemrb
[14:29:34] <edheldil> That's what I thought about - Width, Height should be perhaps in gemrb.ini, together with GameName
[14:30:30] <edheldil> GUIEnhancements should be perhaps set to 15 by default
[14:31:34] <fuzzie> no, Width/Height should be in original game config
[14:31:54] <fuzzie> unless there's some safe values we can always default to, and not sure there are
[14:32:09] <fuzzie> and the bitmasks drive me mad so no comment :)
[14:38:26] <edheldil> fuzzie: ok with WxH - it's the same as FullScreen, right. Do we currently use FS from GemRB.cfg at all?
[14:39:27] <edheldil> I heartily agree with your hate for GUIEnhancements :)
[14:51:10] <tomprince> fuzzie: Can you put in a request to github to make gemrb/gemrb the root of the network?
[14:54:04] <fuzzie> um, how?
[15:02:50] <tomprince> fuzzie: Got to help, then support, and send a message.
[15:05:43] <fuzzie> you don't just want the repo moved to the gemrb organisation?
[15:06:35] <fuzzie> although admittedly I don't know if that'll work since you already made one
[15:07:56] <tomprince> I hadn't thought of that. That'd work too, although we'd need to then ask to get it to mirror sf.
[15:08:24] <tomprince> You should be able to delete and then move it, if you want to do that.
[15:10:07] <fuzzie> well, I figured that if I rename the mirror and then try transferring mine, then I don't have to be a bottleneck, so let me try that
[15:10:35] <fuzzie> right, done
[15:12:48] <wjp> oh look, I now have a fork of gemrb-old :-)
[15:13:08] <fuzzie> well, maybe it'd be best to rename that back to gemrb and re-root it
[15:13:41] <fuzzie> am just a bit snowed under with stuff and so perhaps best that tomprince has full control over both repositories since he seems to know what he's doing
[15:40:27] --> demitar has joined #gemrb
[15:42:54] --> admrla has joined #gemrb
[15:50:21] --> lupinIII_ has joined #gemrb
[15:53:11] <-- lupinIII has left IRC (Ping timeout: 252 seconds)
[15:54:36] --> Yoshimo has joined #gemrb
[16:34:17] --> brad_a has joined #gemrb
[16:37:25] <brad_a> i didnt realize you could set things like volume voices in gemrb.cfg
[16:38:56] <brad_a> need to figure out how to reconcile loading options from 2 locations...
[16:39:29] <fuzzie> well imo we should just have gemrb.cfg *always* override
[16:39:42] <brad_a> I agree
[16:40:02] <brad_a> but if the end goal is to write back to baldur.ini it seems like that should have precedence...
[16:41:01] <brad_a> If we could have a clear plan about this i would be happy to implement
[16:42:08] <brad_a> for now it almost seems like ignoreOriginalIni should be set by default
[16:42:52] <fuzzie> why?
[16:43:03] <fuzzie> i mean, the original ini file has a lot of useful defaults
[16:43:15] <fuzzie> and saving to it makes a lot of sense
[16:43:28] <fuzzie> bt i don't see why it should override deliberate choices people make in gemrb.cfg
[16:43:52] <fuzzie> although I *do* think we shouldn't have any of these options in the default gemrb.cfg sample
[16:59:22] <brad_a> i definitely agree with you about gemrb.cfg, and the volume options are easy for me to fix
[16:59:32] <brad_a> the full screen option is giving my mind hell tho
[16:59:49] <brad_a> maybe we should ignore full screen in baldur.ini entirely?
[16:59:57] <brad_a> but that doesnt make sense
[17:00:01] <fuzzie> yes..
[17:00:55] <fuzzie> i don't see why we can't take baldur.ini as the default config for a game, and gemrb.cfg for overriding if wished, and have it no more complicated than that
[17:01:09] <brad_a> and is it just volume options that i need to fix or can you set any dictionary key in gemrb.cfg?
[17:01:39] <brad_a> the only complication with that is having to load gemrb.cfg first
[17:01:45] <fuzzie> i mean it's very helpful to do '-c GemRB.cfg.bla' and get different config
[17:01:51] <brad_a> yes
[17:01:57] <brad_a> i use that in the ios wrapper :)
[17:04:54] <lynxlynxlynx> i'm not sure how valuable is to be able to override stuff
[17:05:13] <fuzzie> well, for me, resolution/fullscreen is helpful
[17:05:30] <lynxlynxlynx> it's a melange now just because we don't do saving to the original ini yet
[17:05:40] <fuzzie> while volume seems .. less useful
[17:05:52] <lynxlynxlynx> but if we want it, why not support everything then?
[17:06:22] <brad_a> if iniImporter already supports writing then it should be easy enough to implement writing back
[17:06:24] <fuzzie> well, yes, I would just use brad's helpful little function and stomp over any keys which exist in both :)
[17:06:40] <brad_a> the keys are easy to skip
[17:07:03] <brad_a> so i guess we need to set the fullscreen key before reading from baldur.ini
[17:07:14] <lynxlynxlynx> we can quickly go silly like the /usr merge discussion
[17:07:52] <lynxlynxlynx> is the gamedir writable? is the cfg writable? what to do when neither works?
[17:09:46] <brad_a> ug :-P
[17:10:14] <lynxlynxlynx> imho we should just gracefully ignore the writeback part on such occassions
[17:10:31] <brad_a> sure
[17:10:34] <-- admrla has left IRC (Quit: Page closed)
[17:10:46] <brad_a> also maybe we can check if its writeable then set ignore if its not?
[17:13:02] <brad_a> i just imagine once we support writing defualts it would be silly to load them from somewhere we cant write to
[17:13:28] <brad_a> potentially confusing
[17:14:57] <lynxlynxlynx> err, that's exactly the nfs usecase
[17:15:25] <tomprince> Don't forget about those of us whose gamedir isn't writable.
[17:15:26] <lynxlynxlynx> in most setups the ini will be writable
[17:15:52] <lynxlynxlynx> the rest are powerusers that can deal with the consequences
[17:16:16] <brad_a> so just not be able to write defaults?
[17:16:28] <lynxlynxlynx> defaults are in the config alraedy
[17:16:51] <brad_a> i know i mean write via settings in the interface
[17:17:18] <lynxlynxlynx> in the case of unwritable ini and cfg, yes
[17:17:41] <fuzzie> i think if both ini and cfg locations are unwritable then you do indeed deserve what you get as a user
[17:17:45] <lynxlynxlynx> there's nothing preventing us from adding big fat warnings in the log output
[17:18:06] <lynxlynxlynx> but this is all niche
[17:18:21] <fuzzie> but i'm not sure gamedir being unwriteable is quite so niche
[17:18:27] <fuzzie> i'm not sure
[17:19:44] <brad_a> well the important thing for now is for me to make gemrb.cfg override baldur.ini
[17:20:01] <fuzzie> well i'm not sure i'd call it important :P
[17:20:16] <brad_a> well you dont get bugged about it frequently :-P
[17:20:29] <lynxlynxlynx> atleast we agreed on the general plan
[17:20:33] <fuzzie> ah that kind of important :)
[17:20:46] <brad_a> setting fulscreen=0 on ipad with 1024x768 will cause a crash
[17:20:57] <brad_a> lousy status bar
[17:21:27] <lynxlynxlynx> go make some magic while we just sit and watch
[17:21:35] <brad_a> sdl used to just truncate from the bottom of the screen
[17:22:11] <brad_a> heh. i actually have to go to work so i wont have time to work on this untill everyboy but tomprince is around to keep me company
[17:25:57] <lynxlynxlynx> i'll probably be working late yet again, but i'm not generally useful on implementation details
[17:28:43] <-- brad_a has left IRC (Quit: brad_a)
[17:36:06] <-- SiENcE has left IRC (Quit: @all: cya)
[17:38:51] --> kingron has joined #gemrb
[17:55:30] --> brad_a has joined #gemrb
[17:57:09] <brad_a> i hate to say this, but im feeling like we should remove Fullscreen and Bpp as interface vars and just use the vars dict.
[18:02:14] <tomprince> I'd be inclined to go the other way, rather.
[18:13:20] <brad_a> i know :-P
[18:13:29] <brad_a> but thats hard and a lot of work :)
[18:15:21] <tomprince> :)
[18:16:16] <tomprince> member variable pointers to the rescue? :)
[18:16:57] <tomprince> Or something like the crazy macros in loadconfig?
[18:18:08] <brad_a> well i was thinking use vars for now as a simple get it working type of thing. then somebody do a more complicated and correct solution
[18:18:23] <brad_a> i really dont think im a good candidate for that :-P
[18:42:05] <-- Baldurer has left IRC (Ping timeout: 276 seconds)
[18:57:50] <-- demitar has left IRC (Read error: Operation timed out)
[19:34:29] --> SiENcE has joined #gemrb
[20:37:48] --> harijan has joined #gemrb
[20:39:07] <-- kingron has left IRC (Remote host closed the connection)
[20:40:36] <-- harijan_ has left IRC (Ping timeout: 252 seconds)
[21:12:34] --> kalimann has joined #gemrb
[21:14:15] <kalimann> hi there. ive installed gemrb on my samsung nexus with ics. when i load it up, it exits immediately. it says in "FAP" that i should change my configuration file, but how do i edit it?
[21:15:13] <brad_a> with a text editor?
[21:15:42] <brad_a> i dont think anybody in here knows much about running gemrb on android
[21:19:48] <lynxlynxlynx> yes, either from the phone or mount it first
[21:19:53] <kalimann> hmm
[21:19:58] <kalimann> but where do i access it?
[21:20:19] <lynxlynxlynx> check net.sourceforge.gemrb
[21:20:41] <lynxlynxlynx> i don't remember if the gui in the beginning offers to edit the config
[21:21:41] <kalimann> what you want me to check out there?
[21:24:15] <lynxlynxlynx> the config name probably ends with .cfg
[21:25:04] <kalimann> alright i just reinstalled
[21:25:12] <kalimann> it gives me options, what should i do to make it work?
[21:25:45] <lynxlynxlynx> well what's the problem?
[21:26:52] <kalimann> when i load it up, it exits immediately.
[21:27:27] <lynxlynxlynx> and what's in the log?
[21:27:38] <kalimann> wheres the log?
[21:27:48] <lynxlynxlynx> check FAP again
[21:28:01] <lynxlynxlynx> maybe i should use red
[21:34:43] <kalimann> http://paste.debian.net/155489/
[21:34:50] <kalimann> i dunno if its the right bit i copied
[21:38:22] <brad_a> yes
[21:38:29] <brad_a> your problem is you have no config file
[21:38:37] <brad_a> at least not one where it shoud be
[21:38:42] <kalimann> hmph
[21:38:45] <kalimann> so what do i do?
[21:39:05] <brad_a> make one in a place where gemrb is looking?
[21:39:21] <kalimann> how? where?
[21:39:26] <kalimann> :(
[21:39:27] <brad_a> from the log you posted
[21:39:50] <brad_a> here: /mnt/sdcard/app-data/net.sourceforge.gemrb/.GemRB/GemRB.cfg
[21:40:44] <kalimann> do you know how i enter the mnt folder?
[21:42:34] <brad_a> presumably you dont have to
[21:42:45] <brad_a> that path looks like you just go to yoru sdcard
[21:42:50] <brad_a> sdcard/app-data/net.sourceforge.gemrb/.GemRB/GemRB.cfg
[21:43:05] <brad_a> so there should be an app-data directory on your sd card
[21:43:10] <kalimann> ah yeah, but there not even a app-data folder
[21:43:19] <kalimann> its cause theres only internal memory
[21:48:40] <brad_a> i see. well theres your problem i guess
[21:48:53] <kalimann> ah no wait
[21:49:11] <kalimann> i just cant access it from computer
[21:55:43] <kalimann> alrighty, im editing it now
[21:55:57] <kalimann> i actually accessed the cfg file
[21:56:20] --> edheldil_ has joined #gemrb
[21:56:24] --> kettuz has joined #gemrb
[22:00:53] <kalimann> yo? what do i need to change?
[22:04:44] <brad_a> we dont know
[22:04:58] <brad_a> right now your problem is a non existant config file
[22:05:58] <kalimann> but it does exist
[22:06:05] <kalimann> i just found it with my file explorer
[22:06:10] <kalimann> am editing with text editor
[22:07:28] <brad_a> it doesnt exist in a location gemrb is looking in
[22:08:57] <kalimann> it does :S
[22:09:37] <brad_a> it either doesnt or it isnt readable
[22:09:40] <kalimann> or no wait, it's /mnt/sdcard/app-data/net.sourceforge.gemrb/GemRB.cfg
[22:09:56] <kalimann> without the .GemRB
[22:10:57] <brad_a> so fix it
[22:11:49] <kalimann> where do i change it? is it somewhere in the cfg?
[22:13:09] <brad_a> no move the config to the expected path
[22:33:23] <kalimann> still wont work
[22:42:16] <kalimann> "error writing to /mnt/sdcard/app-data/net.sourcefourge.gemrb/AUTHORS" when i install now
[22:43:39] <edheldil_> fuzzie: here?
[22:44:13] <kalimann> huh
[22:44:40] <brad_a> that sounds odd
[22:44:54] <-- Yoshimo has left IRC (Quit: Yoshimo)
[22:44:56] <brad_a> install?
[22:45:00] <brad_a> why ar you reinstalling?
[22:45:34] <kalimann> because i cant make it work
[22:45:36] <kalimann> im desperate
[22:45:53] <kalimann> ive tried copying the cfg into a new folder like you listed
[22:45:55] <kalimann> didnt work
[22:46:01] <kalimann> tried with the whole app
[22:46:03] <kalimann> didnt work
[22:48:41] <brad_a> well you should check the log after every step...
[22:48:51] <brad_a> first fix the location then check again
[22:53:07] <tomprince> kalimann: You might also try asking for help on g3, since Beholder (our android dev) doesn't hang out here.
[22:58:09] <kalimann> like #g3?
[22:59:33] <brad_a> gibberlings three
[23:03:38] <kalimann> http://paste.debian.net/155506/ http://paste.debian.net/155507/
[23:04:45] <brad_a> same problem "Could not load config file "
[23:04:58] <brad_a> its looking here: /mnt/sdcard/app-data/net.sourceforge.gemrb/.GemRB/GemRB.cfg
[23:05:08] <brad_a> please ensure that file exists and is readable
[23:06:21] <brad_a> alternatively you can put it in the current working directory whatever that is on android
[23:07:07] <kalimann> cant i change its path?
[23:07:11] <brad_a> no
[23:07:16] <kalimann> it exists and is readable
[23:07:21] <kalimann> but installed the wrong place
[23:07:24] <brad_a> i beg to differ
[23:07:31] <brad_a> so it doesnt exist there
[23:08:33] <brad_a> i guess i dont know if you can change that locatio or not. thats a question for beholder or somebody that has setup gemrb on android before
[23:10:25] <lynxlynxlynx> well just put it where we're looking for it
[23:10:31] <lynxlynxlynx> why is that a big deal?
[23:11:04] <kalimann> i did
[23:11:10] <kalimann> gemrb still thinks its a big deal
[23:12:06] <brad_a> if you really have it at /mnt/sdcard/app-data/net.sourceforge.gemrb/.GemRB/GemRB.cfg then run gemrb again and the log will have a different error
[23:12:12] <brad_a> but i dont think you really do
[23:12:13] <kalimann> http://paste.debian.net/155509/
[23:12:19] <brad_a> also its probably case sensitive'
[23:12:30] <brad_a> ah
[23:12:36] <brad_a> see you are getting farther
[23:12:37] <kalimann> yea well so am i
[23:13:11] <brad_a> you have a bunch of these errors now: Invalid path given
[23:13:25] <tomprince> GamePath needs to point at your original game data.
[23:13:42] <kalimann> i havent installed any game yet, thats why?
[23:13:51] <brad_a> yes
[23:14:05] <brad_a> you just need to copy the game to your sdcard
[23:14:15] <brad_a> and change GamePath in your config file
[23:14:25] <brad_a> then you should be good to go usually
[23:22:40] <kalimann> does the path i give to the game include /mnt/sdcard/app-data/net.sourceforge.gemrb/ as well?
[23:22:51] <kalimann> example: /mnt/sdcard/app-data/net.sourceforge.gemrb/BG/
[23:23:56] <tomprince> I would assume so, yes.
[23:26:19] <-- kettuz has left IRC (Quit: Leaving)
[23:44:03] <-- SiENcE has left IRC (Ping timeout: 244 seconds)
[23:45:52] <-- lynxlynxlynx has left IRC (Remote host closed the connection)
[23:53:43] <brad_a> tomprince: i dont see how volume was being set from gemrb.cfg in the first place
[23:56:34] <tomprince> It isn't.
[23:56:51] <brad_a> but in the sample there are lines for it...
[23:57:08] <brad_a> under audio parameters
[23:58:57] <brad_a> so was this removed? or never implemented?