#gemrb@irc.freenode.net logs for 8 Jun 2013 (GMT)

Archive Today Yesterday Tomorrow
GemRB homepage


[00:00:04] <brada> not using install command
[00:01:32] <Empirical> For the BGII demo: Failed to load chitin key.
[00:02:22] <brada> what did you point the Game Path to?
[00:02:37] <Empirical> For the Demo: Failed to initialize GUI script.
[00:02:41] <Empirical> Um.
[00:02:43] <brada> should be the directory containing the chiten.key
[00:03:09] <Empirical> ~/programs/gemrb/demo/
[00:03:09] <brada> guiscripts would have the same issue as plugins
[00:03:16] <brada> as in permissions
[00:03:28] <brada> they are in GemRB.app/Contents/Resources
[00:03:35] <brada> then GUIScripts
[00:04:29] <brada> i should really add that hint to the open window
[00:04:32] <Empirical> Ok, I'm in the GUIScripts flder.
[00:04:44] <Empirical> Many many python scripts.
[00:04:48] <brada> right
[00:04:52] <brada> thats all fine
[00:05:14] <Empirical> That's interesting.
[00:05:17] <brada> what?
[00:05:25] <Empirical> It says there is no module named GemRB.
[00:05:31] <Empirical> Ther is no python module.
[00:05:38] <brada> whats the error before/after Failed to initialize GUI script
[00:05:54] <brada> did you have to change any permissins to get the plugins loading?
[00:06:42] <Empirical> Failure in the core.
[00:07:12] <Empirical> Loading plugins? Do you mean installing plugins?
[00:07:16] <brada> no
[00:07:24] <brada> they are already installed
[00:08:02] <Empirical> How do I load plugins?
[00:08:19] <Empirical> Is that an extra menu that I never got to?
[00:08:34] <brada> no
[00:08:38] <brada> they load automatically
[00:08:46] <brada> ou said there was an error
[00:08:52] <brada> then you somehow got passed it
[00:09:09] <Empirical> Oh. The error was specifically in XCode.
[00:09:20] <Empirical> Lots of little errors.
[00:09:35] <Empirical> Then I went back to the command line and ran make.
[00:10:01] <Empirical> make was crashing on a flag that converted warnings to errors.
[00:10:31] <Empirical> I turned that flag off, then everything installed.
[00:10:40] <brada> right i still question the permissions on your app
[00:10:59] <Empirical> How can I change the permissions on my app?
[00:11:07] <brada> chown...
[00:11:09] <brada> if you need it
[00:11:30] <brada> i dont know that that is your roblem
[00:11:42] <brada> you say the plugins are where they should be and so are the guiscripts
[00:11:47] <brada> so i dont know what else
[00:11:55] <Empirical> So, I run chown on the application?
[00:11:56] <brada> id have to look at your log
[00:13:47] <Empirical> I guess I'll download the original GemRB application and see if there is any difference in the behavior.
[00:16:21] <brada> good idea
[00:20:32] <Empirical> Ok. Done.
[00:20:50] <Empirical> For Gem demo: Fatal error in core.
[00:20:58] <Empirical> Can't find palette.
[00:21:06] <Empirical> For BGII demo:
[00:21:47] <Empirical> Fatal error in core.
[00:21:53] <Empirical> Can't find Chitin Key
[00:24:16] <brada> cant find palette would be due to lack of png importer plugin
[00:24:31] <brada> i wonder if my buildslave is failing to build that plugin lol
[00:24:40] <brada> you could just copy the one you built there
[00:25:01] <brada> cant find chitin.key is because you are directing it to the wrong path
[00:25:16] <brada> you want to direct it to the folder containing the chiten.key
[00:25:33] <brada> im gonna puch a change to the open message to be more specific about what it wants
[00:25:52] <Lightkey> chicken.key
[00:27:31] <Empirical> The BGII demo doesn't come with a chitin key.
[00:27:36] <brada> when i run the demo i get a black screen btw
[00:27:48] <Empirical> Which demo?
[00:27:52] <brada> Empirical: it has to
[00:27:54] <brada> our demo
[00:27:58] <brada> BG2 demo will work fine
[00:28:08] <brada> i dont know what changed with our demo
[00:28:14] <brada> last time i tried it worked fine
[00:28:38] <brada> you dont have a complete bg2 demo if it doesnt have a chiten.key in it
[00:28:51] <Empirical> Hmm...
[00:28:57] <Empirical> I guess I'll need to get that.
[00:29:10] <brada> where did you get it from?
[00:29:51] <brada> ah i get a blck screen due to the same guiscript error
[00:30:06] <brada> ImportError: No module named Start
[00:30:19] <Empirical> From the File Planet.
[00:30:28] <brada> which i assume is due to me not installing the demo data in the app bundle
[00:30:39] <brada> so it works fine if i copy it there
[00:31:16] <Empirical> lol, your developing while I'm ripping my hair out over here? ;)
[00:31:24] <Empirical> *you're
[00:33:31] <Empirical> I should be downloading the full demo.
[00:33:42] <brada> our auto gametype detection doesnt work for our in house demo
[00:34:05] <Empirical> What is auto gametype detection?
[00:34:09] <brada> so you wont be able to sue that without manually editing your net.sourceforge.gemrb file
[00:34:18] <brada> well gemrb works with more than BG
[00:34:30] <brada> so we have gametypes you can choose from
[00:34:47] <brada> bg1, bg2, iwd, pst, etc
[00:35:01] <brada> and i believe the gametype for our demo is "demo"
[00:35:02] <Empirical> So. Wine is necessary to run the setup script.
[00:35:13] <brada> for the BG2 demo?
[00:35:16] <brada> probably
[00:35:37] <Empirical> Is wine necessary if I wanted to get ahold of the original BGII?
[00:35:48] <brada> yes and no
[00:35:57] <brada> 1) there are ways of installing without wine
[00:36:01] <brada> ^see our wiki
[00:36:14] <brada> 2) you could jsut copy a full install from any PC
[00:36:32] <Empirical> Ah. That wouldn't be an option in my case.
[00:37:23] <brada> you could install the mac version
[00:37:31] <brada> that works fine with gemrb
[00:37:42] <brada> tho without vlc plugin you wouldnt be able to watch the movies
[00:37:44] <Empirical> mac version of?
[00:37:48] <brada> BG2
[00:37:59] <Empirical> There is a mac version of BG2?!
[00:38:02] <brada> yes
[00:38:13] <Empirical> Where?
[00:38:16] <brada> PPC only
[00:38:19] <brada> i dont know google it
[00:38:23] <brada> i own it
[00:38:47] <Empirical> Ah. And it will work through GemRB on intel?
[00:38:50] <brada> but you can install using rosetta which is available to 10.6
[00:38:57] <brada> then play with gemrb on intel
[00:38:58] <brada> yes
[00:39:20] <Empirical> So, it would crash natively yet it would run on gemrb?
[00:39:28] <brada> probably
[00:39:42] <brada> it was a very unstable port :(
[00:39:48] <brada> but that doesnt matter if you are using gemrb
[00:40:09] <brada> you only need rosetta to install the game
[00:41:41] <Empirical> I have wine on my mac. It is a little wonky, however.
[00:41:58] <brada> you could download a trial version of crossover
[00:42:07] <brada> i know that works for installing the windows versions
[00:42:13] <Empirical> That boat has already sailed.
[00:42:30] <brada> they came out with a new version so you should be eligable for a new trial
[00:44:40] <Empirical> Well. The demo for bgii installed just fine for wine.
[00:45:01] <Empirical> No chitin key, however.
[00:50:52] <brada> there has to be
[00:50:57] <brada> where are you getting it from?
[00:51:54] <Empirical> I'm getting it from file planet. The link that was suggested on the macintosh gemrb tutorial
[01:11:08] <-- Empirical has left IRC (Quit: Page closed)
[01:16:12] <brada> downloading
[01:17:05] <brada> empirical: its apparently chitin.key
[01:17:08] <brada> on chiten
[01:18:44] <Lightkey> I thought you would get my drift but apparently no ;-)
[01:18:54] <Lightkey> he always wrote it correctly
[01:18:57] <brada> well its not me having the problem
[01:20:05] <brada> this FP download is painfully slow
[01:43:34] --> Empiricist has joined #gemrb
[01:45:14] <Empiricist> brada: A Report: The BGII demo runs through the main menu, the character creation screen, then when you tell it to start the game, it crashes on Mac OSX 10.6.8
[01:45:33] <brada> i doubt it crashes
[01:45:43] <brada> are you gettin an unexpectedly quit dialog?
[01:45:57] <Empiricist> How could I tell?
[01:46:47] <brada> um… a dialog would pop up saying "GemRB has unexpectedly quit"
[01:46:58] <brada> if you didnt get that then it didnt crash
[01:47:03] <brada> check your console/log
[01:47:13] <brada> probably need an additionaly path
[01:47:30] <Empiricist> "GemRB quit unexpectedly."
[01:47:57] <brada> can you paste me both the log and the crash report?
[01:48:03] <brada> in pastebin
[01:48:04] <brada> not here
[01:48:13] <Empiricist> Sure.
[01:48:57] <Empiricist> Is console/log in the application folder?
[01:49:16] <brada> applications/ustilities
[01:49:19] <brada> utilities
[01:49:39] <brada> log would be whereever your systm log/ gemrb log is going to
[01:49:44] <brada> but console.app will work
[01:49:49] <brada> jsut filter lto gemrb messages
[01:51:32] <Empiricist> Ok. the title is "gemrb mac log"
[01:53:43] <Empiricist> Can you access it?
[01:54:53] <brada> link?
[01:55:07] <Empiricist> http://pastebin.com/bLE2B0mU
[01:55:13] <Pepelka> gemrb mac log - Pastebin.com
[01:56:09] <brada> its missing a bunch of data
[01:56:20] <brada> so odds are you jsut need to add an extra path
[01:56:22] <brada> which is easy
[01:56:40] <Empiricist> Again. I'm sorry about all of this.
[01:56:42] <brada> do you have a data/data directory?
[01:57:11] <brada> if so try adding the same path as game path + /data
[01:57:18] <brada> as CD1
[01:57:25] <Empiricist> In the demo folder there is a "data" directory.
[01:58:56] <brada> so try adding that path
[01:59:00] <brada> as CD1
[02:00:09] <Empiricist> You are referring to the CD1 in the gemrb gui that pops up when I run gemrb?
[02:00:19] <brada> yes
[02:00:33] <Empiricist> That doesn't exist in the mac binary that I downloaded.
[02:00:43] <Empiricist> I downloaded it from sourceforge.
[02:00:53] <Empiricist> From my newly compiled binary it has it...
[02:01:20] <brada> um.. how old is that binary?
[02:03:14] <Empiricist> v0.8.0-1-g5577729 (12398)
[02:03:42] <brada> the one i jsut downloaded has it
[02:03:59] <brada> you wanted a later one
[02:04:07] <brada> like v0.8.0-100
[02:04:10] <brada> is the latest
[02:04:33] <brada> anyway it matters not as long as the one you are using has it
[02:05:44] <Empiricist> Did you automate the installation process?
[02:06:16] <brada> installation?
[02:06:18] <brada> of?
[02:08:25] <Empiricist> v0.8.0-100-g7309c79 (12497)
[02:08:35] <Empiricist> Also crashes.
[02:08:58] <brada> im sure
[02:09:11] <brada> youll have to wait till the demo finishes downloading for me
[02:09:22] <brada> only 25% :(
[02:09:24] <brada> its so slow
[02:09:29] <Empiricist> Will do. 15 minutes. :)
[02:09:41] <brada> then i can tell you if its a settings issue
[02:09:55] <brada> but in the meantime can you pastebin me the crash log?
[02:09:59] <Empiricist> I meant, did you automate the process of generating the binaries and putting them online?
[02:10:01] <brada> not the log
[02:10:07] <brada> but the crash report
[02:10:22] <brada> yes we use buildbot for all that
[02:10:27] <brada> totally automated
[02:12:22] <Empiricist> http://pastebin.com/rHNeYyPN
[02:12:23] <Pepelka> gemrb crash - Pastebin.com
[02:12:25] <Empiricist> That's clever.
[02:13:53] <Empiricist> So. How did you learn to develop on the mac?
[02:15:42] <brada> gotta run to the store brb
[02:16:24] <Empiricist> http://www.prism.gatech.edu/~kraveendran3/research/HybridSPH/
[02:16:24] <Pepelka> Ending Credits | Karthik Raveendran | Home
[02:16:34] <Empiricist> Take care.
[02:41:10] <brada> Empiricist: what version of python do you have/
[02:41:30] <Empiricist> Several.
[02:41:46] <Empiricist> 2.6.1
[02:42:11] <Empiricist> I have python 2.7 running on my comp as well.
[02:43:50] <brada> well its not crashing in any mac specific code
[02:43:57] <brada> so its not jsut that you have 10.6
[02:44:46] <brada> and you are running 2.7.3
[02:44:51] <brada> so its not just old python
[02:47:14] <Empiricist> When I run python2.6 or python2.7 from the command line, then I try to run: import GemRB I get an error saying: ImportError: No module named GemRB
[02:47:26] <Empiricist> Is there a way to seperately install the egg?
[02:47:29] <brada> thats cuz the gemrb module is implemented in c++
[02:47:40] <brada> its compiled into the core
[02:47:57] <brada> er as a plugin
[02:48:24] <Empiricist> I'm not sure that I understand. All of the .py scripts call "GemRB" as a module.
[02:48:31] <brada> yes i know
[02:48:33] <brada> you can do that
[02:48:40] <brada> python can interface with native code
[02:48:41] <Empiricist> Interesting.
[02:49:55] <brada> the crash happens right after it tires to load CLABMA01.2da
[02:50:03] <brada> im guessing thats for a mage?
[02:50:19] <Empiricist> That time. Yes.
[02:50:26] <Empiricist> Well done.
[02:50:53] <brada> so where is that file located?
[02:51:24] <Empiricist> Let me look for it.
[02:51:53] <brada> its probably biffed
[02:52:16] <Empiricist> There *is* an Areas.bif
[02:52:21] <brada> if this demo would ever finish downloading...
[02:52:27] <brada> its not an area
[02:53:02] <brada> oh
[02:53:03] <brada> i see
[02:53:05] <Empiricist> What is it?
[02:53:25] <brada> they are in override
[02:53:29] <brada> and i dont see it
[02:53:40] <brada> let me go look at your log again
[02:53:47] <brada> could be the game type detection failing
[02:54:28] <brada> no it detected bg2
[02:54:30] <Empiricist> Do you get many macintosh guinea pigs?
[02:55:04] <brada> actually a ton of mac users
[02:55:11] <brada> not many on 10.6
[02:55:17] <brada> but i doubt thats your problem
[02:55:22] <Empiricist> Mostly 10.8?
[02:56:18] <brada> or 10.7
[02:56:23] <Empiricist> You know... if you have python speaking to c++ directly; you could easilly have it detect and index files.
[02:56:27] <brada> we get few that try to play bg2 demo tho
[02:56:40] <brada> thats how we do the autodetect
[02:56:43] <Empiricist> Ah.
[02:56:54] <brada> it just wasnt updated for our demo type
[02:57:00] <Empiricist> I would have thought that would be the very first test someone would try.
[02:57:07] <brada> i need to add another gui control for manually selecting anyway
[02:57:16] <brada> for anybody that wants to do their own game
[02:57:34] <brada> no most people already have the game files
[02:59:11] <brada> that clab could be a red herring anyway
[02:59:26] <brada> but it is crashing in a mage related function
[02:59:43] <brada> GemRB_GetKnownSpell
[02:59:46] <Empiricist> Would it help if I crashed it in a fighter related function?
[03:00:08] <brada> will it crash no matter what class you pick?
[03:00:36] <Empiricist> It's crashed in everything I've tried so far. Fighter, Mage.
[03:00:38] <Empiricist> I can attempt to crash it further.
[03:01:04] <brada> bah still 3 min for demo to download
[03:01:07] <brada> slowest dl ever
[03:01:15] <Empiricist> I'll go ahead and do that. And send you the crash logs if you're interested.
[03:01:42] <brada> sure they wont hurt
[03:04:23] <brada> in the meantime ill double check that it doesnt crash in my full version of BG2
[03:05:44] <brada> no crash for me
[03:07:09] <brada> i wonder if its crashing due to not being able to create an autosave
[03:07:19] <brada> i would have thought wed have safegaurds for that tho
[03:07:25] <brada> seems like a fairly common problem
[03:07:32] <Empiricist> http://pastebin.com/RVnrY9cX
[03:07:33] <Pepelka> gemrb crash 2 - Pastebin.com
[03:07:38] <Empiricist> Crash on Cleric
[03:07:50] <brada> same crash location
[03:07:56] <brada> in GemRB_GetKnownSpell
[03:08:02] <brada> tho i suppose i misread that
[03:08:15] <brada> cuz NULL is somehow on top of the call stack o_O
[03:08:26] <Empiricist> I'll go ahead and generate some more data.
[03:08:34] <brada> no need
[03:08:40] <brada> im sure all th crashes are the same
[03:10:15] <Empiricist> This one is slightly different.
[03:10:29] <Empiricist> Not in terms of character class. But location.
[03:10:29] <brada> lets see i guess
[03:10:42] <brada> probably still in python related stuff
[03:11:21] <Empiricist> http://pastebin.com/Zjf95DM8
[03:11:22] <Pepelka> gemrb crash 3 - Pastebin.com
[03:11:30] <brada> thats the same crash!
[03:11:35] <brada> GemRB_GetKnownSpell
[03:11:39] <brada> then null on top of it
[03:12:28] <Empiricist> Ah. Well. It crashed at a different location in the GUI for me.
[03:12:54] <brada> i wonder if something fishy is with your python
[03:12:59] <brada> thats not the system supplied python
[03:13:27] <brada> try using the one in /System/Frameworks
[03:13:53] <Empiricist> How do I control which python the program uses?
[03:14:23] <brada> not sure of an easy way other than temprarily move the one in /Library/Frameworks to the trash / rename it
[03:14:31] <brada> then rebuild
[03:14:39] <brada> oh
[03:14:41] <brada> i wonder
[03:14:49] <brada> if cmake built against the system one
[03:14:57] <brada> then it tries to run against this diffrent version
[03:15:16] <Empiricist> That'll muck things up pretty quickly.
[03:15:21] <brada> check your cmake output for the python include dir
[03:15:25] <brada> why?
[03:15:45] <Empiricist> I've run into that issue before with matplotlib.
[03:16:09] <Empiricist> You install with one version of python, then you try running it and it crashes.
[03:16:14] <brada> well chek your cmake output
[03:16:27] <brada> that sounds like a likely culprit
[03:16:57] <Empiricist> Ok. Rerunning cmake.
[03:17:58] <Empiricist> http://pastebin.com/xPjG6Pz7
[03:17:58] <Pepelka> cmake compile 1 - Pastebin.com
[03:18:23] <brada> which ever python you build against should probably be copied to GemRB.app/Contents/Frameworks
[03:18:30] <brada> i should make the buildslave do that
[03:18:58] <brada> need verbose output
[03:19:58] <Empiricist> How do I specify verbosity in cmake?
[03:20:06] <brada> i assume its going to build against /System/Frameworks/Python so copy that to GemRB.app/Contents/Frameworks
[03:20:12] <brada> im not sure
[03:20:17] <brada> id have to google it
[03:20:21] <Empiricist> Ok. I'll do that.
[03:20:23] <brada> if its even an option
[03:21:58] <Empiricist> http://pastebin.com/kr7Hq91c
[03:22:00] <Pepelka> cmake compile 2 - Pastebin.com
[03:22:14] <Empiricist> It might not quite be what you were looking for.
[03:22:20] <brada> hmmm i see nothing about python there
[03:22:40] <brada> oh cuz it needs to be cleaned first
[03:23:03] <Empiricist> Ok. Crash here I come. :)
[03:23:42] <Empiricist> This will take awhile. And it will crash. I'm sure.
[03:24:01] <brada> right i jsut wanted to see what python its building against
[03:24:16] <brada> you have multiple installed and im pretty sure its building against one and running another
[03:24:43] <Empiricist> Due to our friendly neighborhood treat warnings as errors...
[03:25:16] <brada> im fairly sure if that is the problem you can simply copy the built version to the bundle
[03:25:21] <brada> and escape the crash
[03:25:32] <Empiricist> That would be nice.
[03:26:26] <brada> i had this happen once before...
[03:26:54] <Empiricist> http://pastebin.com/Ed8Jsh25
[03:26:57] <Pepelka> gemrb crash 4 - Pastebin.com
[03:27:24] <Empiricist> Now I forgot to include the make directive that you suggested.
[03:28:13] <brada> that wasnt a crash anyway :p (build log)
[03:28:25] <brada> im sure all the crashes are the same
[03:29:39] <Empiricist> .pro files must be projectile files and not IDL scripts.
[03:29:58] <brada> yes
[03:30:52] <Empiricist> Vector definitions and n-body particle systems?
[03:31:55] <brada> did you say the SF binary crashes too?
[03:32:05] <Empiricist> SF?
[03:32:12] <brada> sourceforge
[03:32:44] <brada> ideally the latest one
[03:33:09] <Empiricist> Yes. All of the crash logs are from the SF binary.
[03:33:29] <Empiricist> All of the crash logs that I've sent you are from the SF binary.
[03:33:43] <brada> your own build also crashes then?
[03:33:46] <Empiricist> You haven't seen the crash log for my build.
[03:33:56] <Empiricist> Yes. But significantly earlier.
[03:33:58] <brada> thats fine i dont need to
[03:34:04] <brada> just making sure this issue applies to both
[03:34:43] <Empiricist> http://pastebin.com/dz1LS7S0
[03:34:45] <Pepelka> More compile info - Pastebin.com
[03:35:20] <Empiricist> The crash for my build doesn't even let me get to the entrance GUI for Baldurs Gate.
[03:35:38] <brada> but is it truly crashing?
[03:35:42] <brada> or just erroring out?
[03:35:51] <brada> i guess the mac build doesnt error out
[03:35:53] <brada> nevermind
[03:37:59] <Empiricist> http://pastebin.com/sZc8Py23
[03:38:01] <Pepelka> My Build crash - Pastebin.com
[03:39:45] <Empiricist> 0 libgemrb_core.dylib 0x147cf1fb GemRB::Interface::HasFeature(int) const + 27 1 CREImporter.so 0x007e82d5 Initializer() + 37
[03:42:38] <brada> queer
[03:43:45] <Empiricist> Quite queer.
[03:45:34] <Empiricist> Perhaps I just need a newer computer.
[03:46:21] <Empiricist> With a newer computer I could start programming in OpenCL.
[03:46:56] <brada> whats the run log for your version look like?
[03:47:13] <Empiricist> You know that a $1000 processor exists now that can operate at 7 TFLOPS?
[03:47:17] <Empiricist> run log...
[03:47:20] <brada> im going to cofigure buildbot to explicitly use python 2.5
[03:47:33] <brada> form console.app
[03:50:38] <Empiricist> http://pastebin.com/vnB0AKzt
[03:50:39] <Pepelka> Console Log - Pastebin.com
[03:51:09] <brada> surely thats not all there was
[03:51:32] <brada> doesnt matter im hoping to solve this by explicitly using python 2.5
[03:53:46] <Empiricist> Unfortunately, yes. That was all there was.
[03:55:12] <Empiricist> I don't know when you are planning to hit the hay... don't let me delay that.
[04:05:41] <brada> Empiricist: i jsut pushed a hopefull fix
[04:05:56] <brada> so buildbot will be uploading a new binary that should hopefully work for you
[04:06:02] <brada> build against python 2.5
[04:06:08] <brada> *built
[04:06:36] <Empiricist> How can I choose to build against python 2.5?
[04:07:00] <brada> with cmake i dont know
[04:07:11] <brada> but i also made the xcode project work for you
[04:07:21] <brada> since i moved optional plugins to the release package only
[04:07:29] <brada> oh
[04:07:37] <brada> except i think we may require xcode 4
[04:07:41] <brada> who knows
[04:08:43] <Empiricist> Ok. I'll try to build it on xcode.
[04:08:47] <gembot_> build #406 of osx-xcode-binary is complete: Failure [4failed compile] Build details are at http://buildbot.gemrb.org/builders/osx-xcode-binary/builds/406 blamelist: Brad Allred <bradallred@me.com>
[04:08:55] <brada> crap lol
[04:09:00] <brada> looks like i broke it
[04:10:01] <Empiricist> I hate it when that happens.
[04:10:15] <Empiricist> ;)
[04:10:58] <brada> i broke it cuz i accidently pushed changes i shouldnt have
[04:11:08] <brada> they were pending for some gui enhancemnents
[04:14:22] <Empiricist> I think I may be going to bed. But, thank you for your help; Brad. :)
[04:14:26] <brada> ok when/if htat reports success a new binary will be available for you to try
[04:14:41] <Empiricist> Alright.
[04:16:33] <Empiricist> You are an engineer.
[04:17:46] <Empiricist> Err... nevermind. Not necessarilly.
[04:20:59] <brada> i try i guess :p
[04:21:46] <Empiricist> Sorry. When your name came up, I looked it up on Linked In. there are several folks with that name from Utah.
[04:22:17] <brada> im not on that site
[04:22:25] <Empiricist> Curiousity... it's not necessarily one of my more charming features.
[04:22:40] <Empiricist> I'm just a student.
[04:23:28] <brada> me too
[04:23:39] <Empiricist> Computer science?
[04:23:42] <brada> tho i do some professional mac app development
[04:23:43] <brada> part time
[04:23:58] <brada> used to do we devlopment
[04:24:02] <brada> and i hated it so much
[04:24:07] <Empiricist> I see. That should lead to high paying opportunities in the future.
[04:24:20] <Empiricist> we developement?
[04:24:24] <brada> as long as they arent in web development >_<
[04:24:38] <Empiricist> I'm just a physics student.
[04:24:41] <brada> i meant web
[04:24:59] <brada> i wish i could remember math better :p
[04:25:21] <Empiricist> There's a lot of cool things you can do with it when it's paired with 3D graphics.
[04:25:22] <brada> i put of taking calculus and now they are trying to make me take the prereqs again :(
[04:25:36] <brada> "its been too long"
[04:25:55] <brada> i plan on testing out, but not sure that i could given how much ive forgotten
[04:27:20] <Empiricist> If you're next to an academic library, you could get a book on calculus and spend a month or two swearing at it.
[04:28:05] <brada> yeah im considering such
[04:28:15] <Empiricist> The best ones have answer in the back that you can check yourself with.
[04:28:35] <brada> of course
[04:28:52] <Empiricist> Have you heard of OCW?
[04:29:07] <Empiricist> *open-course-ware
[04:29:56] <Empiricist> http://ocw.mit.edu/courses/find-by-topic/
[04:29:57] <Pepelka> Find Courses by Topic | MIT OpenCourseWare | Free Online Course Materials
[04:31:34] <brada> i did now that you mention it
[04:32:03] <Empiricist> Sometimes it has good stuff. Sometimes not.
[04:32:21] <brada> cant go wrong with mit i figure :p
[04:33:20] <Empiricist> Well...
[04:33:25] <Empiricist> http://philip.greenspun.com/school/tuition-free-mit.html
[04:33:28] <Pepelka> Tuition-free MIT
[04:33:52] <Empiricist> At Left: Three MIT undergrads and the wardrobe they were able to purchase after paying their term bill.
[04:36:24] <brada> ha ha
[04:36:34] <brada> thats building now btw
[04:36:49] <Empiricist> Thanks.
[04:37:25] <brada> well it failed
[04:37:30] <brada> ill have to look at it tomrrow
[04:37:33] <brada> tired now
[04:37:35] <brada> time for sleep
[04:37:57] <Empiricist> Alright. Sleep well, Brad.
[04:38:04] <brada> well it may be trivial
[04:38:13] <brada> looks like i may have forgotten something stupid
[04:38:35] <Empiricist> Perhaps. I think I'm going to seriously read through the source code.
[04:39:09] <Empiricist> Goodnight. Goodbye.
[04:39:33] <-- Empiricist has left IRC (Quit: Page closed)
[04:39:38] <-- brada has left IRC (Quit: brada)
[05:14:00] <gembot_> build #408 of osx-xcode-binary is complete: Success [3build successful] Build details are at http://buildbot.gemrb.org/builders/osx-xcode-binary/builds/408
[07:47:25] --> Yoshimo has joined #gemrb
[07:47:47] --> lynxlynxlynx has joined #gemrb
[07:47:47] <-- lynxlynxlynx has left IRC (Changing host)
[07:47:47] --> lynxlynxlynx has joined #gemrb
[07:47:47] --- ChanServ gives channel operator status to lynxlynxlynx
[08:10:54] <-- PixelScum has left IRC (Ping timeout: 240 seconds)
[08:14:50] --> Drakkar has joined #gemrb
[08:17:43] --> fizzle has joined #gemrb
[11:02:42] --> WingedHussar has joined #gemrb
[11:12:32] <-- Drakkar has left IRC (Ping timeout: 252 seconds)
[11:15:48] --> Drakkar has joined #gemrb
[12:05:40] <-- WingedHussar has left IRC (Quit: WingedHussar)
[13:12:01] <-- Yoshimo has left IRC (Quit: Yoshimo)
[13:18:08] <-- Lightkey has left IRC (Read error: Operation timed out)
[13:36:00] --> Lightkey has joined #gemrb
[14:28:11] --> brada has joined #gemrb
[14:28:31] <brada> lynx: just to be sure we are compatible with python 2.5 correct?
[14:28:48] <Gekz> what for?
[14:29:04] <Gekz> "Python 2.5 was released on September 19th 2006"
[14:29:33] <lynxlynxlynx> probably we are, but i doubt anyone checked recently
[14:30:06] <brada> what for is only because thats the versin that ships with mac os 10.5
[14:30:41] <Gekz> it's even _older_
[14:30:49] <Gekz> wait I lied
[14:30:52] <Gekz> it's one year newer
[14:30:56] <Gekz> October 2007
[14:31:02] <Gekz> also, hi
[14:31:03] <Gekz> hah
[14:31:15] <lynxlynxlynx> our build docs still claim 2.3
[14:31:25] <brada> wonder if thats true tho
[14:32:03] <brada> well find out soon enough i suppose
[14:32:17] <brada> i had the buildbot start linking to 2.5
[14:32:22] <brada> for the mac binary
[14:38:28] --> Yoshimo has joined #gemrb
[14:40:49] <-- Yoshimo has left IRC (Client Quit)
[14:41:01] --> Yoshimo has joined #gemrb
[15:08:39] <lynxlynxlynx> do spell triggers still work for anyone? i'm wondering whether i just broke them locally
[15:20:47] <fizzle> like what?
[15:22:30] <lynxlynxlynx> targetting
[15:22:47] <lynxlynxlynx> here the caster becomes the target either way
[15:23:15] <lynxlynxlynx> of the trigger innate, i mean
[15:24:31] <lynxlynxlynx> looks like your dialog changes also fixed the iwd2 ch6 bug :)
[15:24:40] <Lightkey> ..and it really does not help that xchat uses the same colour for fizzle and fuzzie :o
[15:25:02] <fizzle> never tried spell triggers myself...
[15:25:02] <lynxlynxlynx> the dialog starter moves, which is not correct, but at least the cutscene continues without the need to manually break out of it
[15:25:14] <fizzle> and yay
[15:31:14] <-- brada has left IRC (Quit: brada)
[15:36:11] --> brada has joined #gemrb
[16:10:52] <-- brada has left IRC (Quit: brada)
[16:14:39] --> Empiricist has joined #gemrb
[16:14:53] <Empiricist> Hi.
[16:19:03] <lynxlynxlynx> oj
[16:20:39] <Empiricist> j of o
[16:21:33] <Empiricist> I think I've seen some of your posts on the 3 gibberlings lynx.
[16:22:00] <lynxlynxlynx> very likely
[16:22:17] <Empiricist> Which operating system do you use for all of this?
[16:22:21] <lynxlynxlynx> there's one of me for each gibberling
[16:22:27] <lynxlynxlynx> linux
[16:22:51] <Empiricist> How does c++ call the python scripts?
[16:23:54] <Empiricist> You seem to be in the upper echelons of development for this project.
[16:23:56] <lynxlynxlynx> python has bindings that we use
[16:24:13] <Empiricist> I've never called python through c++.
[16:24:17] <lynxlynxlynx> most of the glue is in the GUIScripts plugin
[16:24:34] <Empiricist> I've called c++ through python.
[16:24:53] <Empiricist> I'll check that out.
[16:25:21] <Empiricist> When did development for the demo begin?
[16:30:58] <lynxlynxlynx> the game demo? it's hard to say, but repository-wise dec 2012
[16:31:44] <lynxlynxlynx> not getting any attention though
[16:32:44] <Empiricist> I get a black screen with a hand for a cursor when I attempt to run the demo with the online binary. I get a crash with my build for gemrb.
[16:33:15] <Empiricist> Who has done work on the demo so far?
[16:37:30] <lynxlynxlynx> on the gemrb side mostly me
[16:37:46] <lynxlynxlynx> where does it crash?
[16:38:08] <Empiricist> For my build or for the downloaded binary?
[16:38:19] <lynxlynxlynx> if you get a black screen, there's almost certainly a data problem, so i guess one of your paths is bad
[16:38:33] <lynxlynxlynx> either
[16:38:53] <Empiricist> For my build, it crashes as soon as I hit the launch key.
[16:39:07] <Empiricist> *On the first gui.
[16:39:29] <lynxlynxlynx> yeah, but which line of code
[16:39:54] <lynxlynxlynx> and make sure you're on latest gemrb, brad fixed something for macs yesterday
[16:40:39] <Empiricist> My gemrb was built from version 0.8.0 of the source code.
[16:42:05] <Empiricist> v0.8.0-107-g6e34d5e (12504), is the version for the binary I downloaded.
[16:44:20] <Empiricist> I don't know how to check for which line of code an application crashed on...
[16:44:55] <Empiricist> Thread 0 Crashed: Dispatch queue: com.apple.main-thread 0 libSystem.B.dylib 0x96090c5a __kill + 10
[16:45:05] <lynxlynxlynx> does gdb work there?
[16:45:18] <Empiricist> 1 libSystem.B.dylib 0x96090c4c kill$UNIX2003 + 32 2 libSystem.B.dylib 0x961235a5 raise + 26 3 libSystem.B.dylib 0x961396e4 abort + 93 4 libstdc++.6.dylib 0x9891efda __gnu_cxx::__verbose_terminate_handler() + 433 5 libstdc++.6.dylib 0x9891d17a __cxxabiv1::__terminate(void (*)
[16:45:24] <Empiricist> Hmm...
[16:45:36] <Empiricist> I'm going to have to figure out how to use that.
[16:45:53] <lynxlynxlynx> or use xcode or some other ide
[16:46:36] <Empiricist> Sorry, this might take awhile. I'll figure out how to use gdb from the command line.
[16:47:28] <Empiricist> gdb gemrb
[16:47:50] <Empiricist> run
[16:48:02] <Empiricist> Starting program: /Users/jonn/Downloads/gemrb-0.8.0.1/build/gemrb/gemrb.app/Contents/MacOS/gemrb Reading symbols for shared libraries .++++++++................................................................................... done Reading symbols for shared libraries . done Reading symbols for shared libraries . done Reading symbols for shared libraries . done Reading symbols for shared libraries . done Reading symbols for shar
[16:48:26] <Empiricist> Sorry about flooding the screen with this. Perhaps I should be using pastebin.
[16:50:34] <Empiricist> Ok. So I tell my build to run the demo.
[16:50:49] <Empiricist> gdb returns: [Core]: GemRB Core Version v0.8.0.1 Loading...
[16:51:05] <Empiricist> gdb returns: terminate called after throwing an instance of 'std::logic_error'
[16:51:27] <Empiricist> gdb returns: what(): basic_string::_S_construct NULL not valid
[16:51:45] <Empiricist> gdb returns: Program received signal SIGABRT, Aborted.
[16:51:53] <Empiricist> 0x96090c5a in __kill ()
[16:52:24] <wjp> do a 'bt' and put the result on pastebin
[16:53:00] <Empiricist> What is a 'bt'?
[16:53:15] <wjp> a gdb command
[16:54:53] <Empiricist> http://pastebin.com/VKA44DJB
[16:54:54] <Pepelka> gemrb: gdb output I - Pastebin.com
[16:55:30] <Lightkey> short for backtrace
[16:55:34] <wjp> yes, and then run "bt" :-)
[16:55:48] <Empiricist> ... give me a second. I've never done this before. :)
[16:57:31] <Empiricist> Ok. I have the backtrace. Pastebin wants me to sign in to paste more.
[16:57:44] <Empiricist> I'm signing in.
[16:58:20] <Lightkey> o_O
[16:59:16] <Empiricist> There is a limit of 10 pastes per 24 hours.
[16:59:26] <Empiricist> I've exceeded that.
[17:00:19] <Empiricist> I'm about to dump to the screen here:
[17:00:32] <Empiricist> #0 0x96090c5a in __kill () #1 0x96090c4c in kill$UNIX2003 () #2 0x961235a5 in raise () #3 0x961396e4 in abort () #4 0x9891efda in __gnu_cxx::__verbose_terminate_handler () #5 0x9891d17a in __cxxabiv1::__terminate () #6 0x9891d1ba in std::terminate () #7 0x9891d2b8 in __cxa_throw () #8 0x988d9856 in std::__throw_logic_error () #9 0x98904ced in std::string::_S_construct<char const*> () #10 0x989051fb in std::basic_string<
[17:00:40] <Empiricist> That is not comprehensible...
[17:00:58] <wjp> that's because the relevant bits have been cut off by the irc message length limit
[17:01:04] <Empiricist> #0 0x96090c5a in __kill ()
[17:01:05] <wjp> http://paste.lisp.org/
[17:01:11] <wjp> or use any other random paste site
[17:01:27] <Empiricist> That's wonderful.
[17:03:34] <Empiricist> http://paste.lisp.org/+2Y44
[17:04:27] --> brada has joined #gemrb
[17:05:34] <brada> Empiricist: download the latest build to run demo
[17:05:41] <brada> i added a gametype selector
[17:05:52] <brada> just choose demo and point to the demo dir
[17:07:40] <brada> i do wonder if i broke something
[17:08:01] <brada> your crash is due to tryig to use NULL in SetKeyValuePair
[17:09:08] <Empiricist> Indeed the demo runs. brada. :) I get a black screen with a hand for a cursor. That's it.
[17:09:31] <Empiricist> That's great for the demo. :)
[17:11:20] <brada> no
[17:11:24] <brada> thats not what i mean
[17:11:37] <brada> you need to select demo for the game type for the demo to actually run
[17:11:55] <brada> and in order to do that you need to dl the latest binary or git pull my changes and rebuild
[17:13:06] <brada> im pushing a fix for that crash
[17:15:17] <Empiricist> Wow. That works! I get a stony ground + a shiny avatar that I cannot interact with. A small GUI at the bottom of the screen that says, "demo, demo, demo"
[17:15:23] <brada> yeah
[17:15:26] <brada> thats the demo :p
[17:15:33] <Empiricist> Nice.
[17:15:37] <brada> not very impressive
[17:15:38] <brada> heh
[17:15:56] <Empiricist> I recompiled gemrb
[17:15:59] <brada> fix for that crash is pushed so a new binary should be built soon
[17:16:04] <brada> or you can rebuild
[17:16:15] <brada> assuming you pull in that chage
[17:17:37] <Empiricist> I'm thinking that I should actually buy Baldurs Gate 2 to do some testing with.
[17:18:55] <brada> that wouldnt hurt, but the BG2 demo works too
[17:19:16] <brada> as in whatever is/was going wrong for you last night wont be solved by the full version
[17:20:04] <brada> does the latest build still crash upon character generation?
[17:20:07] <Empiricist> What do I select to get that running?
[17:21:45] <brada> i dont know what you are asking
[17:22:07] <Empiricist> Which Game Type do I select to get that running?
[17:23:40] <brada> auto
[17:23:41] <brada> or bg2
[17:23:56] <brada> use whatever settings you were using last night
[17:23:58] <brada> those worked
[17:24:05] <brada> your problem has nothing to do with settings
[17:25:59] <Empiricist> Well. When I recompiled, I changed the required version of python in CMakeLists.txt to "python2.6"
[17:26:19] <Empiricist> My build still crashes as soon as I hit the launch key.
[17:27:21] <Empiricist> http://paste.lisp.org/display/137524
[17:27:44] <Empiricist> This includes the backtrace for the crash.
[17:28:02] <Empiricist> *For my build
[17:30:39] <-- Yoshimo has left IRC (Ping timeout: 256 seconds)
[17:31:02] <Empiricist> I found the main function.
[17:31:17] <brada> i dont know what to tell you about how you are building cuz i dont have access to your system
[17:31:19] <Empiricist> Nice.
[17:31:19] <brada> try xcode
[17:31:27] <brada> or download the latest binary from SF
[17:31:46] <brada> just FYI you do need a CD path for BG2 demo
[17:32:02] <Empiricist> Yep. I have the CD path.
[17:32:24] <brada> i need this one /Program Files/Baldur's Gate 2 Demo/CD2
[17:32:29] <brada> what do you have for CD path?
[17:32:29] --> kingron has joined #gemrb
[17:32:35] <brada> probably something wrong
[17:32:59] <brada> my game path is: /Program Files/Black Isle/BGII - SoA Demo
[17:33:08] <brada> cd1=/Program Files/Baldur's Gate 2 Demo/CD2
[17:33:19] <brada> thats using the default install location for the demo
[17:33:28] <Empiricist> testing
[17:33:33] <brada> rather silly that they are in 2 separate folders
[17:33:52] <Empiricist> '/Users/jonn/Desktop/Baldurs'
[17:34:17] <Empiricist> *'Game Path' + 'CD 1'
[17:34:51] <brada> i have no idea what that means
[17:35:08] <Empiricist> cd1=/Users/jonn/Desktop/Baldurs
[17:35:16] <brada> that is an incomplete path
[17:35:30] <Empiricist> Game Path=/Users/jonn/Dekstop/Baldurs
[17:35:33] <Empiricist> Really? How?
[17:35:42] <brada> well for one its the same as gamepath
[17:36:16] <brada> the demo contains a CD2 directory
[17:36:21] <brada> you need the path to that
[17:36:54] <Empiricist> Where is the CD2 directory. I'm currently looking at the directory that holds Autorun.ini, baldur.exe, etc.
[17:36:59] <Empiricist> *?
[17:37:07] <brada> mine was in a completely diffrent location
[17:37:12] <brada> look at my paths
[17:37:31] <brada> the demo was installed under Black Isle folder
[17:37:36] <Empiricist> That's because I told wine to extract it into this directory.
[17:37:40] <brada> while the CD2 dir was under Baldur's Gate 2 Demo
[17:37:54] <brada> well i dont know where your CD2 dir is but thats the path you need
[17:39:54] <brada> it has 3 files in it called AREA060A.bif, AREA070C.bif, and Movies.bif
[17:39:58] <Empiricist> Is there anything in the BGII demo that includes a CD2 Dir?
[17:40:03] <Empiricist> Ah.
[17:40:04] <brada> yes
[17:40:26] <brada> thats what im telling you
[17:40:35] <brada> i installed the same demo you downloaded
[17:41:14] <brada> but the path you want is to the parent of the data folder containing the bifs
[17:42:19] <Empiricist> Oh... I know where it is... ugh
[17:42:45] <Empiricist> For all that is holy, why did they do that?
[17:43:03] <brada> no idea
[17:43:06] <Empiricist> Nope. I was wrong.
[17:43:07] <brada> freakin silly
[17:43:35] <brada> just seach your computer for those files
[17:43:40] <Empiricist> I can't find the directory that contains AREA060A.bif, AREA070C.bif, and Movies.bif
[17:43:54] <brada> then you have an incomplete demo install
[17:44:34] <brada> like i said it gets installed in a completely separate location from the rest of the data
[17:44:46] <brada> so it may just be somehwere you dont expect
[17:46:12] <Empiricist> Unfortunately, I had the md-client that categorizes information turned off because it was monopolizing all of my computers resources in an infinite loop.
[17:46:51] <brada> sounds like a silly way to solve that problem :p
[17:47:09] <Empiricist> Well. Apple wouldn't help me. :(
[17:47:10] <brada> use find command
[17:47:29] <brada> did you install using crossover?
[17:47:36] <brada> or standard wine?
[17:47:47] <Empiricist> wine
[17:48:06] <brada> does it have the concept of a C drive?
[17:49:27] <Empiricist> In the .wine folder, yes.
[17:49:48] <brada> so navigate there and look under C:\Program Files\
[17:50:36] <Empiricist> ::growls angrily:: They *did* put it there!
[17:50:40] <brada> yes
[17:51:13] <brada> so fix your cd path with the path to CD2 directory
[17:51:20] <brada> and it should work for you
[17:51:39] <Empiricist> In: /Users/jonn/.wine/drive_c/Program Files/Baldur's Gate 2 Demo
[17:52:35] <brada> thats the one
[17:57:16] <Empiricist> From the Baldur's Gate 2 Demo, there exists a CD2 directory data directory that contains the AREA files. There exists a movies directory that contains the movie file you mentioned.
[17:57:21] <Empiricist> Which one do I target?
[17:57:33] <brada> the CD2 dir
[17:57:47] <Empiricist> Ok. I thought so.
[17:57:49] <Empiricist> I tried that.
[17:57:54] <Empiricist> It crashes.
[17:58:06] <brada> where?
[18:00:10] <brada> if you are using your build jsut stop right there :p
[18:00:18] <brada> something is clearly going wroing building from your machine
[18:00:21] <Empiricist> http://paste.lisp.org/display/137525
[18:00:33] <Empiricist> Don't worry. I've been testing your binary.
[18:00:44] <brada> do you get the intro videos now?
[18:00:54] <brada> if not then something is still wrong with your cd path
[18:00:59] <brada> or demo install
[18:01:02] <Empiricist> Nope.
[18:01:16] <brada> or you have unchecked play intro videos :p
[18:01:20] <brada> but not likely i assume
[18:01:36] <brada> er i mean checked "skip intros"
[18:01:55] <Empiricist> skip intros does not have a check
[18:02:18] <brada> right so something is still wrong with your paths
[18:02:30] <brada> or gemrb doesnt have permission to get to the path
[18:03:30] <Empiricist> drwxr-xr-x 4 jonn staff 136 Jun 7 21:03 CD2
[18:04:08] <brada> then i assume #1
[18:04:17] <brada> look at your log
[18:04:48] <Empiricist> What am I looking for?
[18:05:08] <brada> the line for Searching for 'BWDRAGON'...
[18:05:19] <brada> the one after that
[18:05:34] <brada> should say couldnt find blah blah
[18:06:00] <brada> also look for "Invalid path given"
[18:06:17] <Empiricist> There is nothing like that in the crash log.
[18:07:04] <brada> of course not
[18:07:12] <brada> there sholdnt be :p
[18:07:19] <brada> you need to look at the console log
[18:08:07] <Empiricist> Yes.
[18:08:20] <Empiricist> It says Searching for 'BWDRAGON'
[18:08:30] <brada> then what after that?
[18:08:32] <Empiricist> Wait.
[18:08:34] <Empiricist> Wrong time
[18:08:38] <brada> also look for the invalid path lines
[18:08:46] <brada> ignore the ones for unset CD paths
[18:09:01] <brada> so basically look for CD1
[18:09:45] <brada> it will have "(CD1/data)" at the end of the message
[18:10:36] <Empiricist> The latest message of this type was at 1:13 PM I'm not sure what I was testing back then.
[18:11:42] <Empiricist> The latest message that contained (CD1/data) was at 1:13 PM. Close to an hour ago.
[18:13:08] <brada> are you seaching "all messages"?
[18:13:13] <brada> or are you filtering?
[18:13:54] <brada> use the GemRB.log file
[18:14:02] <brada> that will probably be easier for you
[18:14:13] <Empiricist> Ok.
[18:14:25] <Empiricist> Where is the GemRB.log file recorded?
[18:14:50] <brada> it should be in GamePath
[18:15:49] <fizzle> fuzzie: here?
[18:16:14] <Empiricist> Where is GamePath located?
[18:16:51] <brada> … in the launcher GUI the one at the top labeled Game Path
[18:17:26] <brada> assuming gemrb has write permission
[18:17:53] <Empiricist> OH.
[18:18:49] <brada> just pastebin the whole file
[18:20:59] <Empiricist> http://paste.lisp.org/display/137525#1
[18:21:13] <Empiricist> File included in url above.
[18:22:51] <brada> yeah something is quite wrong there
[18:23:00] <brada> look at all the cannot find xxx lines
[18:23:20] <Empiricist> I had BG2 set.
[18:23:37] <Empiricist> It's expecting to find all of the files for BG2.
[18:23:43] <brada> oh
[18:23:48] <brada> i guess its cuz its a demo
[18:23:55] <Empiricist> Yep.
[18:23:57] <brada> mine has all that too
[18:24:35] <Empiricist> I didn't know that it generated a log in the folder like that. That's really useful.
[18:25:28] <brada> yeah
[18:25:35] <brada> but something is still wrong with your settings
[18:25:44] <brada> since it complains about not finding AREA060A.bif
[18:25:49] <brada> and movies.bif
[18:26:11] <Empiricist> How should the CustomFontPath be set?
[18:26:36] <brada> you dont need it unless you want to use TTF fonts
[18:26:44] <Empiricist> Mine is currently set as: ~/Library/Fonts
[18:26:55] <brada> thats the default for mac
[18:26:58] <Empiricist> Should it be unset?
[18:27:04] <brada> no it doesnt matter
[18:27:21] <Empiricist> [ResourceManager/WARNING]: Invalid path given: ~/Library/Fonts (CustomFonts)
[18:27:24] <brada> tho apparently i need to do the ~ expansion myself
[18:27:26] <Empiricist> That's line 92.
[18:27:31] <brada> i thought gemrb would handle that
[18:27:35] <brada> anywyay
[18:28:51] <brada> your CD path is clearly wrong
[18:30:05] <brada> kinda silly we dont log them tho
[18:31:37] <Empiricist> What does 'auto' do? And how does it do it?
[18:31:37] <brada> paste me your net.sourseforge.gemrb.plist file
[18:32:08] <brada> it basically looks through GamePath and determines gametype for you by seeing what files are present/missing
[18:32:12] <Empiricist> Where is the net.sourceforge.gem.plist file?
[18:32:17] <brada> and its working fine for you
[18:32:25] <brada> ~/Library/Prefrences
[18:35:13] <Empiricist> http://paste.lisp.org/display/137525#2
[18:36:29] <brada> why are you putting that in CD2?
[18:36:34] <brada> put it in CD1
[18:37:03] <brada> not that that should make a dif
[18:37:18] <Empiricist> Why am I putting "/Users/jonn/.wine/drive_c/Program Files/Baldur's Gate 2 Demo/CD2" into CD2? It seemed logical at the time.
[18:37:50] <brada> it shouldnt matter but it doesnt seem to be using that path
[18:39:29] <Empiricist> Ok. I just tried it with CD1 as the path.
[18:39:37] <Empiricist> Still crashes.
[18:39:54] <Empiricist> Here is the log:
[18:40:58] <Empiricist> http://paste.lisp.org/display/137525#3
[18:43:29] <brada> yeah same problem
[18:43:37] <Empiricist> [ResourceManager]: Found 'hpconbon.2da' in 'chitin.key'.
[18:43:48] <Empiricist> What happens after that ^
[18:43:58] <brada> irrelevant
[18:44:14] <Empiricist> That's where the log file cuts off.
[18:44:19] <brada> irrelevant
[18:44:52] <brada> the relavant problem are the missing data files due to either that path being wrong or a problem on 10.6 where the paths arent getting passed to gemrb
[18:45:26] <brada> or maybe something doesnt like the ' in the path
[18:45:31] <brada> try copying/moving the CD2 directory elsewhere
[18:48:57] <Empiricist> http://paste.lisp.org/display/137525#4
[18:49:38] <Empiricist> Done. Copied the old path to: /Users/jonn/Desktop/Baldurs/
[18:50:04] <brada> right
[18:50:07] <brada> same problem
[18:50:35] <brada> so i guess somehow 10.6 is failing
[18:50:37] <brada> i dont have a 10.6 machine to test with
[18:50:41] <Empiricist> Does this mean that BG2 would probably fail on me too?
[18:50:52] <brada> yes
[18:50:52] <brada> well
[18:50:57] <brada> depends on if you need a CD path
[18:51:09] <brada> but it doesnt matter since this can be fixed
[18:51:31] <Empiricist> Why did the CD path turn out to be necessary?
[18:51:33] <brada> you clearly have the paths getting set correctly as i see in your plist
[18:51:44] <brada> if they are in an unexpected location
[18:51:52] <brada> like with GoG versions
[18:51:58] <brada> or the demo
[18:52:19] <Empiricist> It was the GoG version that I was thinking of getting.
[18:52:32] <brada> you could move the CD2 directory to the GamePath and then remove the CD paths
[18:53:01] <brada> i need to add logging to show when/what paths are added
[18:53:17] <Empiricist> Ok. So am I to take it that the CD paths point to the Area data?
[18:54:31] <brada> they have lots of stuff. in this case area and movie data
[18:54:59] <brada> i dont see how this can fail you if the gamePath setting works tho
[18:55:08] <brada> so im not convinced this is a mac/10.6 bug
[18:55:50] <brada> are you using the latest build?
[18:56:14] <Empiricist> v0.8.0-107-g6e34d5e (12504)
[18:56:51] <brada> that was before i pushed that fix
[18:57:16] <Empiricist> I just took the .bif stuff that were originally in CD2 and I put it into the data folder of the BGII demo
[18:57:30] <brada> that should work i guess
[18:57:56] <Empiricist> Should I point the CD1 path to the data folder then?
[18:59:05] <brada> CD1?
[18:59:07] <brada> wtf?
[18:59:34] <brada> there shouldnt be a CD1
[19:00:01] <Empiricist> I don't know how you programmed this thing. ;)
[19:00:08] <brada> i didnt
[19:00:13] <brada> blame bioware
[19:00:44] <lynxlynxlynx> in my install of the demo, i just needed to set the gamepath
[19:00:46] <Empiricist> I was talking about the Path GUI stuff.
[19:01:21] <brada> anyway if you were using the latest build id have a lot more faith in this
[19:01:24] <Empiricist> The purpose of the CD1, CD2, ... path stuff is not entirely clear to me. :)
[19:01:25] <lynxlynxlynx> having any of the cd paths set can't hurt, so it's useless to obsess about
[19:01:40] <brada> i needed to set one for the demo he is using
[19:01:41] <lynxlynxlynx> they're just extra search paths
[19:01:53] <brada> otherwise it explodes after char creation
[19:02:37] <Empiricist> From what I understand. The engine is just taking the game assets, interpreting them and sending them to a GUI for the players to interact with. I think that your binary is doing that. It just doesn't seem to know where to find the resources.
[19:03:25] <brada> plesase use the latest buld: http://sourceforge.net/projects/gemrb/files/Buildbot%20Binaries/Apple/OSX/GemRB-osx-v0.8.0-109-g2ae2fb4.zip
[19:03:27] <Pepelka> Download GemRB Game Engine from SourceForge.net
[19:03:29] <Pepelka> »GemRB is a portable open-source implementation of the Infinity Engine«
[19:03:34] <brada> you are still using one that allows empty strings
[19:03:37] <brada> for paths
[19:06:32] --> Yoshimo has joined #gemrb
[19:07:49] <Empiricist> http://paste.lisp.org/display/137525#5
[19:08:31] <brada> still not finding those resources
[19:08:49] <Empiricist> Hmm. I think that I'm going to get some food.
[19:08:59] <Empiricist> I haven't eaten yet today.
[19:09:18] <Empiricist> I'll see if I can figure out why my binary is crashing
[19:09:36] <brada> move the CD2 dir to /Users/jonn/Desktop/Baldurs/
[19:09:49] <brada> your binary wouldnt help you anyway
[19:10:01] <brada> it wouldnt magically work where this one doesnt
[19:10:43] <Empiricist> I know. But the reason I was looking into GemRB in the first place was so that I could do some fairly invasive modifications.
[19:11:01] <Empiricist> Your binary wouldn't help me with that. :)
[19:11:51] <Empiricist> It might be kind of nice to play BGII through this... but I could run it over wine for that. :)
[19:12:57] <Empiricist> I have learned quite a few tricks from you. You know far more about the OSX architecture than I do.
[19:15:03] <Empiricist> I'll be afk for about 30 minutes.
[20:07:03] <-- Yoshimo has left IRC (Excess Flood)
[20:08:50] <-- fuzzie has left IRC (Write error: Broken pipe)
[20:09:01] --> ronsen has joined #gemrb
[20:09:11] <-- kingron has left IRC (Ping timeout: 246 seconds)
[20:09:11] <-- brada has left IRC (Ping timeout: 246 seconds)
[20:09:20] <-- nutron has left IRC (Excess Flood)
[20:09:34] --> fuzzie has joined #gemrb
[20:09:46] <-- lynxlynxlynx has left IRC (Quit: No Ping reply in 180 seconds.)
[20:10:09] --> lynxlynxlynx has joined #gemrb
[20:10:09] <-- lynxlynxlynx has left IRC (Changing host)
[20:10:09] --> lynxlynxlynx has joined #gemrb
[20:10:09] --- ChanServ gives channel operator status to lynxlynxlynx
[20:12:53] --> nutron|w has joined #gemrb
[20:13:56] --> brada has joined #gemrb
[20:27:54] <lynxlynxlynx> eeen
[20:27:57] <lynxlynxlynx> eeeeh
[20:28:11] <lynxlynxlynx> seems we need yet another two file animation type
[20:28:41] <Lightkey> snafu?
[20:31:32] <lynxlynxlynx> kinda
[20:33:12] <lynxlynxlynx> trying something else first
[20:44:02] <lynxlynxlynx> it worked, phew :)
[20:47:36] <Empiricist> After loading the plugins. The porgram recieves an EXC_BAD_ACCESS, Could not access memory.
[21:14:11] <Empiricist> What is Interface::HasFeature?
[21:16:17] <brada> its a function to determine what feature set a given data set has
[21:16:25] <brada> like 3rd edition ruleset etc
[21:17:21] <Empiricist> I see.
[21:17:52] <brada> whatever happened to getting commits annuonced in IRC :/
[21:22:09] <brada> lynx: do you think this is better: http://paste.debian.net/9261/
[21:22:10] <Pepelka> debian Pastezone
[21:24:32] <lynxlynxlynx> it's not a macro, so i'm happy
[21:24:53] <brada> hopefully i didnt fubar the retain/release stuff tho
[21:24:55] <lynxlynxlynx> do static vars work statically in inline functions?
[21:25:15] <brada> exactly what i meant by my comment, i dont know
[21:25:22] <brada> i would expect a wrning
[21:25:24] <brada> if not
[21:25:30] <lynxlynxlynx> the lazy way is to just try it with valgrind
[21:25:44] <brada> remember valgrind doesnt work for 10.8 :(
[21:25:54] <brada> i havent had it for a while
[21:26:22] <wjp> I don't think a static is much better :-(
[21:27:11] <brada> wjp: so just do it ourselves everywhere that macro was and have no func?
[21:28:06] <wjp> don't we have anything smartptr-ish?
[21:28:14] <brada> yes
[21:28:31] <brada> im not sure what you are suggesting to do with it
[21:28:37] <brada> Holder iirc
[21:29:21] <brada> we probably would have to tweak the ref counting method names
[21:29:35] <brada> class T must have member function acquire and release
[21:30:28] <wjp> might make sense for consistency anyway
[21:30:34] <brada> sure
[21:30:42] <brada> but still dont know how that solves this problem :(
[21:30:54] <wjp> what you were effectively doing with SET_BLIT_PALETTE is a manual smartptr
[21:31:28] <brada> ok
[21:32:00] <wjp> (compare with Holder::operator=() )
[21:32:11] <wjp> (it's pretty much identical)
[21:32:19] <brada> yes
[21:32:20] <brada> cool
[21:32:25] <brada> thanks wjp!
[21:32:55] <brada> thats much nicer
[21:34:50] <wjp> if you go that route, be sure to do the rename in a separate commit
[21:35:23] <wjp> (to split the "janitorial" work from the functional change)
[21:36:01] <brada> yes
[21:36:09] <brada> im way ahead of you there :p
[21:36:52] <wjp> good :-)
[21:40:27] <Empiricist> Does GemRB.cpp actually get included in the OSX application compile?
[21:43:53] <brada> no
[21:46:12] <Empiricist> Good.
[21:46:18] <Empiricist> I thought I was going crazy.
[21:47:21] <Empiricist> When I click on the application, what is the first function that gets called?
[21:48:23] <brada> main
[21:48:28] <brada> well start
[21:48:36] <brada> but thats not part of gemrb :p
[21:48:40] <brada> so main
[21:48:45] <Empiricist> Which file is that defined in?
[21:48:46] <brada> in CocoaWrapper.m
[21:49:04] <Empiricist> I'm going to need to learn to read Objective C....
[21:49:20] <Empiricist> It can't be that bad...
[21:49:26] <Empiricist> Thank you.
[21:49:38] <brada> objective c is only for the mac/ios gui
[21:49:45] <brada> nothing in the core touches it
[21:50:06] <brada> the sdl video plugin is the only plugin that has any too
[21:50:11] <brada> and its like 5 lines
[21:50:25] <Empiricist> It's the core that's failing. A bus error. The memory is being mishandled.
[21:50:29] <brada> no
[21:50:32] <brada> well
[21:50:35] <brada> right
[21:50:39] <Empiricist> That's what dbg is saying.
[21:50:44] <brada> its not the objc stuff that is dying
[21:51:09] <brada> im agreeing with youim saying yu dont need to know objc for that
[21:51:20] <Empiricist> Interface::Interface() begins execution without a problem.
[21:51:43] <Empiricist> Which line does it crash on?
[21:52:00] <brada> in HasFeature :p
[21:52:05] <brada> c++ code
[21:52:09] <brada> but the code isnt to blame
[21:52:24] <brada> since the SF binary runs on your system
[21:52:28] <brada> i blame your build env
[21:52:34] <Empiricist> I don't care about assigning blame, I care about fixing the problem.
[21:52:37] <brada> and you should test that out by building with xcode
[21:52:58] <brada> im trying to advise you on that
[21:53:03] <Empiricist> I've never successfully built this binary with xcode.
[21:53:08] <brada> you need to assign blame to know where the problem is ;)
[21:53:14] <brada> its quite easy
[21:53:25] <brada> except i forget you are on 10.6
[21:53:33] <brada> do you have xcode 4?
[21:54:23] <Empiricist> I'll check.
[21:55:14] <Empiricist> I have XCode 3.2.6
[21:56:30] <brada> youu ill need xcode 4
[21:56:52] <brada> which does run on 10.6 its supremely hard to find a download for tho :/
[21:58:03] <Empiricist> xcode 4 costs money.
[21:58:12] <brada> no it doesnt
[21:58:27] <Empiricist> http://guide.macports.org/chunked/installing.xcode.html
[21:58:28] <Pepelka> 2.2. Install Xcode
[21:58:53] <Empiricist> If you are using Mac OS X 10.6, there are two branches of Xcode which could be considered to be the latest, 3.2.x and 4.0.x. Xcode 4 costs money, but Xcode 3 is still available free of charge. There are two options for downloading it:
[21:59:04] <brada> no it doesnt
[21:59:07] <brada> that site is lying
[21:59:23] <Empiricist> Oh.
[21:59:35] <brada> the only way to get xcode 4 for 10.6 is to be part of the dev program or have somebody who is get it for you
[21:59:45] <brada> so in a way that like it costing money
[21:59:53] <brada> but the app itself is free
[22:00:17] <brada> and if you are on 10.7+ you can download it from thte app store with no cost also
[22:00:21] <brada> but that wont help you
[22:00:38] <brada> there are "downloads" you can find if you know where to look ;)
[22:00:53] <Empiricist> http://news.softpedia.com/news/Download-Xcode-4-0-1-for-Mac-OS-X-10-6-6-191612.shtml
[22:00:55] <Pepelka> Download Xcode 4.0.1 for Mac OS X 10.6.6
[22:00:56] <Pepelka> »Apple’s digital toolset aimed iOS and Mac development has been updated with an incremental 4.0.1 release that focuses on improving Assistant edi...«
[22:01:39] <brada> you cant even get it that way anymore
[22:01:43] <brada> so thats rather moot
[22:02:08] <brada> https://discussions.apple.com/servlet/JiveServlet/showImage/2-18574097-122233/Screen+shot+2012-06-06+at+2.08.15+PM.png
[22:15:45] <-- nutron|w has left IRC (Quit: I must go eat my cheese!)
[22:16:07] --> nutron has joined #gemrb
[22:16:17] <Empiricist> Wonderful definition...
[22:16:31] <Empiricist> GameData::GameData()
[22:16:37] <Empiricist> {
[22:16:52] <Empiricist> factory = new Factory();
[22:16:53] <Empiricist> }
[22:17:43] <Empiricist> gamedata = new GameData();
[22:17:48] <brada> so?
[22:17:51] <Empiricist> Down the rabbit hole we go.
[22:18:15] <brada> whats wrong with that code?
[22:19:16] <Empiricist> Nothing as far as I can tell. I'm not used to this sort of thing. :) ;)
[22:20:21] <Empiricist> Ends at Factory.
[22:20:43] <Empiricist> Factory::Factory(void){}
[22:21:06] <Empiricist> Ok. So nothing interesting happens at the gamedata line other than declaration.
[22:21:15] <-- ronsen has left IRC (Remote host closed the connection)
[22:21:29] <brada> use gdb to find out exactly where you are crashing and why
[22:21:42] <brada> not jsut blindly poking though code
[22:21:57] <brada> and its proven that code runs on your machine anyway
[22:22:38] <brada> so your problem is either build or environmental
[22:22:53] <brada> ie permissions denying something crutial
[22:24:11] <Empiricist> gdb is telling me that the code is crashing due to a bus error. 0x147cf37b in GemRB::Interface::HasFeature ()
[22:24:31] <brada> yah we know in what function
[22:24:36] <brada> but *where* in that function
[22:24:53] <Empiricist> If I could get gdb to step through the code line by line... that would be useful.
[22:25:08] <brada> well i just looked and that func is one line anyway :P
[22:25:37] <Empiricist> There's only one instance of that function?
[22:25:38] <brada> so position is either out of bounds or gamefeatures is null
[22:25:57] <brada> yes one instance and one line
[22:26:10] <brada> interface.cpp line 2300
[22:26:50] <brada> if you broke there in gdb you could see what position is
[22:27:04] <brada> but that really wont help you
[22:27:39] <brada> did you try reading your log to see what errors gemrb encounters before it crashes?
[22:27:53] <brada> much more helpful then trying to pick at code that is known to work for you
[22:28:27] <Empiricist> http://paste.lisp.org/display/137529
[22:29:04] <brada> what is that for?
[22:29:23] <Empiricist> That shows every single instance where HasFeature is used in the core.
[22:30:00] <brada> what of it gdb can tell you exactly where its called from anyway
[22:30:34] <brada> you dont have to guess
[22:31:25] <Empiricist> No, I was doing something a little naive. I was including <stdio.h> and inserting lines to show me if the code is still running up to a certain point.
[22:32:03] <Empiricist> I'm really new to gdb.
[22:32:16] <brada> did you look at your log?
[22:32:22] <brada> that will be way more helpful
[22:32:49] <Empiricist> I did. But I remember that I couldn't make much sense of it because I didn't know how the engine worked.
[22:33:03] <Empiricist> I'll pull that up.
[22:33:05] <fuzzie> do you have a backtrace?
[22:33:12] <brada> paste it and ill see if i see anything
[22:33:21] <Empiricist> Sure.
[22:33:28] <Empiricist> Running backtrace.
[22:33:28] <brada> fuzzie: long time no see!
[22:34:36] <fuzzie> yeah :/
[22:34:56] <brada> how have you been fuzzie?
[22:35:45] <Empiricist> http://paste.lisp.org/display/137529#1
[22:35:54] <Empiricist> That's the backtrace. I'll grab the log.
[22:39:02] <Empiricist> http://paste.lisp.org/display/137529#2
[22:39:06] <Empiricist> There's the log.
[22:39:35] <fuzzie> oh, non-static plugins
[22:39:46] <fuzzie> also different crash log :)
[22:40:21] <Empiricist> Oh. He was asking about the GemRB log?
[22:41:06] <fuzzie> I expect so (the GemRB log will hopefully have the error in it, for that second crash).
[22:41:11] <fuzzie> brada: busy :/
[22:41:42] <Empiricist> Unfortunately, the GemRB log is empty.
[22:43:43] <-- fizzle has left #gemrb
[22:45:52] <brada> right
[22:45:55] <brada> i meant console
[22:46:00] <brada> errors are always logged there
[22:46:04] <brada> should be anyway
[22:46:21] <brada> log file doesnt get created till after plugin loading
[22:46:59] <brada> that second crash is expected
[22:47:21] <fuzzie> did we lose Avenger permanently now?
[22:47:25] <brada> apparently
[22:47:27] <brada> :(
[22:47:39] <Empiricist> Avenger? Another developer?
[22:47:42] <brada> izzle has filled in for him
[22:47:48] <fuzzie> maybe an appropriate time to astyle the codebase and rename all the variables etc :p
[22:47:51] <brada> Avenger is *the* developer
[22:48:02] <brada> ha ha ha do it!
[22:48:16] <brada> by do it i mean please find tme to make scripting engine better :D
[22:48:25] <brada> just the crashes
[22:49:00] <brada> if i felt capable id try it myself
[22:49:17] <fuzzie> well, the problem there (if I didn't explain already) is that I implemented instants wrong
[22:50:20] <lynxlynxlynx> avenger is still reachable by mail, he replied to mine pretty fast today
[22:50:25] <brada> im sure you explained a lot. im aslos sure most of it went over my head :(
[22:50:33] <fuzzie> lynxlynxlynx: well I mean as a developer :)
[22:51:03] <lynxlynxlynx> we'll see, he's clearly still interested in some re work
[22:52:28] <Empiricist> Where is CocoaWrapper.m?
[22:52:42] <fuzzie> the crash with the backtrace looks messy
[22:52:53] <brada> he needs to do a git pull
[22:53:01] <fuzzie> oh
[22:53:07] <fuzzie> no actually it's not messy, it's obvious
[22:53:28] <Empiricist> :O :) Hmm?
[22:53:32] <fuzzie> the built gemrb is pulling in plugins from /Applications/gemrb.app
[22:53:40] <brada> ha
[22:53:48] <brada> thats funny
[22:53:57] <fuzzie> and they're incompatible, thus crash :)
[22:54:31] <brada> fuzzie: thats not entirely correct
[22:54:35] <fuzzie> phft
[22:54:36] <brada> since the binary is /Applications/gemrb.app/Contents/MacOS/gemrb
[22:54:37] <Empiricist> Ok. I'll kill /Applications/gemrb.app
[22:54:45] <brada> so its that he didnt clean and rebuild them
[22:54:56] <fuzzie> brada: the crash log is a different gemrb
[22:55:00] <brada> oh
[22:55:02] <fuzzie> it's just crashing at shutdown
[22:55:23] <fuzzie> I mean, not that I know what I'm talking about :)
[22:55:32] <fuzzie> but, best guess
[22:55:50] <fuzzie> and I thought maybe the non-built crash is fixed by your recent commits
[22:55:51] <brada> i was jsut basing off the path at the top of the crash report
[22:56:34] <Empiricist> Ok. I just got rid of GemRB.app in my applications folder.
[22:56:34] <fuzzie> but since it's crashing at shutdown I hope it's a completely different thing
[22:57:21] <Empiricist> I may have a wierd set of paths for python.
[22:57:26] <brada> also why a log would be helpful
[22:57:34] <brada> python isnt the problem here
[22:58:47] <brada> fuzzie: do you still have a mac?
[22:59:08] <lynxlynxlynx> the sniper
[22:59:36] <fuzzie> brada: of powerpc variety :p
[22:59:50] <brada> oooo :p does gemrb run on it?
[22:59:51] <fuzzie> I have access to intel hw if it'd be helpful but I don't have any of my own.
[23:00:07] <brada> im mostly curious about running on pre 10.7
[23:00:07] <fuzzie> well, it did once upon a time.. :p
[23:00:28] <fuzzie> can try it at some point, but, um, maybe during the week is good time to ask
[23:00:36] <brada> cool
[23:01:46] <Empiricist> If fuzzie has physical access to a computer, how can brada have physical access to it?
[23:02:13] <brada> if we are in the same room?
[23:02:35] <Empiricist> Hmm.
[23:02:42] <lynxlynxlynx> if the computer is big enough?
[23:02:55] <lynxlynxlynx> singularity
[23:03:11] <brada> ha ha
[23:05:33] <Empiricist> There you are, you little sneaker!
[23:06:28] <Empiricist> The sneaker is written in greek.... err, objective c.
[23:06:51] <Empiricist> #import = #include
[23:07:05] <brada> ?
[23:07:10] <Empiricist> What is @?
[23:07:22] <brada> @ is an objective c compiler flag
[23:07:23] <Empiricist> @interface
[23:07:37] <brada> @interface is a declaration for a class
[23:07:50] <brada> and #import is not the same as #include
[23:08:46] <Empiricist> I guess I'll need to sit down with a tutorial on objective c for a few hours.
[23:09:13] <brada> your problem wont lie in the objective c code
[23:09:30] <brada> once you click "launch" c++ takes over
[23:09:56] <Empiricist> Where does it enter from? Where does the c++ take over?
[23:11:09] <brada> you will need to do a git pull for these line numbers to be accurate
[23:11:24] <Empiricist> There it is!
[23:11:32] <brada> CocoaWrapper.mm line 197
[23:11:40] <Empiricist> line 121:
[23:11:49] <Empiricist> core = new Interface();
[23:12:03] <brada> you really ought to do a pull
[23:12:15] <Empiricist> Ok.
[23:12:15] <lynxlynxlynx> shhh, let him struggle
[23:12:30] <lynxlynxlynx> judging from the last two days, he likes it ;P
[23:12:37] <brada> heh
[23:12:39] <Empiricist> I can do a git pull.
[23:14:54] <Empiricist> Btw, brada; the little macro that you made in Font.cpp. It works just fine in this build.
[23:15:05] <brada> i removed the macro
[23:15:11] <brada> so when you pulled it is gone
[23:16:40] <-- lynxlynxlynx has left IRC (Remote host closed the connection)
[23:21:31] <Empiricist> The git pull stops the build at another location.
[23:21:44] <brada> show me
[23:21:52] <Empiricist> /Users/jonn/programs/gemrb/apple/CocoaWrapper/mac/CocoaWrapper.mm:149: error: stray ‘@’ in program
[23:22:04] <brada> oh
[23:22:12] <brada> yeah that syntax is only compatible with clang
[23:22:17] <brada> ill fix it
[23:23:55] <brada> Empiricist: fixed
[23:24:13] <Empiricist> Is it available on git?
[23:24:26] <brada> yes
[23:24:31] <brada> just do git pull again
[23:27:07] <Empiricist> ::laughs:: maybe eventually this caffeine headache will go away...
[23:29:08] <Empiricist> What are the merits of clang over g++?
[23:29:33] <brada> well clang is lway newer than your ancient gcc :)
[23:29:55] <brada> clang is also built in part by apple and as such has much better objc support
[23:37:32] <Empiricist> Different error.
[23:37:44] <Empiricist> Plugin Loading Failed, check path...
[23:38:14] <brada> you need to be able to see log messages to know the problem
[23:38:30] <brada> open console.app and clear it
[23:38:30] <Empiricist> Yep.
[23:38:32] <brada> then try again
[23:38:51] <brada> should give you useful info in console.app
[23:40:16] <Empiricist> I hit Launch, it says Plugin Loading Failed, check path. Console.app doesn't update it's log.
[23:42:46] <brada> you're right
[23:42:54] <brada> wonder when that broke o_O
[23:43:13] <Empiricist> :)
[23:44:41] <Empiricist> Oooh... there is some interesting dialog on the command line.
[23:45:26] <brada> i think the problm is writing to stdout
[23:46:46] <Empiricist> http://paste.lisp.org/display/137529#3
[23:47:03] <Empiricist> This is the dialog from stdout
[23:47:13] <brada> yeah thats the stuff
[23:47:23] <brada> wonder why its trying to load from 2 locations
[23:47:44] <Empiricist> Which two locations is it trying to load from?
[23:47:53] <Empiricist> Oh
[23:47:53] <brada> says in that snippet
[23:48:33] <Empiricist> But I killed that second location.
[23:48:37] <Empiricist> It doesn't exist.
[23:48:53] <brada> which is why it now errors out instead of crashing :p so its a good thing
[23:49:03] <brada> basically your plugins dont exist
[23:49:07] <brada> where they should anyway
[23:49:17] <brada> im guessing you didnt do a make install?
[23:49:26] <Empiricist> Not this time.
[23:49:36] <Empiricist> Should I?
[23:49:38] <brada> im guessing /Users/jonn/programs/gemrb/build/gemrb/gemrb.app/Contents/PlugIns is empty
[23:50:07] <brada> jsut copy all the plugin.so files in there
[23:50:46] <Empiricist> There is no PlugIns directory.
[23:51:18] <brada> thats fine
[23:51:27] <brada> its only creted when you do an install probably
[23:51:30] <brada> so just create it
[23:51:35] <brada> and copy them in there
[23:51:57] <Empiricist> Ok. Done.
[23:52:12] <Empiricist> Let's test this puppy.
[23:52:13] <brada> im guessing our cmake script is what is setting plugins path to /Applications/gemrb.app/Contents/Plugins
[23:52:23] <brada> so maybe i should do something about that
[23:52:51] <Empiricist> Is this the source of all of our headaches up till now?
[23:53:03] <brada> not at all
[23:53:10] <brada> you will still crash due to missing data
[23:53:25] <brada> because you are unable for whatever reason to set/read that CD2 path
[23:55:09] <Empiricist> http://paste.lisp.org/display/137529#4
[23:55:26] <Empiricist> New output for attempting to launch.
[23:55:53] <brada> you are missing your guiscripts
[23:55:56] <brada> and your override
[23:56:02] <brada> same thing with plugins
[23:56:06] <brada> you didnt do a make install
[23:56:13] <brada> so you have to manually put them in the bundle
[23:56:30] <brada> those directories go into the Contents/Resources
[23:56:52] <brada> but i can tell you you will still crash from missing data
[23:57:36] <Empiricist> At this point I'm willing to purchase BGII from GoG games to run tests with.
[23:58:30] <brada> that wont really solve your problem
[23:58:36] <Empiricist> No?
[23:58:44] <brada> when i say missing data ai mean because your cd path needs to be set
[23:58:59] <brada> you need to always have a CD path set for GoG games
[23:59:25] <brada> but now that you have stdout
[23:59:29] <brada> we can maybe solve it