#gemrb@irc.freenode.net logs for 24 Jan 2013 (GMT)

Archive Today Yesterday Tomorrow
GemRB homepage

[00:10:55] <Serafyna> Okies~ Got the game files Yey~
[00:11:09] <Serafyna> now I must change the GemRB cfg sample yea?
[00:12:29] <lynxlynxlynx> what did you get?
[00:13:13] <traveler__> @dreamlax: submitting a bug report is unlikely to have an effect; the current version of FreeBSD apparently already has iconv without the const: svnweb.freebsd.org/base/stable/9/include/… – larsmans Jul 10 '12 at 20:53
[00:13:15] <traveler__> eh?
[00:13:21] <traveler__> didn;t look into
[00:13:28] <traveler__> but i'm on stable
[00:15:15] <lynxlynxlynx> what's the full url?
[00:15:40] <traveler__> it was mentioned at stackoverflow
[00:15:44] <traveler__> which brada posted
[00:16:17] <lynxlynxlynx> - The iconv.h header files is supposed to be compatible with the
[00:16:17] <lynxlynxlynx> GNU version, i.e. sources should build with base iconv.h and
[00:16:17] <lynxlynxlynx> GNU libiconv. It also includes a macro magic to deal with the
[00:16:17] <lynxlynxlynx> char ** and const char ** incompatibility.
[00:16:32] <lynxlynxlynx> two years ago
[00:17:25] --> brada has joined #gemrb
[00:18:27] <traveler__> http://svnweb.freebsd.org/base/stable/9/include/iconv.h?view=log
[00:18:29] <Seniorita> [base] Log of /stable/9/include/iconv.h
[00:18:38] <traveler__> http://svnweb.freebsd.org/base/head/include/iconv.h?view=log
[00:18:39] <Seniorita> [base] Log of /head/include/iconv.h
[00:19:47] <lynxlynxlynx> same code
[00:19:48] <brada> so why does it fail?
[00:20:21] <lynxlynxlynx> maybe the newer clang doesn't get fooled by the macro magic
[00:20:34] <brada> could be
[00:20:44] <brada> well ill leave it as is for now
[00:21:12] <traveler__> this is interesting point to be raised on freebsd mailing list i think
[00:21:22] <brada> yes
[00:21:56] <traveler__> i'm afraid i couldn't express myself properly though :P
[00:22:20] <lynxlynxlynx> are you sure your installed header matches?
[00:22:24] <lynxlynxlynx> do check
[00:22:27] <traveler__> if you will sum up findings somehow, i will bring it up
[00:22:40] <traveler__> will check as my install is older
[00:22:42] <traveler__> but pretty sure
[00:22:50] <traveler__> as it shoudl be aprt of base anyway
[00:23:11] <Serafyna> excuse me~ ^_^; was wondering ya..
[00:23:29] <brada> winiconv reportedly uses const char* too...
[00:23:36] <Serafyna> so now I must change my file name from gemRB.cfg.sample.. to just gemRB.cfg?
[00:23:41] <traveler__> 6 june 2012
[00:23:44] <traveler__> pretty old file
[00:23:49] <traveler__> but well
[00:23:55] <traveler__> not that old
[00:24:06] <brada> serafyna: yes
[00:24:19] <brada> and it needs to be placed wherever android gemrb expects
[00:24:26] <brada> unfortunately i dont know hwere that is
[00:24:33] <brada> maybe the same dir
[00:24:38] <brada> not sure at all
[00:25:00] <Serafyna> oh.. how do I know where gemrb expects?
[00:26:06] <brada> try in the directory the sample was in
[00:26:10] <brada> after that im not sure
[00:26:14] <brada> isnt there a readme?
[00:26:34] <brada> im sure its the same place as the older versions
[00:26:50] <brada> the same directory as the app maybe
[00:27:02] <lynxlynxlynx> this build is without the extra android interface?
[00:27:35] <Serafyna> oh.. when I look at where it is..
[00:27:46] <traveler__> i'm not sure what we are chasing now, as libiconv is also part of port system
[00:27:52] <brada> no it has it
[00:28:23] <lynxlynxlynx> heh
[00:28:23] <Serafyna> it says storage > sdcard0 > app-data .... net.sourceforge.cgemrb
[00:28:28] <brada> traveler: you can check if the ttf plugin compiles with gcc
[00:29:01] <traveler__> no
[00:29:12] <traveler__> i just broke libiconv on my system
[00:29:36] <traveler__> that bit was part of http://www.freshports.org/converters/iconv/ though
[00:29:38] <Seniorita> FreshPorts -- converters/iconv
[00:30:01] <traveler__> maybe i only had iconv from ports and not fixed version intriduced to base
[00:30:29] <traveler__> (As my system is older maybe when iconv appeared in base sytem it didn't get installed)
[00:31:38] <traveler__> DOOOOOOO'h!
[00:31:41] <traveler__> Add the BSD-licensed Citrus iconv to the base system with default off setting.
[00:31:51] <traveler__> we all can't read apparently
[00:31:57] <brada> really?
[00:31:58] <traveler__> me included
[00:32:06] <brada> thats suprising!
[00:32:13] <traveler__> as i didn;t know what was going on with my own system
[00:32:40] <traveler__> so yeah, there is iconv in base but only if you turn it on
[00:32:58] <traveler__> possibly this version installed from ports as dependency is older/not fixed different altogether
[00:33:03] <brada> ah
[00:33:07] <traveler__> yeah
[00:33:09] <traveler__> exactly
[00:33:11] <traveler__> big ah
[00:33:21] <brada> so ill leave the code the way it is
[00:33:38] <traveler__> why?
[00:33:49] <traveler__> it means it will not compile on default freebsd still
[00:34:09] <traveler__> you need to turn explicitly this new inhouse iconv
[00:34:15] <traveler__> most will have this one from ports
[00:38:41] <brada> oh
[00:38:54] <brada> tehn i will just ifdef freebsd all together for now
[00:39:09] <brada> worry about changing it when it breaks for someone else
[00:39:39] <traveler__> mhm
[00:40:27] <traveler__> to rephrase, this new inhouse iconv implementation is only installed if somebody explicitly turns it on when rebuilding freebsd from source
[00:41:05] <traveler__> and when people just install apps on stock system if they depend on iconv then they will be pulling in just the old onefrom port system
[00:41:26] <Serafyna> Oh noes, my gemRB is still closing moments after I open it >.<
[00:44:48] <Serafyna> Might you be able to help me install this ? @.@;
[00:45:30] <brada> Serafyna: it may be better for you to come back tomorrow
[00:45:44] <brada> its way past bedtime for most on here
[00:46:38] <Serafyna> oh oki ^^
[00:51:57] <lynxlynxlynx> but do check the gemrb.log
[00:52:02] <lynxlynxlynx> you have a bad path
[00:52:06] <Serafyna> Oh
[00:52:10] <Serafyna> gemrb.log?
[00:52:13] <Serafyna> lemme find it
[00:52:35] <-- lynxlynxlynx has left IRC (Remote host closed the connection)
[00:54:56] <brada> damn just missed him
[00:55:05] <brada> well tomorrow try my branch again
[00:55:23] <brada> i changed some types around
[00:56:21] <traveler__> there is no tomorow for me
[00:56:27] <Serafyna> my gemrb file doesnt seem to have anything in it
[00:56:37] <brada> the text area was using int for length instead of size_t
[00:56:38] <traveler__> although i fixed my iconv problem at least
[00:56:39] <Serafyna> er i mean gemrb log
[00:56:48] <traveler__> looked pretty serious at first
[00:57:00] <traveler__> as libiconv is pulled in most of tools
[00:57:06] <brada> your gemrb.log is empty?
[00:57:21] <traveler__> and this one from base is in reality half-way finished that;s why it's not turned on by default
[00:57:22] <brada> traveler: glad you fixed it
[00:57:35] <traveler__> i'm the one most glad i think
[00:57:46] <traveler__> anyway, you asked me about gcc47?
[00:57:49] <brada> if it didnt break anything :p
[00:58:19] <brada> well if you want to try building again with it after changing something you can, but its not important
[00:58:24] <brada> and you need to do stuff!
[00:58:38] <traveler__> well i dont think this new one had a chance of breaking as i aborted mid-compile when reading of bugs with it
[00:58:42] <brada> lynx and fuzzie will help me sort this out
[00:58:44] <traveler__> yeah i know
[00:58:54] <traveler__> i just will not sleep much this night i think
[00:59:11] <brada> quit IRC and go do what you need to do :p
[00:59:21] <brada> im still rebasing anyway
[01:00:53] <traveler__> ok see you all on monday then, as i've already nuked your tree from by disk, so it's not just fast recompile...
[01:00:55] <traveler__> later!
[01:02:22] <brada> later
[01:02:34] <Serafyna> yep.. its empty it seems
[01:02:35] <Serafyna> Oh
[01:02:39] <Serafyna> See ya Traveler :3
[01:02:41] <brada> even if its not fixed by the type change this problem commit is at least cleaner
[01:02:42] <brada> https://github.com/bradallred/gemrb/commit/d549649eea88863bf76f26a6a54d48c7789bb8d3
[01:02:44] <Seniorita> Font: expand all strings to 2 bytes in order to support multibyte text · d549649 · bradallred/gemrb · GitHub
[01:03:45] <brada> bah didnt correctly undo that scanf stuff
[01:05:03] <-- traveler__ has left IRC (Ping timeout: 245 seconds)
[01:06:15] <Serafyna> brada
[01:06:24] <brada> ?
[01:06:25] <Serafyna> might you be able to help me get my setting correct? ^^
[01:06:31] <brada> i can help you
[01:06:32] <brada> or try
[01:06:40] <Serafyna> thankies much :3
[01:06:43] <brada> others know more about android tho
[01:06:50] <brada> but what is the question
[01:06:53] <Serafyna> Oh
[01:07:11] <Serafyna> well I just want to know how to make this thing work for my phone so i can play some game
[01:07:17] <Serafyna> or at least get some game to start :3
[01:08:03] <brada> well i cant tell you what to change if you dont have the log saying what is wrong
[01:08:10] <brada> post your config
[01:08:13] <brada> to pastebin
[01:09:14] <Serafyna> pastebin?
[01:09:22] <brada> pastebin.com
[01:09:31] <Serafyna> oh okies
[01:11:27] <Serafyna> I must make account?
[01:11:30] <brada> no
[01:11:56] <brada> i wonder if the log being empty is because we forgot to apply the android logger patch to that build
[01:12:09] <brada> i dont know if that patch is still required tho
[01:12:44] <Serafyna> okies~ posted!
[01:13:31] <brada> um i need a link
[01:14:44] <Serafyna> oops
[01:14:45] <Serafyna> http://pastebin.com/PNWY3Abe
[01:14:47] <Seniorita> .##################################################### # - Pastebin.com
[01:15:28] <brada> game path is incomplete
[01:15:38] <brada> i think
[01:16:01] <brada> and wrong anyway
[01:16:11] <Serafyna> oh
[01:16:14] <brada> shouldnt net.sourceforge.cgemrb be net.sourceforge.gemrb
[01:16:14] <Serafyna> i put..
[01:16:55] <Serafyna> GamePath=/storage/sdcard0/app-data/net.sourceforge.cgemrb
[01:17:07] <brada> and unless you copied all the BG2 files directly into that folder you need to append the foldername containing the BG2 files to that path
[01:17:25] <Serafyna> i just chucked everything into that folder
[01:17:36] <brada> your CD1 path will probably need to have the same path plus /data
[01:17:56] <Serafyna> oh
[01:17:59] <Serafyna> oki lemme try the new one
[01:18:01] <brada> well even if you did you made a typo
[01:18:11] <brada> you have cgemrb instead of gemrb
[01:19:53] <brada> what version of android btw?
[01:20:37] <Serafyna> jellybean
[01:20:54] <Serafyna> er
[01:20:59] <Serafyna> jellybean 4.1.1
[01:21:23] <Serafyna> hmm still nothing
[01:21:27] <brada> ok is that path supposed to be /storage/sdcard0 or /storage/sdcard/0
[01:21:29] <Serafyna> but it remained on black a lil longer i think
[01:21:39] <Serafyna> its sdcard0
[01:22:01] <brada> well we need a log to know. if the file log is blank you will need to download alogcat from the market
[01:22:12] <Serafyna> oki
[01:22:37] <Serafyna> oki got it
[01:22:59] <brada> so run gemrb then after it closes open alog cat
[01:23:11] <brada> and tell me the last couple of lines in the log
[01:23:47] <Serafyna> it said
[01:24:18] <Serafyna> E/SpannableStringBuilder(26096): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
[01:24:20] <Serafyna> twice
[01:24:28] <brada> thats not gemrb
[01:24:31] <Serafyna> then alot of same blue'ish coloured text came out
[01:24:33] <Serafyna> oh
[01:24:39] <brada> by last couple lines i mean the ones at the top
[01:24:46] <brada> most recent entries are first
[01:24:50] <Serafyna> oops
[01:24:51] <Serafyna> :X
[01:25:19] <Serafyna> I/dalvikm(26096): Turning on JNI app bug workarounds for target SDK version 11...
[01:25:38] <Serafyna> E/Trace (26096): error opening trace file: No such file or directory (2)
[01:25:54] <brada> give me some more
[01:26:14] <brada> the ones that have gemrb somewhere at te start
[01:26:18] <brada> ore core
[01:26:20] <Serafyna> D/AbslistView (26096): Get MotionRecognitionManager
[01:26:24] <brada> or the word core
[01:26:46] <brada> look for this string
[01:26:46] <brada> GemRB Core Version v0.7.2-git Loading...
[01:26:56] <Serafyna> D/TextLayoutCache(26096): TextLayoutCache: :replaceThai,prevBuffer [0] is 74
[01:27:33] <brada> the lines im looking for should all have "[Core]:" in them
[01:30:36] <Serafyna> cant find any o:
[01:30:51] <brada> strange
[01:31:11] <brada> quit everything thats running and try again
[01:36:05] <Serafyna> oki just did.. and scroleld looking every where but not a single core word was found
[01:37:20] <brada> wonder what is happening to the log messages
[01:38:48] <Serafyna> hmm
[01:40:01] <Serafyna> ya says file was empty
[01:40:14] <brada> i would make sure that your gamepath is correct
[01:40:16] <Serafyna> when i moved my files into the net.sourceforge.gemrb folder
[01:40:25] <Serafyna> was there a folder inside it that i was supposed to move htm into?
[01:40:31] <brada> typically
[01:40:34] <Serafyna> cause i kinda just copied it into the thing whole
[01:40:38] <brada> but it doesnt matter
[01:40:51] <brada> so all the files are in there an not in a sub folder?
[01:41:02] <Serafyna> ya they're all just plopped in there
[01:41:06] <brada> thats fine
[01:41:32] <brada> still double check your path and make sure that the cache directory doesnt have any files in it
[01:42:03] <brada> shoud be a folder in the same directory as gemrb.cfg called cache
[01:42:03] <Serafyna> hmm
[01:42:19] <Serafyna> the cache directory has a folder called Data in it and another gemrb.log
[01:42:33] <brada> check that log
[01:42:59] <brada> empty too?
[01:43:09] <Serafyna> says empty also
[01:43:11] <Serafyna> @_@;
[01:43:13] --- ermo is now known as ermo^
[01:43:41] <brada> well assuming that is the cache directory gemrb is trying to use you need to delete everything in it
[01:44:02] <Serafyna> oh even the data files?
[01:44:14] <brada> you can change the CachePath setting in gemrb.cfg wo a diffrent path if you arent sure
[01:44:25] <Serafyna> inside the data folder
[01:44:28] <Serafyna> there are these files..
[01:44:31] <Serafyna> .bif ones
[01:44:38] <Serafyna> that says like AREA4500.bif
[01:44:41] <brada> yes so its trying to do something i guess
[01:44:47] <brada> delete them tho
[01:44:47] <Serafyna> and AREA5000.bif so on so forth
[01:44:51] <brada> yeah
[01:44:59] <Serafyna> oh
[01:45:12] <Serafyna> so i empty the cache file ?
[01:45:20] <brada> its supposed to be empty yes
[01:45:26] <Serafyna> oki
[01:45:42] <brada> you have a data directory in /storage/sdcard0/app-data/net.sourceforge.gemrb
[01:45:43] <brada> right?
[01:45:49] <Serafyna> yes
[01:45:59] <Serafyna> and oki i deleted the stuff inside cache
[01:46:26] <brada> ok so for cd1 path put /storage/sdcard0/app-data/net.sourceforge.gemrb/data
[01:47:17] <brada> then try opening gemrb again
[01:50:57] <Serafyna> oki i set cd1 there
[01:51:26] <Serafyna> still same
[01:51:37] <Serafyna> when it goes up itl stay like black screen for abit then close
[01:52:14] <brada> yeah we need a log to proceed
[01:52:25] <brada> come back tomorrow and im sure we can get you a working log
[01:52:57] <Serafyna> ooohkies~!
[01:53:05] <Serafyna> thank you for helping me brada :3
[01:53:14] <brada> yes no prob
[01:53:25] <Serafyna> would be lovely to have bg2 on my phone
[01:53:26] <Serafyna> or or ..
[01:53:29] <Serafyna> heroes3 ^_^
[02:12:01] <Serafyna> am going to scoot for abit.. will see you brada ~
[02:12:05] <-- Serafyna has left IRC (Quit: Page closed)
[03:36:04] <brada> btw the bug with the class selection when starting a new game is still around
[03:36:14] <brada> ^ the one where the description is *
[06:36:09] <-- brada has left IRC (Quit: brada)
[06:36:52] --> brada has joined #gemrb
[07:00:31] <-- brada has left IRC (Quit: brada)
[07:05:36] --> miha has joined #gemrb
[07:28:35] <-- edheldil_ has left IRC (Ping timeout: 256 seconds)
[08:41:23] --> WingedHussar has joined #gemrb
[08:47:15] --> edheldil_ has joined #gemrb
[08:51:42] <-- edheldil_ has left IRC (Ping timeout: 264 seconds)
[09:01:34] --> Serafyna has joined #gemrb
[09:12:17] <miha> hello
[09:36:06] --> lynxlynxlynx has joined #gemrb
[09:36:06] --- ChanServ gives channel operator status to lynxlynxlynx
[09:36:14] <miha> hello lynxlynxlynx
[09:36:37] <miha> i can't figure how to pack those .zip 's properly, so gemrb on android would find its files
[09:37:20] * miha n00b
[09:38:41] <lynxlynxlynx> you mean override and guiscripts?
[09:38:54] <miha> yes
[09:39:45] <fuzzie> and unhardcoded
[09:39:45] <lynxlynxlynx> you can pack them anywhere, but then the default config needs to be adjusted
[09:39:55] <lynxlynxlynx> GUIScriptsPath etc
[09:40:08] <fuzzie> presumably you want to pack them identically so that the demo still works
[09:40:20] <lynxlynxlynx> alex was doing them separately so it was easier to update between weeklies
[09:40:25] <lynxlynxlynx> the market one doesn't bother
[09:40:38] <fuzzie> how does the market one do it?
[09:41:08] <fuzzie> or, well, how does the easy-to-update one do it? :)
[09:41:17] <fuzzie> the whole thing seems pretty confusing
[09:41:47] <lynxlynxlynx> it dumps everything under the net.sourceforge.gemrb folder i think
[09:41:53] <lynxlynxlynx> would need to unpack it
[10:11:47] <lynxlynxlynx> ok, fully woke up
[10:12:00] <miha> :D
[10:16:51] <lynxlynxlynx> the market description says the first step is to run the app, so it installs some data
[10:17:23] <lynxlynxlynx> don't know what that'd be, but the readme for the weeklies didn't require it
[10:18:22] <lynxlynxlynx> just says to replace the two folders
[10:28:42] <edheldil> Too bad I do not own android device
[10:36:54] <miha> lynxlynxlynx: it seems to unpack two zips from assets/ folder of android project
[10:37:11] <miha> override, guiscripts
[10:37:25] <miha> edheldil: you can run emulator. it's slow, but works
[10:37:41] <lynxlynxlynx> that solves it then?
[10:38:22] <miha> lynxlynxlynx: no idea, i tried to change .zips, but i got same error
[10:38:26] <miha> edheldil: http://developer.android.com/tools/devices/emulator.html
[10:38:27] <Seniorita> Using the Android Emulator | Android Developers
[10:38:40] <miha> edheldil: not to slow to see such error though
[10:38:51] <miha> just too slow to play :)
[10:39:38] <miha> edheldil: it's just qemu with android ARM image (or sometimes intel)
[10:39:38] <lynxlynxlynx> hmm, do the zips contain anything extra?
[10:39:46] <lynxlynxlynx> i doubt the format itself is different
[10:44:50] <lynxlynxlynx> in the generator i only see it splits the zips if they are more than 1M in size
[10:45:15] <miha> lynxlynxlynx: perhaps i'm noob
[10:45:29] <miha> gemrb.cfg shows bg2, but i wanted bg1 demo
[10:48:02] <lynxlynxlynx> there is no bg1 demo
[10:48:23] <lynxlynxlynx> you can run our demo stub if you want a quick graphical test
[10:48:36] <miha> lynxlynxlynx: it downloaded some 800 MB?
[10:48:38] <miha> no?
[10:48:46] <lynxlynxlynx> that's the bg2 demo
[10:48:47] <miha> is see baldur.exe ?
[10:48:49] <miha> oh
[10:49:09] <lynxlynxlynx> bg2 is the correct gametype for that
[10:51:01] <fuzzie> so you did add unhardcoded and you stopped getting those errors?
[10:52:28] <lynxlynxlynx> ok, nothing special in override.zip, just some extra files we usually install elsewhere
[10:52:58] <miha> fuzzie: no difference
[10:53:34] <fuzzie> so it still complains at start of the log about missing unhardcoded/bg2 and unhardcoded/shared?
[10:53:56] <miha> no
[10:54:08] <fuzzie> so that is fixed? :)
[10:54:09] <miha> it complains about invalid path given or portraits, CD, data
[10:54:15] <miha> for, not or
[10:54:29] <miha> data/*.bif
[10:54:34] <fuzzie> i think the rest seemed harmless
[10:54:44] <fuzzie> the bg2 demo is missing a lot of bif files if I remember correctly, although maybe lynxlynxlynx knows accurately
[10:55:27] <lynxlynxlynx> yeah, it also has some different strrefs
[10:55:38] <lynxlynxlynx> it does run good enough though
[10:56:13] <lynxlynxlynx> and it seems the last changes to mbfonts fixed them for me almost completely
[10:56:28] <lynxlynxlynx> the iwd2 qsave only reports a [BAMFont/ERROR]: number missing glyph for character '69' using ISO-8859-1 encoding
[10:56:35] <lynxlynxlynx> no crashes whatever i do
[11:00:25] <lynxlynxlynx> no problem with initials big or small :)
[11:04:29] <lynxlynxlynx> nothing in tob
[11:04:45] <lynxlynxlynx> iwd2 persists with that 69 though
[11:04:56] <lynxlynxlynx> must be something in the data, i guess
[11:13:00] <miha> [ResourceManager/WARNING]: Invalid path given: unhardcoded/bg2 (GemRB Unhardcoded data)
[11:13:03] <miha> [ResourceManager/WARNING]: Invalid path given: unhardcoded/shared (shared GemRB Unhardcoded data)
[11:13:06] <miha> but files are there
[11:13:13] <miha> should be ./unhardcoded ?
[11:13:25] <miha> or not :p
[11:13:26] <miha> hm
[11:13:34] <miha> GUIScripts is
[11:13:44] <miha> oh
[11:14:40] <miha> override and GUIScripts are in .zip, unhardcoded isnt
[11:14:44] <miha> is that a problem? :$
[11:19:59] <lynxlynxlynx> you didn't have to unzip them?
[11:21:09] <miha> it wasnt there in old project :)
[11:22:20] <fuzzie> it's meant to be automatic
[11:22:34] <fuzzie> maybe it's unzipping them to a different place than where you're putting them? I don't know
[11:27:43] <miha> no, it just had override and GUIscripts
[11:27:48] <miha> that version i got
[11:28:00] <miha> i didnt get last version they used
[11:28:07] <miha> changed that now
[11:28:09] <miha> let me see
[11:32:08] <lynxlynxlynx> it should also work if you put it in the zip with the overrides
[11:33:17] <miha> yes i think i understand now
[11:33:23] <miha> kind of :p
[11:35:31] * miha slow
[11:49:40] <miha> have yet to figure how to "start with fresh installation" and "copy baldur demo from local backup" :)
[11:49:57] <miha> i want fresh config and .zip files
[11:50:13] <miha> it just mixes files in same dir
[11:58:50] <lynxlynxlynx> having everything in the same dir should work, yes, that's the way the default config on android is set up
[11:59:33] <miha> wov it loads
[12:05:05] <miha> https://www.dropbox.com/s/4rbmk4pnbnnzwga/androidbaldur.png
[12:05:12] <Seniorita> Dropbox - androidbaldur.png - Simplify your life
[12:06:00] <wjp> nice :-)
[12:06:26] <fuzzie> very nice
[12:07:22] <miha> https://www.dropbox.com/s/lijsr5kflzs93ds/androidbaldur2.png
[12:07:24] <Seniorita> Dropbox - androidbaldur2.png - Simplify your life
[12:07:39] <miha> i just wonder how that patching would be automated
[12:08:31] <miha> https://www.dropbox.com/s/pe06vwrg3netapk/gemrb.apk (2 days old version)
[12:08:33] <Seniorita> Dropbox - gemrb.apk - Simplify your life
[12:11:10] <miha> hmm android virtual keyboard doesnt show at name
[12:16:49] <miha> looking at config again
[12:16:49] <miha> Redefine common keys to SDL keysyms
[12:16:49] <miha> MENU and BACK hardware keys and TOUCHSCREEN virtual 'key' are available on all devices, other keys may be absent
[12:17:01] <miha> android >=3.x doesnt have menu key
[12:17:04] <miha> it uses on screen menu
[12:18:41] <miha> so i cant edit my character name :p
[12:40:49] <lynxlynxlynx> heh
[12:41:22] <lynxlynxlynx> anyway, good job with the build
[12:41:41] <lynxlynxlynx> this was with sdl2 or one of pelya's?
[12:50:49] <fuzzie> this was pelya's
[12:54:35] <miha> well i'd like to automate it, later
[12:55:50] <lynxlynxlynx> 1.2 or 1.3?
[13:01:26] <miha> 1.2
[13:01:47] <miha> there was some error at 1.3 and you guys told me to try 1.2
[13:02:02] <miha> i can try 1.3 too :)
[13:04:05] <miha> Full-text on-screen QWERTY input is also available, toggled with special 7-th button. http://www.anddev.org/sdl_port_for_android_sdk-ndk_16-t9218.html what special button? :)
[13:04:07] <Seniorita> anddev.org • View topic - SDL port for Android SDK/NDK 1.6
[13:05:04] <lynxlynxlynx> nah
[13:05:16] <lynxlynxlynx> was just wondering, since i saw both trees were in the repo
[13:05:52] <lynxlynxlynx> one has an extra diff chunk for keypad defines, but dunno if that's needed with sdl2
[14:20:07] <miha> lynxlynxlynx: 1.3 has errors in keymap
[14:20:07] <miha> jni/../jni/sdl-1.3/src/video/android/keymap.c:19: error: 'SDL_SCANCODE_e' undeclared (first use in this function)
[14:20:41] <miha> and other scancodes
[14:20:42] <miha> ..
[14:22:31] <lynxlynxlynx> yeh, ignore it
[14:23:10] <lynxlynxlynx> i need to go get ripped off now, but do tell if you had to do anything different/extra than what those short instructions had
[14:23:12] <lynxlynxlynx> bbl
[14:26:00] <miha> freetype font, comment out files in old patch and vlc (not in that patch?), also add unhardcoded dir to zip (scripts and override were there, old version)
[14:26:05] <miha> will diff, i guess
[14:28:07] <miha> it's not that different, i just didnt quite imagine what's going on :)
[14:37:05] <miha> aahh
[14:37:33] <miha> there's button top left that shows Ab, but it's so transparent i couldnt find it.. or is it now when i chose 'application needs text input' at config
[14:56:32] <miha> hhmm now i *** sound :p
[14:56:35] <miha> ok :p
[15:01:06] <miha> but game works https://www.dropbox.com/s/h5noh8mm5qedsyo/androidbaldurgame.png
[15:01:11] <Seniorita> Dropbox - androidbaldurgame.png - Simplify your life
[15:20:06] <miha> how to see which git version i pulled now?
[15:23:25] <miha> git show HEAD
[15:23:25] <miha> commit bd1b209734d8955bf46f17cbf0ef6f4c5dc5b3be
[15:23:25] <miha> Author: Jaka Kranjc <lynxlupodian@users.sourceforge.net>
[15:23:25] <miha> Date: Wed Jan 23 18:55:43 2013 +0100
[15:23:29] <miha> is this... version?
[15:24:23] <fuzzie> yes
[15:25:21] <miha> ok
[15:25:41] <miha> AppVersionName="0.7.2 git bd1b209734d8955bf46f17cbf0ef6f4c5dc5b3be"
[15:25:43] <miha> so this?
[15:25:49] <fuzzie> I have nooo idea.
[15:25:59] <miha> well AppVersion can be any string
[15:26:09] <fuzzie> Usually people shorten it to just the first 8 or so characters though.
[15:26:13] <miha> ok
[15:26:21] <miha> 8 chars then?
[15:27:00] <miha> AppVersionName="0.7.2 git bd1b2097" ? :)
[15:27:38] <fuzzie> well I would just use the output of 'git describe' but your way is probably clearer :)
[15:28:48] <miha> lol
[15:28:48] <miha> git describe
[15:28:49] <miha> v0.7.2-509-gbd1b209
[15:28:50] <miha> so this?
[15:29:26] <miha> ok
[15:30:06] <miha> fuzzie: whatever is easier when somebody comes here telling this version crashed? :)
[15:30:24] <fuzzie> well, the nice thing about 'git describe' is that it gives you a number too
[15:30:34] <miha> deal :)
[15:30:36] <fuzzie> so the string you pasted is 'commit bd1b209, which is 509 commits after v0.7.2'
[15:30:44] <miha> i see
[15:30:58] <fuzzie> so you can easily tell how old a version is
[15:31:18] <fuzzie> but anything with the git commit id is just fine for us working out what someone is running
[15:36:10] --> brada has joined #gemrb
[15:36:21] <miha> why is sound always almost mute when starting.. i can change it fine, but it doesnt save it?
[15:39:07] <miha> https://www.dropbox.com/s/7y23nkq2i5m62ds/gemrb-0.7.2-509-gbd1b209.apk
[15:39:09] <Seniorita> Dropbox - gemrb-0.7.2-509-gbd1b209.apk - Simplify your life
[15:40:48] <miha> it seems to work, at least start of game :)
[15:43:48] <brada> re mbfonts: o_O so why did changing int to size_t fix that? compiler bug?
[15:45:11] <-- miha has left IRC (Quit: Lost terminal)
[15:49:24] <brada> lynx: can i merge now?
[16:06:15] --> miha has joined #gemrb
[16:07:47] <miha> btw if i try to build for android x86, something in libs is missing
[16:10:50] <brada> python probably
[16:11:17] <brada> because in my exam it appeared they bundled the so and not the source
[16:11:33] <miha> http://pastebin.ubuntu.com/1566441/
[16:11:33] <Seniorita> Ubuntu Pastebin
[16:15:29] --> kida has joined #gemrb
[16:19:04] <miha> can anything be done about it? or it's just so..?
[16:20:11] <brada> i dont know what that is
[16:21:04] <brada> im sure something can be done. you just need to find that library for x86 or the source and build it yourself
[16:21:38] <miha> :)
[16:23:53] <brada> get ready for IRC spam
[16:24:25] <Seniorita> [commit] Brad Allred: TTFFont: plug whitespace char leak http://gemrb.git.sourceforge.net/git/gitweb.cgi?p=gemrb/gemrb;a=commitdiff;h=c2596795ee0005da8e0b7a53f047d86b0da2c4bc
[16:24:26] <Seniorita> [commit] Brad Allred: Font: add ivar to signify multibyte encoding http://gemrb.git.sourceforge.net/git/gitweb.cgi?p=gemrb/gemrb;a=commitdiff;h=37d52a35934122635dae1d71b19ae044c6873cef
[16:24:27] <Seniorita> [commit] Brad Allred: Font: expand all strings to 2 bytes in order to support multibyte text http://gemrb.git.sourceforge.net/git/gitweb.cgi?p=gemrb/gemrb;a=commitdiff;h=8ea11c0cf29b2b56d65d716cff8e1207413107d5
[16:24:29] <Seniorita> [commit] Brad Allred: Fonts: relocate and update a note http://gemrb.git.sourceforge.net/git/gitweb.cgi?p=gemrb/gemrb;a=commitdiff;h=0e262be8c7b86ef9e6291899dfdc95d3796c7703
[16:24:30] <Seniorita> [commit] Brad Allred: BAMFontManager: may as well use the actual bam resref for the animation manager http://gemrb.git.sourceforge.net/git/gitweb.cgi?p=gemrb/gemrb;a=commitdiff;h=0961dc3d825c848c09b8d7f59020cbe054d6756d
[16:24:31] <Seniorita> [commit] Brad Allred: BAMFont: plug leaking. GetFrame* increments the retain count of a sprite. http://gemrb.git.sourceforge.net/git/gitweb.cgi?p=gemrb/gemrb;a=commitdiff;h=02addf912e5807eb72f31ee3a37e79dd124e596e
[16:24:32] <Seniorita> [commit] Brad Allred: Interface: load TLKEncoding from the language INI http://gemrb.git.sourceforge.net/git/gitweb.cgi?p=gemrb/gemrb;a=commitdiff;h=20832bb7b168d6e8702ff21b10dfabb4e74904e1
[16:24:33] <Seniorita> [commit] Brad Allred: BAMImporter: dont need an if block here; just pass RLECompressed directly to the... http://gemrb.git.sourceforge.net/git/gitweb.cgi?p=gemrb/gemrb;a=commitdiff;h=a01969f9bf6044cd9cace7ac9fea78dfb9b7e32c
[16:24:35] <Seniorita> [commit] Brad Allred: BAMFont: much simpler initialization logic http://gemrb.git.sourceforge.net/git/gitweb.cgi?p=gemrb/gemrb;a=commitdiff;h=4571b7630a1632af90d76feed0807b7a6a708bfc
[16:24:36] <Seniorita> [commit] Brad Allred: BAMFont: implement multibyte char support http://gemrb.git.sourceforge.net/git/gitweb.cgi?p=gemrb/gemrb;a=commitdiff;h=f2822b4909fa70256cc863fd50cb627a1d76efee
[16:24:37] <Seniorita> [commit] Brad Allred: Add a chinese.ini http://gemrb.git.sourceforge.net/git/gitweb.cgi?p=gemrb/gemrb;a=commitdiff;h=01c83888e94419ac769c25a24701d83a1ec6a1f9
[16:24:38] <Seniorita> [commit] Brad Allred: Font: privatize name field http://gemrb.git.sourceforge.net/git/gitweb.cgi?p=gemrb/gemrb;a=commitdiff;h=68f6abfd807feea8eb2254b28426a04f1a5f95db
[16:24:39] <Seniorita> [commit] Brad Allred: Font: state fonts are never multibyte http://gemrb.git.sourceforge.net/git/gitweb.cgi?p=gemrb/gemrb;a=commitdiff;h=cb57257d05463c81aa12ba7c25221947b13a06fe
[16:24:41] <Seniorita> [commit] Brad Allred: Font: null character checks http://gemrb.git.sourceforge.net/git/gitweb.cgi?p=gemrb/gemrb;a=commitdiff;h=cfda9e4cb5a2509aee5231c0447467cf32cfa09e
[16:24:42] <Seniorita> [commit] Brad Allred: Interface/Fonts: reimplement ability to match existing fonts http://gemrb.git.sourceforge.net/git/gitweb.cgi?p=gemrb/gemrb;a=commitdiff;h=97aed7d5344d539e8cea87451c3985ba74b69ee2
[16:24:43] <Seniorita> [commit] Brad Allred: Cleanup whitespace/unused code http://gemrb.git.sourceforge.net/git/gitweb.cgi?p=gemrb/gemrb;a=commitdiff;h=fe46b4366079ef46e7684376267104df69f8338d
[16:24:44] <Seniorita> [commit] Brad Allred: TTFFont: it is important that 'in' value match the 'multibyte' ivar http://gemrb.git.sourceforge.net/git/gitweb.cgi?p=gemrb/gemrb;a=commitdiff;h=61c044f422e47eab4519d591b419c71d09835f2f
[16:24:45] <Seniorita> [commit] Brad Allred: TTFFont: implement basic kerning http://gemrb.git.sourceforge.net/git/gitweb.cgi?p=gemrb/gemrb;a=commitdiff;h=fb81cae59b690f530e6be9c4730c2f3800f32c48
[16:24:47] <Seniorita> [commit] Brad Allred: BAMFont: this error should be logged below to catch numeric fonts as well. http://gemrb.git.sourceforge.net/git/gitweb.cgi?p=gemrb/gemrb;a=commitdiff;h=f042be538b43d5ce68337dede542f4bb5c173da9
[16:24:48] <Seniorita> [commit] Brad Allred: Merge branch 'mbfonts' http://gemrb.git.sourceforge.net/git/gitweb.cgi?p=gemrb/gemrb;a=commitdiff;h=1c3b2dfbb9b38a46816ec25077dd4a52211e678f
[16:25:02] <fuzzie> :o
[16:25:08] <brada> :D
[16:25:32] <wjp> eek
[16:26:23] <brada> of course since chiv is the one who talked me into doing that he has since vanished
[16:28:34] <miha> wov, progress!
[16:30:41] <miha> FLAGS="$FLAGS --enable-small --optimization-flags=-O2"
[16:31:01] <miha> --optimization-flags is unknown, if i delete it, it compiles
[16:31:51] <brada> cool
[16:31:54] <miha> any ideas?
[16:32:32] <brada> is that in build.sh?
[16:32:36] <brada> or what?
[16:32:52] <brada> you dont need 02 anyway
[16:33:29] <lynxlynxlynx> what about that numbers glyph?
[16:33:53] <brada> it was 0x69 right?
[16:34:31] <lynxlynxlynx> it's printed as 69, so i don't know if it is hex
[16:34:39] <brada> iirc it is
[16:34:44] <brada> i should clearify that
[16:35:35] <miha> brada yes build.sh
[16:35:41] <miha> for that lib
[16:35:41] * edheldil /kicks and /bans for spamming the channel ;-)
[16:35:48] <miha> source is inside commandergenius distro
[16:35:49] <edheldil> brad
[16:36:23] <edheldil> good that you finally merged it
[16:37:10] <brada> yes
[16:37:23] <brada> that crasher was driving me insane
[16:37:34] <brada> and still nobody has explained it to me!
[16:37:55] <brada> fuzzie: break my brain with more technical explainations
[16:38:04] <fuzzie> don't ask me
[16:38:16] <brada> but...
[16:38:23] <fuzzie> am glad it got fixed, because it means I don't have to stare at it more
[16:38:30] <brada> heh me too
[16:38:42] <fuzzie> have not looked at what changed in your branch and thus happily have no clue whatsoever
[16:38:44] <brada> guess i can live with it not making sense
[16:38:52] <brada> changed int to size_t
[16:39:08] <brada> even though it was int before
[16:39:32] <brada> and nothing is long enough to fill that anyway
[16:39:34] <fuzzie> ah in the sscanf?
[16:39:35] <brada> so ???
[16:39:42] <brada> no
[16:40:02] <brada> i mean the return type for dbLen and for the loops
[16:40:07] <fuzzie> well, ok.
[16:40:10] <fuzzie> how about I don't think about it. :P
[16:40:14] <brada> ok
[16:40:16] <brada> :p
[16:40:20] <brada> my head is broken
[16:41:40] <brada> lynx: why is iwd2 trying to print the letter i with the number font?
[16:44:44] <lynxlynxlynx> don't know
[16:44:51] <lynxlynxlynx> it happens *a lot* though
[16:44:57] <brada> interesting
[16:45:04] <brada> does that font actually have letters?
[16:45:20] <brada> or have anything at position 0x69 - '0'
[16:45:29] <brada> cycle wise
[16:45:34] <brada> er no framewise
[16:45:38] <brada> for numeric fonts
[16:46:01] <brada> or even something at 0x69?
[16:48:56] <edheldil> brada: havemn't you already solved this? /home/benkovsk/ie/gemrb/gemrb/plugins/TTFImporter/TTFFont.cpp: In constructor ‘GemRB::TTFFont::TTFFont(FT_FaceRec_*, GemRB::ieWord, GemRB::FontStyle, GemRB::Palette*)’:
[16:48:56] <edheldil> /home/benkovsk/ie/gemrb/gemrb/plugins/TTFImporter/TTFFont.cpp:186: error: ‘FT_Reference_Face’ was not declared in this scope
[16:49:16] <brada> well you leftbefore i could ask you more
[16:49:53] <lynxlynxlynx> can check later
[16:49:58] <brada> i can get rid of that call i think, but if its just going to break somewhere else we should just enforce a version check
[16:50:00] <Seniorita> [commit] Jaka Kranjc: centirevisional NEWS bump http://gemrb.git.sourceforge.net/git/gitweb.cgi?p=gemrb/gemrb;a=commitdiff;h=a1f995137490345bdd7380b88bd6e5216d3dae0f
[16:50:58] <brada> so comment out that call and and FT_done_face calls
[16:51:10] <brada> and see if it compiles and runs
[16:52:29] <edheldil> it built now
[16:53:07] <brada> sounds like ill just let the font be responsible for deallocating the face entirely
[16:53:36] <edheldil> What should I set in config to check how it runs?
[16:53:51] --> edheldil_ has joined #gemrb
[17:01:04] <brada> just set the CustonFontsPath varialbe to a directory with ttf
[17:01:32] <brada> then edit fonts.2da and replace the word normal in the middle col with the name of a ttf font in that dir
[17:01:43] <brada> probably cant have spaces for obvious reasons
[17:04:02] <brada> if it compiles it probably runs
[17:04:26] <Serafyna> Hiya ^^v
[17:05:56] <lynxlynxlynx> or just run the game demo
[17:06:08] <brada> oh yeah
[17:06:49] <Serafyna> :3 Was wondering if anyone might be able to help me run my gemBR game - Baldur's Gate 2 (and the expansion) for android phone..
[17:07:06] <-- miha has left IRC (Ping timeout: 245 seconds)
[17:09:30] <brada> heh too bad miha just left
[17:10:01] <brada> i have to go to work so i wont be able to help you much
[17:11:37] <brada> serafyna: https://www.dropbox.com/s/7y23nkq2i5m62ds/gemrb-0.7.2-509-gbd1b209.apk
[17:11:39] <Seniorita> Dropbox - gemrb-0.7.2-509-gbd1b209.apk - Simplify your life
[17:11:44] <brada> i think that is a new build from this morning
[17:11:55] <brada> i think it fixes some missing data
[17:11:56] <brada> dont know tho
[17:12:04] <brada> and the person who built it just left
[17:12:08] <brada> as i am about to do
[17:12:13] <-- brada has left IRC (Quit: brada)
[17:13:12] <Serafyna> Oh oki ^^
[17:59:01] --> Yoshimo has joined #gemrb
[18:14:03] --> miha has joined #gemrb
[18:15:19] --> hadrian_ has joined #gemrb
[18:19:00] <hadrian_> Hi
[18:19:14] <miha> hi
[18:19:41] <hadrian_> @lynxlynxlynx: Here’s the screenshot you asked for yesterday http://web.student.tuwien.ac.at/~e0302966/tmp/amber_upperbuttontext0.png
[18:22:56] <lynxlynxlynx> you sure you changed that variable?
[18:24:25] <miha> is there any chance i can compile libopenal.so libpython.so for android x86? if so, which version and...how :(
[18:29:27] <-- miha has left IRC (Ping timeout: 276 seconds)
[18:30:28] <-- Serafyna has left IRC (Ping timeout: 245 seconds)
[18:34:24] <-- edheldil_ has left IRC (Ping timeout: 252 seconds)
[18:35:56] <hadrian_> Yes I changed the variable
[18:39:05] --> brada has joined #gemrb
[18:40:08] <brada> miha: yes i compiled those myself yesterday
[18:40:17] <brada> actually not python
[18:40:21] <brada> i did compile openal tho
[18:46:14] --> miha has joined #gemrb
[18:47:42] <Seniorita> [commit] Brad Allred: Touch Input: we need to warp the "mouse" to the scaled coordinate position http://gemrb.git.sourceforge.net/git/gitweb.cgi?p=gemrb/gemrb;a=commitdiff;h=a55eda5d1b0a779f4ac19ecb4dc0be63c2bc50af
[18:50:23] <hadrian_> hi miha check the logs for an answer ;)
[18:50:28] <brada> i wonder if that fixes the other problem too
[18:51:03] <brada> nope
[18:52:34] <brada> irritating how it seems to happen randomly
[18:52:45] <brada> will probably be a royal pain to debug
[18:54:09] --> i30817 has joined #gemrb
[18:56:21] <brada> hmm actually i can consistantly trigger it by making quick selections
[18:56:51] <brada> so it seems to be a timeing issue
[18:57:07] <brada> possible related to the right click timing
[18:57:23] <brada> been awhile since ive mucked around with touch input tho
[19:25:18] <-- miha has left IRC (Ping timeout: 264 seconds)
[19:27:23] --> miha has joined #gemrb
[19:33:47] <Seniorita> [commit] Brad Allred: TouchInput: somehow finger motion can have 0 fingers o_O http://gemrb.git.sourceforge.net/git/gitweb.cgi?p=gemrb/gemrb;a=commitdiff;h=49e987d176753c1d9267098771e51d48916aa86f
[19:33:57] <brada> yay! all known touch input bugs are fixed now
[19:34:04] <brada> way easier than i thought too
[19:53:19] <brada> tomprince: id like to fix all the incorrect paths for the osx-test job
[19:54:02] <brada> its looking for ./gemrb.app…. but should be ./gemrb/gemrb.app
[20:00:24] <brada> actually it looks like just changing the working directory to the gemrb subfolder all the paths will be fixed
[20:07:06] <tomprince> How do app bundle paths typically work? Or is it not running the app bundle?
[20:09:04] <brada> the directory its in is /private/var/buildbot/gemrb-slave/osx-test/build/build
[20:09:10] <brada> but it needs to be in /private/var/buildbot/gemrb-slave/osx-test/build/build/gemrb
[20:09:46] <brada> that will fix the current problem
[20:10:13] <brada> probably will be another problem with not being able to find the test data but i can fix that with cmake
[20:10:38] <brada> here is the stdio: http://buildbot.gemrb.org/builders/osx-cmake/builds/210/steps/minimal%20test/logs/stdio
[20:10:40] <Seniorita> Log File contents
[20:13:24] <tomprince> Well, my question is, can it be made to work with the directories as is?
[20:14:09] <brada> well i will move gemrb.app to where it is looking and try
[20:14:52] <brada> see the argv at the top is looking for the .app in the correct location
[20:15:02] <brada> but those paths are looking for it in current dir
[20:15:38] <tomprince> Well, I'm saying that running an app bundle shouldn't need to be in the correct directory, for it work.
[20:16:00] <tomprince> So, the paths set, aren't right.
[20:16:02] <brada> ok moving gemrb.app into the build dir works
[20:16:23] <tomprince> The problem is, it shoulnd't expect the bundle to be run from the current directory.
[20:17:23] <brada> all i know is moving it into build and altering argv to remove the leading gemrb/ will fix it
[20:18:14] <tomprince> Which doesn't fix the underlying problem.
[20:18:37] <tomprince> Perhaps we are executing the wrong thing. How are you supposed to run a bundle from the cli?
[20:19:20] <fuzzie> the bundle path does seem to be hard-coded in the config
[20:20:02] <brada> the way we are doing it yoou have to execute the binary in the Contents/MacOS dir
[20:20:23] <brada> thats the only way to pass args in
[20:20:26] <fuzzie> tomprince: is what you're trying to say that we should be using CFBundleGetMainBundle and CFBundleCopyBundleURL?
[20:21:26] <fuzzie> or is this stuff not in the bundle at all?
[20:21:53] <tomprince> Maybe? I don't know anything about osx.
[20:22:04] <tomprince> The names make it sound plausible that that is what I am saying.
[20:23:17] <fuzzie> well I don't understand what either of you are saying :)
[20:25:13] <fuzzie> am just curious as to how it's supposed to thereotically work right now, since OS X is pretty random when it comes to working directories if you don't launch from command line
[20:26:59] <brada> sorry currently distracted with work
[20:29:00] <-- i30817 has left IRC (Quit: ChatZilla 0.9.89 [Firefox 18.0/20130107224407])
[20:49:47] <brada> fuzzie: theoretically you shouldnt even be giving the paths to things inside the bundle
[20:50:08] <fuzzie> how do you mean?
[20:50:27] <fuzzie> I mean, Interface.cpp has hard-coded paths in it.
[20:50:41] <brada> yeah
[20:50:54] <fuzzie> so you're kind of stuck with the paths to things inside the bundle?
[20:51:48] <brada> i guess. im not looking at the code but that is certainly the default place it should look
[20:52:01] <fuzzie> well, the code seems to hardcoded to just 'GemRB.app/bla/bla'
[20:52:10] <fuzzie> but maybe I'm misreading it
[20:52:15] <brada> no you are right
[20:52:17] <brada> im sure
[20:52:30] <brada> we should probably use the functions you mentioned there
[20:52:42] <brada> to get the bundle resource directory
[20:52:47] <brada> instead of that hardcoded path
[20:53:00] <fuzzie> It's just that, at first glance, the stdio you linked seemed to have that as the problem.
[20:53:20] <fuzzie> so if that is problem then, maybe I'm helpful :) if it isn't then, I don't understand your conversation
[20:53:33] <brada> no that is the proper way of doing it
[20:53:41] <brada> but before that namespace change i couldnt do it
[20:53:55] <fuzzie> ah.
[20:53:56] <brada> no i can mix the apple stuff in there to get that needed function
[20:54:01] <fuzzie> cool :)
[20:54:04] <brada> yay
[20:54:08] <brada> i forgot about all that
[20:54:10] <brada> thank you
[21:09:07] <-- Yoshimo has left IRC (Quit: Yoshimo)
[21:15:31] <-- brada has left IRC (Quit: brada)
[21:21:06] --> brada has joined #gemrb
[21:27:41] <-- miha has left IRC (Ping timeout: 246 seconds)
[21:54:41] <-- WingedHussar has left IRC (Ping timeout: 248 seconds)
[21:55:44] --> WingedHussar has joined #gemrb
[22:00:28] <-- hadrian_ has left IRC (Ping timeout: 245 seconds)
[22:05:30] <-- kida has left IRC (Ping timeout: 264 seconds)
[22:09:36] --> miha has joined #gemrb
[22:14:26] <brada> im having trouble using c inside c++
[22:14:41] <brada> when the function has a return type and i assign it to a variable it works fine
[22:14:54] <brada> but when it is void it keeps thinking im trying to declare something
[22:16:23] <fuzzie> maybe show the code? :)
[22:17:01] <brada> ok
[22:17:36] <brada> http://paste.debian.net/228365/
[22:17:38] <Seniorita> debian Pastezone
[22:17:48] <brada> the failure is trying to use CFRelease
[22:18:17] <brada> i dont really need that extern c
[22:18:19] <brada> btw
[22:18:26] <brada> it is already externed
[22:18:55] <fuzzie> you didn't put the #include inside a function, right?
[22:19:02] <fuzzie> it's at the top of the source file?
[22:19:04] <brada> yes
[22:19:35] <fuzzie> you might just need the header with CFRelease in it
[22:19:40] <brada> i tried that
[22:19:51] <brada> i tried the umbrella header too
[22:19:53] <fuzzie> the return value is surely a red herring
[22:20:12] <brada> not really
[22:20:30] <brada> if i do int var = CFRelease(resourcesURL);
[22:20:42] <brada> then i get an aerror about asssigining to int from void return
[22:22:01] <brada> something seems very confused aside from myself
[22:22:20] <fuzzie> well, usually it's a mistake somewhere in nearby code/changes
[22:22:52] <-- miha has left IRC (Ping timeout: 244 seconds)
[22:23:01] <brada> i thought that too but i removed all the previous code that compiles fine
[22:23:11] <brada> not saying you are wrong
[22:23:16] <brada> just no idea wtf
[22:23:20] <fuzzie> yes, just trying to help ofc
[22:23:23] <fuzzie> can you provide a diff?
[22:23:40] <brada> sure
[22:25:00] <brada> http://paste.debian.net/228368/
[22:25:02] <Seniorita> debian Pastezone
[22:25:14] <fuzzie> oh I *see*
[22:25:28] <fuzzie> none of the code is in a function :)
[22:25:47] <brada> doh
[22:26:08] <brada> thank you
[22:26:19] <fuzzie> so, indeed, you can't call a void function there :)
[22:26:22] <brada> right
[22:26:27] <brada> so obvious now
[22:26:33] <brada> forgot where i was doing that
[22:26:50] <brada> wish the error were more helpful
[22:27:21] <fuzzie> at least compiler error msgs are getting a lot better
[22:27:28] <brada> true
[22:27:40] <fuzzie> llvm's competition has really helped improve that in gcc, even
[22:27:45] <brada> oh yes
[22:55:33] <-- lynxlynxlynx has left IRC (Remote host closed the connection)
[23:43:56] --- ermo^ is now known as ermo