#gemrb@irc.freenode.net logs for 1 Apr 2010 (GMT)

Archive Today Yesterday Tomorrow
GemRB homepage


[01:57:51] --> Gekz has joined #GemRb
[02:27:51] <-- raevol has left IRC (Quit: Leaving.)
[03:38:55] <-- tomprince_loki has left IRC (Quit: tomprince_loki)
[04:21:59] <-- Nomad010 has left IRC (Ping timeout: 240 seconds)
[04:39:42] --> Brendan__ has joined #GemRb
[04:39:43] <-- Gekz_ has left IRC (Read error: Connection reset by peer)
[04:40:07] --> Gekz_ has joined #GemRb
[04:40:22] <-- Gekz has left IRC (Read error: Connection reset by peer)
[04:41:07] --- Brendan__ is now known as Gekz
[04:41:13] <-- Gekz has left IRC (Changing host)
[04:41:13] --> Gekz has joined #GemRb
[05:53:33] --> lynxlynxlynx has joined #GemRb
[05:53:33] --- ChanServ gives channel operator status to lynxlynxlynx
[05:55:51] <tomprince> http://roguebasin.roguelikedevelopment.org/index.php?title=FOV_using_recursive_shadowcasting
[06:03:23] --> Brendan__ has joined #GemRb
[06:04:31] <tomprince> http://code.google.com/p/libfov
[06:04:34] <-- Gekz has left IRC (Ping timeout: 258 seconds)
[06:18:14] <-- Brendan__ has left IRC (Read error: Connection reset by peer)
[06:18:18] --> Gekz has joined #GemRb
[07:10:27] --> raevol has joined #GemRb
[08:14:12] <-- Gekz_ has left IRC (Quit: Leaving)
[08:40:09] <fuzzie> morning
[08:51:09] <raevol> morning
[08:54:25] <edheldil> hi
[09:09:07] <fuzzie> tomprince: there's a higher chance of me applying this stuff if it builds :)
[09:12:50] <edheldil> the shadowcasting algo?
[09:13:20] <fuzzie> no, just the DelAllWindows patch i mentioned last night
[09:17:18] <lynxlynxlynx> some kind of linux world domination method?
[09:17:57] <fuzzie> if only :-)
[09:20:44] <CIA-43> GemRB: 03tom.prince * r04173bb5c246 10gemrb/gemrb/plugins/Core/ (Interface.cpp Interface.h):
[09:20:44] <CIA-43> GemRB: Core: Handle DelAllWindows seprately.
[09:20:44] <CIA-43> GemRB: Signed-off-by: Tom Prince <tom.prince@ualberta.net>
[09:22:39] <fuzzie> A patched patch a day keeps the contributors at bay?
[09:23:57] <edheldil> :)
[09:24:26] <edheldil> fuzzie: did that solve anything or was it a cleanup patch?
[09:25:16] <lynxlynxlynx> cleanup
[09:25:25] <lynxlynxlynx> killed a few hex
[09:25:48] <fuzzie> i think the idea being that anything which says "don't call this from a guiscript" shouldn't be callable from a guiscript :)
[09:27:06] <fuzzie> you have any fixes you particularly want made? :)
[09:27:40] <fuzzie> i have real work to avoid
[09:27:56] <Lightkey> "seprately" you do that on purpose, don't you?
[09:29:42] <lynxlynxlynx> uhmmmm
[09:30:29] <edheldil> I looked at script compiler sources (in NI, but that's hardly the point) and felt an urge to vomit from the number of special cases
[09:31:21] <fuzzie> a good thing that we don't have to worry about the source? :)
[09:32:20] <lynxlynxlynx> * Can't right-click and drag to rotate formations. <-- maybe this one ;)
[09:32:59] <fuzzie> i was actually watching youtube videos of bg2 and being surprised at how everyone used that
[09:33:22] <lynxlynxlynx> * in the area map when the game is unpaused the fog-of-war is not updated dynamically <-- this was just fixed, right?
[09:33:27] <fuzzie> yes
[09:33:35] <fuzzie> also the big-endian savegame issues.
[09:33:51] <fuzzie> and the map pin issues on the soa page.
[09:34:03] <fuzzie> and 'magic missile spread'.
[09:35:45] <lynxlynxlynx> yep, already got them
[09:35:53] <fuzzie> will have to look at the wmap thing.
[09:49:35] <fuzzie> hm, segfault :|
[09:52:11] <fuzzie> ok, i found why we needed those thread options in the build.
[10:42:55] <CIA-43> GemRB: 03fuzzie * r6bfb42cc6190 10gemrb/gemrb/Makefile.am: link the main binary against libpthread, to (hopefully) avoid gdb exploding
[11:12:16] <-- raevol has left IRC (Quit: Leaving.)
[12:03:38] <tomprince> Yes, I guess it would help if things build. :)
[12:05:02] <tomprince> I think I must have decided when rebasing and seprating things that DelAllWindows -> DeleteAllWindows would be better, and only changed one. :(
[12:06:58] --> Maighstir_laptop has joined #GemRb
[12:53:04] <tomprince> I plead too many patches in the queue. ;)
[12:56:22] <tomprince> Honestly ... thankes for keeping my messes out of the tree.
[13:22:47] <fuzzie> tomprince: any idea if the pthread thing is an appropriate fix?
[13:23:34] <tomprince> Yes. I think it probably is.
[13:24:21] <tomprince> I think it probably isn't necsessary, excpet gdb won't initialize its threading code without the main executable being linked to libpthread.
[13:24:51] <tomprince> Beyond that, I don't know, and I don't have any machines to test on.
[13:25:59] <fuzzie> well, gdb is also happy with only libgemrb_core linked to libpthread. it seemed also happy (only tested on one arch) with only the plugins linking to it. v.confusing.
[13:27:33] --> tomprince_loki has joined #GemRb
[13:27:55] <fuzzie> i wonder if my change is just patching over some underlying issue. but it works now, so i am happy.
[13:29:10] <tomprince_loki> Well, germb linking to it is the same as libgemrb_core linking to it, since it gets loaded at program start up.
[13:34:44] <tomprince_loki> I suspect it has something to do with libc version or something.
[13:39:02] <fuzzie> *nod*
[13:39:12] <fuzzie> well, time for me to go learn about the .. Gale-Ryser theorem, apparently. bbiab.
[13:57:06] --> Gekz_ has joined #GemRb
[14:03:35] <-- tomprince_loki has left IRC (Ping timeout: 265 seconds)
[14:03:35] <-- tomprince has left IRC (Ping timeout: 265 seconds)
[14:11:33] --> tomprince_loki has joined #GemRb
[14:42:16] <-- Maighstir_laptop has left IRC (Quit: Maighstir_laptop)
[14:57:51] <-- tomprince_loki has left IRC (Quit: tomprince_loki)
[15:16:38] --> Maighstir_laptop has joined #GemRb
[15:19:10] <fuzzie> ok, hi again.
[15:20:48] <lynxlynxlynx> Maighstir_laptop: please make a svg with only the gears variant in it and one with only the rb
[15:21:21] <-- Gekz_ has left IRC (Ping timeout: 245 seconds)
[15:28:48] <Maighstir_laptop> sure
[15:33:08] <Maighstir_laptop> Wait, I didn't show the one I made after this request, did I?: <Edheldil> Maighstir_laptop: I meant something similar to the outer cogs version, rotate and remove the one over the gap
[15:33:31] <lynxlynxlynx> not to me
[15:33:33] <lynxlynxlynx> bbl
[15:34:40] <edheldil> not yet
[15:34:48] <fuzzie> http://ops-area.net/annat/GemRB/logo04-3versions.svg ?
[15:34:57] <fuzzie> oh, no, not rotated
[15:35:42] <edheldil> ?
[15:36:07] <fuzzie> never mind. let me go drink more coffee. :)
[15:46:17] <Maighstir_laptop> No, apparently I completely forgot to upload it, here's the latest one: http://ops-area.net/annat/GemRB/logo04-4versions.svg
[15:48:48] <edheldil> I like the 8 cog version more. But whether cogless would be better I can't say
[15:49:03] <edheldil> more than 9-cog bversion, I mean
[15:50:56] <edheldil> maybe gem and cogwheel together is too much and simpler would be better, i.e. the first variant
[15:51:23] <edheldil> but all of them are nice, thanks, Maighstir
[15:55:43] <Maighstir_laptop> yeah, I just keep them all in the same document for easy comparison, I don't have any real opinion on which one is the "best"
[15:59:03] --> tomprince has joined #GemRb
[16:05:24] --> tomprince_loki has joined #GemRb
[16:09:33] <Maighstir_laptop> There, rb-only and gem-only version: http://ops-area.net/annat/GemRB/logo04-rb_only.svg http://ops-area.net/annat/GemRB/logo04-gem_only.svg
[16:10:06] --> Nomad010 has joined #GemRb
[16:36:11] <-- edheldil has left IRC (Quit: Really?)
[17:49:40] <-- Genraznx has left IRC ()
[18:08:15] <-- tomprince_loki has left IRC (Quit: tomprince_loki)
[18:27:39] --> Gekz_ has joined #GemRb
[18:29:45] <-- Gekz has left IRC (Read error: Connection reset by peer)
[18:36:39] <-- Maighstir_laptop has left IRC (Ping timeout: 265 seconds)
[18:42:32] --> Maighstir_laptop has joined #GemRb
[19:36:37] <Lightkey> the 8-cog is great but why is the red part so.. washed out? it looks almost orange
[19:37:32] <fuzzie> oh dammit, IESDP just misled me for half an hour
[19:38:13] <Lightkey> Maighstir_laptop: your name is Anna T.? *g*
[19:38:47] <Maighstir_laptop> Nope
[19:39:07] <Maighstir_laptop> why'd you think that?
[19:39:16] <Lightkey> the link
[19:39:27] <Maighstir_laptop> "other" in swedish
[19:40:46] <Maighstir_laptop> And the red is the same red in Sam's original version: http://i4.photobucket.com/albums/y143/zamul/logo_05.png
[19:41:01] <-- Nomad010 has left IRC (Ping timeout: 252 seconds)
[19:41:06] <Maighstir_laptop> or should be pretty damn close at least
[19:41:17] --> Nomad010 has joined #GemRb
[19:55:50] <lynxlynxlynx> i like the 8-cog one better too
[19:56:39] <lynxlynxlynx> thanks a lot
[19:58:06] <fuzzie> does anyone have any real iwd2 saves?
[19:58:15] <fuzzie> i want to know what the header of the .gam file says
[19:58:28] <lynxlynxlynx> i do
[19:59:17] <fuzzie> ie, 'less blah.gam' and then see GAMEV2.0 or GAMEV2.2 at the top
[20:00:50] <lynxlynxlynx> strings -n5 to the rescue
[20:01:56] <lynxlynxlynx> all of them are GAMEV2.2
[20:02:24] <fuzzie> any chance you could extract your icewind2.gam and see what it says?
[20:02:46] <lynxlynxlynx> see who says what?
[20:02:48] --> tomprince_loki has joined #GemRb
[20:02:52] <fuzzie> w/weidu :)
[20:02:59] <lynxlynxlynx> about?
[20:03:05] <fuzzie> oh, the game version
[20:03:10] <fuzzie> mine says GAMEV2.0
[20:03:29] <lynxlynxlynx> nxlynxlynx> all of them are GAMEV2.2
[20:03:36] <fuzzie> oh, sorry
[20:03:42] <fuzzie> i mean, the icewind2.gam from the game files :)
[20:04:01] <lynxlynxlynx> do you know the biff name?
[20:04:37] <fuzzie> [./ICEWIND2.GAM] created from [/home/fuzzie/src/gemrb/iwd2/DATA/MISC.BIF]
[20:05:40] <lynxlynxlynx> eh, i'll just fire up dltcep
[20:05:57] <fuzzie> it probably isn't worth this much hassle, i just want to make sure it's not just my copy
[20:07:20] <lynxlynxlynx> that one is 2.0
[20:07:37] <lynxlynxlynx> cheeky
[20:08:29] <fuzzie> so gemrb is trying to re-save it as a bg2 game and getting v.confused :-)
[20:09:02] <lynxlynxlynx> the versions from before are from the original saves
[20:09:18] <fuzzie> yes; 2.0 is bg2, 2.2 is iwd2
[20:09:35] <lynxlynxlynx> one or two was maybe rewritten by gemrb
[20:19:22] <fuzzie> that is ok, i have just been led on the wild goose chase of trying to work out why it would corrupt savegames if you made a new game.
[20:19:31] <fuzzie> works fine if i override the version.
[20:19:48] <fuzzie> so i hope that was the problewm..
[20:25:35] <fuzzie> lynxlynxlynx: could you apply http://fuzzie.org/nfs/gemrb/iwd2_hack.txt and see if you get that message when starting a new iwd2 game? ('new game', pick existing party, 'done' is sufficient)
[20:30:33] <lynxlynxlynx> ok
[20:34:27] <lynxlynxlynx> i get it, yes
[20:37:49] <CIA-43> GemRB: 03fuzzie * r3289f57f603c 10gemrb/gemrb/plugins/GAMImporter/GAMImporter.cpp: add a hack for default icewind2.gam
[20:37:51] <CIA-43> GemRB: 03fuzzie * rc86e29330bdb 10gemrb/gemrb/plugins/GAMImporter/GAMImporter.cpp: add some sanity-check asserts when saving PCs
[20:37:53] <CIA-43> GemRB: 03fuzzie * r13d9bfbe66e6 10gemrb/gemrb/plugins/ (CREImporter/CREImporter.cpp GAMImporter/GAMImporter.cpp): CREImp/GAMImp: some random fixes/clarifications
[20:38:06] <fuzzie> well, that was a fun hour :)
[20:38:15] <CIA-43> GemRB: 03lynxlupodian * reb84846821c7 10gemrb/gemrb/plugins/CREImporter/CREImporter.cpp: CREImporter: added a missing newline to an error message
[20:39:50] <lynxlynxlynx> dword is not being twice the size of a word is an architecture thing?
[20:40:00] <fuzzie> that is just 'clarification'
[20:40:48] <fuzzie> i got confused for a bit about it, so i thought it is harmless to change :)
[20:41:25] <lynxlynxlynx> that's better - they're the same, it could have been something obscure :)
[20:41:36] <fuzzie> (i spent a long while checking the exact sizes of everything saved..)
[20:42:13] <fuzzie> i hope the asserts will avoid that in the future, they will fail if there is a size mismatch
[20:42:26] <-- Nomad010 has left IRC (Ping timeout: 276 seconds)
[20:42:29] --> nomad has joined #GemRb
[20:44:05] <lynxlynxlynx> so iwd2 savegames should not get corrupted anymoe?
[20:44:53] <fuzzie> well, we still forget a lot of the data
[20:45:06] <fuzzie> i think for instance all spells/innates/songs/etc data is discarded
[20:46:31] <fuzzie> but i hope i got the last obvious crash bug there.
[20:46:37] <lynxlynxlynx> :)
[20:47:47] <fuzzie> does that mean our iwd2 bug list is empty? :-)
[20:56:42] <lynxlynxlynx> hah
[21:17:01] --> cfchris6 has joined #GemRb
[21:20:30] <-- cfchris6_ has left IRC (Ping timeout: 265 seconds)
[21:23:05] <fuzzie> i wonder what localID is good for
[21:29:58] --> Edheldil has joined #GemRb
[21:29:58] --- ChanServ gives channel operator status to Edheldil
[21:30:21] <Edheldil> hello
[21:30:58] <fuzzie> hi
[21:47:31] --> Nomad010 has joined #GemRb
[21:47:37] <-- nomad has left IRC (Ping timeout: 258 seconds)
[21:55:31] --> ratpor has joined #GemRb
[21:57:58] <tomprince> fuzzie: Can you test out or.cz:WIP-explore. I know there are still some artifacts, and the code needs some major tidying, but I am curious if this show any performnce improvement over the old code.
[21:58:17] <tomprince> I can't really test it, since it was in the noise for me.
[21:59:04] <Edheldil> fuzzie, do you hae an address for nick daly's repository?
[21:59:24] <Edheldil> or any other personal GemRB repo?
[22:00:01] <tomprince> google nick daly gemrb
[22:00:20] <tomprince> http://git.njw.me.uk/cgit/cgit.cgi/gemrb-gameinstallers/
[22:00:24] <tomprince> http://github.com/NickDaly/GemRB-Multiple-Configs-Branch
[22:02:33] <fuzzie> tomprince: the 'double' in there is going to kill any performance gain
[22:03:05] <tomprince> Maybe. Can probably get rid of it, it was just quicker to implement that way.
[22:03:16] <fuzzie> will try finding the time tomorrow to profile it on a machine with an fpu though :)
[22:04:43] <Edheldil> thanks, added to wiki
[22:04:48] <CIA-43> GemRB: 03tom.prince * r0de06aaca739 10gemrb/gemrb/ (4 files in 3 dirs):
[22:04:48] <CIA-43> GemRB: GUIScript: Make strnlen a global function, use it in GUIScript.
[22:04:48] <CIA-43> GemRB: Signed-off-by: Tom Prince <tom.prince@ualberta.net>
[22:04:48] <CIA-43> GemRB: Signed-off-by: Alyssa Milburn <fuzzie@fuzzie.org>
[22:05:29] <fuzzie> (+ a signed-off-by me because i modified it and haven't tested it!)
[22:06:48] <tomprince> I'd be interesed in without a fpu too. Even with the doubles, it might still be a win.
[22:06:53] <Edheldil> Linus apparently requires signed-off-by for all developers handling a patch
[22:08:04] <fuzzie> tomprince: well, i think it's at best a ~15x multiplier? so it seems unlikely at a glance
[22:09:50] <-- lynxlynxlynx has left IRC (Remote host closed the connection)
[22:10:01] <tomprince> I suspect that at least in tight quarter it would be. I don't really know, since I haven't really worked on anything where performance is critical.
[22:10:20] <tomprince> http://elinux.org/Developer_Certificate_Of_Origin describes the "official" meaning of the Signed-off-by line.
[22:10:43] <fuzzie> yes, i am abusing it there :-)
[22:11:13] <fuzzie> ideally i wouldn't modify patches at all
[22:14:44] <fuzzie> i was hoping that horrible iwd2 hack might attract Avenger
[22:32:59] --> raevol has joined #GemRb
[22:39:22] <tomprince_loki> I'll try to keep my patches from being broken.
[22:43:19] <fuzzie> i am missing github's review features :)
[22:44:39] <tomprince_loki> I could put it up on github. I don't really have a preference, and I'm not the one using it.
[22:45:11] <fuzzie> i just wonder if there's something i could use on top of everything
[22:46:45] <tomprince_loki> What do you mean? I am not familiar with github?
[22:47:33] <fuzzie> i mean, i wonder if it would be more sensible to have a central review tool or somesuch
[22:48:23] <fuzzie> it really isn't important enough to move for.
[22:50:17] <tomprince_loki> Well, it would only take ~5 minutes of my time, and if it makes your life easier merging my stuff, then it is worth it.
[22:51:54] <fuzzie> is the "Split PlayMode into two variables" on the patch tracker dealt with now?
[22:53:31] <fuzzie> I imagine we probably want to close "New plugin system" as more easily handled on git, and the new/delete one because you don't want it applied, at least.
[22:53:53] <tomprince_loki> Yes to all of those.
[22:55:00] <tomprince_loki> The PlayMode stuff might need fixing to match the original game. But that is a seprate issue.
[23:00:08] * fuzzie prods sourceforge
[23:23:01] <fuzzie> as a future note: bg2/MessageWindow.py's global PortraitWindow/OptionsWindow vars should probably go.