#gemrb@irc.freenode.net logs for 20 Sep 2010 (GMT)

Archive Today Yesterday Tomorrow
GemRB homepage

[01:21:04] <-- |Cable| has left IRC (Ping timeout: 272 seconds)
[01:22:30] --> |Cable| has joined #GemRb
[05:00:48] --> edheldil_ has joined #GemRb
[05:59:38] --> lynxlynxlynx has joined #GemRb
[05:59:39] --- ChanServ gives channel operator status to lynxlynxlynx
[06:31:44] <-- edheldil_ has left IRC (Ping timeout: 276 seconds)
[07:17:43] --> spike411 has joined #GemRb
[07:26:02] --> maighstir has joined #GemRb
[07:27:11] <-- |Cable| has left IRC (Remote host closed the connection)
[07:33:34] <-- maighstir has left IRC (Quit: buh-bye)
[07:43:47] --> lubos has joined #GemRb
[08:09:03] <edheldil> Ahoj, lubosi, how are the debs progressing?
[08:15:45] <lubos> Package is almost ready in debian SVN (http://svn.debian.org/viewsvn/pkg-games/packages/trunk/gemrb/). I will wait for next release due copyright problem (fixed in git)
[08:16:20] --> edheldil_ has joined #GemRb
[08:18:15] <lubos> I deciding whether to install it in /etc/ config file of "minimal game"
[09:14:32] <edheldil> hmm? Co tim myslis?
[10:07:31] <-- edheldil has left IRC (Remote host closed the connection)
[10:10:54] --> edheldil has joined #GemRb
[10:10:54] --- ChanServ gives channel operator status to edheldil
[10:30:12] <lynxlynxlynx> the minimal dataset
[10:30:23] <lynxlynxlynx> just installing the cfg isn't enough
[10:31:00] <wjp> I don't think it would be very useful to make that the default config, though
[10:31:58] <lynxlynxlynx> me neither
[10:49:43] --> SiENcE has joined #GemRb
[11:11:18] <edheldil> that raises the question of some demo dataset again, though :)
[11:11:59] <edheldil> or some which would allow to add games like in ScummVM
[11:14:23] <lynxlynxlynx> maighistr was working on something
[15:27:36] <-- lubos has left IRC (Quit: Leaving.)
[15:41:06] <-- spike411 has left IRC (Quit: Manga & anime pokec na Jabberu: manga.cz@conf.netlab.cz)
[16:12:56] --> pupnik_ has joined #GemRb
[16:16:44] <-- pupnik has left IRC (Ping timeout: 276 seconds)
[16:18:48] --> |Cable| has joined #GemRb
[16:21:47] --> Avenger has joined #GemRb
[16:21:47] --- ChanServ gives channel operator status to Avenger
[16:21:51] <Avenger> hi
[16:21:57] <Avenger> thanks for cleaning up, lynx
[16:24:13] --> Maighstir has joined #GemRb
[16:43:40] <-- edheldil_ has left IRC (Ping timeout: 272 seconds)
[16:43:55] --> pharoah has joined #GemRb
[16:44:10] <pharoah> hello everyone
[16:46:06] <Avenger> hello
[16:47:06] <Avenger> if you got questions ask them, even if no one answers them right away. you can check back the logs on http://log.usecode.org/gemrblog.php
[16:50:43] <pharoah> alright, thanks, right now I'm just digging through the source code trying to wrap my head around it
[16:51:24] <pharoah> eventually I'd like to help fix some stuff, but I have to understand the code first :P
[16:51:33] <Avenger> that's great, just wanted to ask :)
[16:51:52] <Avenger> which original games you got?
[16:52:18] <Avenger> bg1/bg2 need only small fixes, but pst/iwd2 are still very unfinished
[16:52:27] <pharoah> All of them :P BG1 5 disc set was the first video game I had ever played as a kid
[16:52:42] <pharoah> bought it with lawn mowing money
[16:52:56] <pharoah> I'm in college taking programming now though
[16:53:39] <Avenger> haha, you surely can learn from GemRB, especially how not to code then :)
[16:54:13] <Avenger> they still teach C in college?
[16:54:39] <pharoah> c++
[16:54:58] <pharoah> my teacher likes to tell us how to do it in c as well though
[16:55:42] <Avenger> nice
[16:56:00] <pharoah> he actually cracks me up, has an outrageous polish accent, a gigantic beard, and likes to make shadow puppets at random in the middle of class lol
[16:56:42] <lynxlynxlynx> sounds like a wise old dude
[16:56:47] <pharoah> where would you reccommend starting to look at the code? theres a lot of choices
[16:56:55] <pharoah> yeah, hes awesome
[16:56:56] <Avenger> well, the shadow puppets ... are weird
[16:57:06] <lynxlynxlynx> what do you want to learn? what subsystem interests you?
[16:57:16] <lynxlynxlynx> do you prefer python?
[16:57:34] <lynxlynxlynx> etc
[16:57:41] <pharoah> well, once I'm done school, I'm hoping to get into interface or AI programing
[16:58:07] <lynxlynxlynx> heh heh
[16:58:18] <pharoah> havent really done much with python, but I learn pretty fast, we are doing c++ and Java in school right now
[16:58:33] <Avenger> well, if you never heard about python, then maybe read a little about it. Most of our gui is python. C++ functions called by it
[16:59:27] <-- SiENcE has left IRC (Quit: @all: cya)
[16:59:53] <Avenger> if you already know some, then maybe read the gui scripts and their c interface (guiscript.cpp)
[17:00:09] <pharoah> alright, lets see if i can find it lol
[17:00:13] <Avenger> or the gui subsystem, where the low level gui stuff is
[17:00:37] <Avenger> we programmed all gui controls of the game ourselves, like buttons/windows/etc
[17:01:01] <Avenger> buttons/sliders/editbox/textarea
[17:01:12] <lynxlynxlynx> the iesdp description of the CHU format will help too
[17:02:05] <Avenger> uhm yeah, iesdp.gibberlings3.net is mandatory reading for anyone interested about modding/coding IE stuff
[17:03:11] <pharoah> i have that downloaded already :P
[17:05:12] <pharoah> if more work needs to be done on IWD 2, that could be neat
[17:05:31] <fuzzie> yes, iwd2 could really do with a lot of work
[17:05:34] <Avenger> the action buttons are totally messed up :)
[17:05:49] <pharoah> hey, interface programming ! lol
[17:09:18] <CIA-93> GemRB: 03avenger_teambg * r93aee3bb76b9 10gemrb/gemrb/ (4 files in 3 dirs): target mode changes will immediately refresh the cursor
[17:09:36] <Avenger> if you already got the sources, compile and run them, then try to figure out how to fix the problem i just fixed with that latest patch :)
[17:10:14] <pharoah> okay, so guiscript.cpp is called by the python scripts when you click on the buttons?
[17:10:35] <Avenger> it is much more complicated
[17:10:50] <Avenger> at the lowest level we interface with SDL
[17:11:17] <Avenger> SDL passes us events like mouse move, click, keyboard etc
[17:11:46] <Avenger> we got an own EventManager, which tries to figure out which window/control needs to receive the event
[17:12:27] <Avenger> python can set callbacks like ButtonOnPress, which gets called into when the button owning it, is pressed
[17:13:31] <Avenger> guiscript cpp is the gemrb/python script interface, it implements the python commands like Button.SetText() etc
[17:14:33] <Avenger> we got a really good (almost up to date) documentation of the stuff implemented by guiscript.cpp
[17:14:41] <lynxlynxlynx> actually SetText(window, buttoncontrol, text)
[17:14:52] <Avenger> docs/en/guiscript
[17:14:54] <lynxlynxlynx> there's a middle metaclass layer in python to shorten the callers
[17:14:59] <pharoah> okay, I'll take a look at the documentation
[17:16:13] <Avenger> hehe, didn't want to explode his brain :) that extra layer is nice when you just work with python code, but when you need something on the cpp/py border it makes things more complicated
[17:17:13] <pharoah> brain exploding is good :p I can just go start picking up the peices bit by bit until I get everything lol
[17:17:23] <pharoah> er... pieces
[17:18:10] <lynxlynxlynx> the function docs have both versions, so the middle layer is not important unless you want to improve it
[17:19:42] <pharoah> fair enough
[17:20:49] <lynxlynxlynx> so ignore it for now, the problems lie elsewhere
[17:24:20] <pharoah> now, gemrb works on linux right?
[17:25:02] <pharoah> ie. if I installed gemrb with IWD2 or BG2 it should work, bugs in gemrb notwithstanding right?
[17:32:04] <Avenger> gemrb works on everything where sdl/python/openal works
[17:33:15] <Avenger> you need to install the original games somehow:1. install in windows filesystem, then copy the files, use unshield etc, or maybe wine
[17:34:10] <Avenger> then compile/install gemrb and create a correct gemrb.cfg
[17:34:10] <pharoah> hmmm, I could do the coding and building in ubuntu, then bring it over to windows couldn't I?
[17:34:49] <Avenger> hmm i wouldn't recommend crosscompiling gemrb in linux for windows
[17:34:56] <Avenger> that sounds terrible :)
[17:35:00] <pharoah> yeah
[17:35:04] <pharoah> hmmm
[17:35:26] <Avenger> better copy the original games (or make their filesystem available) to linux
[17:35:33] <Avenger> then you can compile and run gemrb in linux
[17:36:08] <lynxlynxlynx> it's not a hassle
[17:36:09] <pharoah> oh... dont need to have them actually running in linux, just need to have the files accessible to gemrb?
[17:36:20] <Avenger> yes
[17:36:43] <lynxlynxlynx> if you're lucky they'd work in wine, which can be handy for testing the original's behaviour
[17:37:01] <Avenger> you just need an installed filesystem, as i said, it is possible to make it without windows, but the easiest is installing in windows
[17:37:29] <Avenger> there are some gemrb installers that would work with some game cds
[17:38:27] <Avenger> http://forums.gibberlings3.net/index.php?showtopic=17189
[17:38:30] <pharoah> well, I already have bg2 installed in windows, and I'm able to access the windows filesystem from my linux partition
[17:38:56] <pharoah> will having mods installed on my bg2 affect gemrb?
[17:39:03] <Avenger> yes
[17:39:10] <pharoah> okay, fresh install it is
[17:39:12] <Avenger> basically it should run just like the original
[17:39:20] <Avenger> if you didn't do any exe hacking, it should work
[17:39:41] <Avenger> it is actually good to test gemrb with mods
[17:40:01] <Avenger> just make sure that the bug is really a gemrb bug, and it isn't a mod bug :)
[17:40:22] <pharoah> okay, basically the only one i have running is the widescreen mod, just wanted to make sure it wouldnt break the testing
[17:40:41] <Avenger> widescreen for windows would break
[17:40:51] <Avenger> there is a widescreen for gemrb (beta), iirc
[17:40:51] <pharoah> although to be safe for the first while I'll probably just have a clean install of IWD2
[17:41:18] <pharoah> okay, so I would need a fresh install of BG2 to work with, thats what I wanted to know
[17:41:48] <pharoah> if i were to test it with bg2
[17:41:53] <Avenger> yep
[17:46:03] <lynxlynxlynx> not really, but it will save you a lot of trouble
[17:47:53] <pharoah> okay
[17:55:17] <pharoah> if i were to install the gemrb widescreen mod, would i do that on the windows side or linux side?
[17:55:58] <Avenger> no idea
[17:57:30] <pharoah> alrighty then lol
[17:57:41] <pharoah> when I find out, I'll let you know :P
[17:58:31] <lynxlynxlynx> it doesn't matter
[17:58:48] <lynxlynxlynx> it only affects the mod, not gemrb
[17:59:28] <lynxlynxlynx> the gemrb mode obviously doesn't do the exe patching and supports multiple resolutions at once, since we're cooler
[17:59:51] <pharoah> yeah, just thought it would be useful for people who just want to play the games in gemrb to know
[18:00:59] <-- Avenger has left IRC (Quit: bye!)
[18:06:16] <pharoah> hmmm, I've run into an issue, throne of bhaal doesnt want to install a second time
[18:09:11] <pharoah> nvm, figured it out
[18:16:39] <pharoah> be back later
[18:16:44] <-- pharoah has left IRC (Quit: Page closed)
[18:46:28] --> pharoah has joined #GemRb
[18:46:49] <pharoah> hey, which openAL do I need to install?
[18:47:09] <pharoah> im on linux now btw
[18:52:38] <-- pharoah has left IRC (Quit: Page closed)
[18:56:46] --> spike411 has joined #GemRb
[18:57:23] <lynxlynxlynx> any
[19:03:03] <-- spike411 has left IRC (Ping timeout: 245 seconds)
[19:14:13] --> spike411 has joined #GemRb
[19:32:20] <-- Maighstir has left #GemRb
[19:33:08] --> Maighstir has joined #GemRb
[19:42:31] --> SiENcE has joined #GemRb
[19:47:35] <spike411> I like it when my bugging produces results… :)
[19:53:04] <lynxlynxlynx> that was just a drop over the edge
[19:53:14] <lynxlynxlynx> for some reason a lot of people are bothered by that cursor thing
[19:54:50] <spike411> Yeah, dunno why. :)
[20:13:25] --> edheldil_ has joined #GemRb
[20:16:56] <spike411> Still cannot bash doors. Bashing kegs and locked chests works though.
[20:18:38] <spike411> No output in stdout… so… what would be the next logical step? I guess there is no way to produce more useful debug info…
[20:35:45] <lynxlynxlynx> you do get the failed message?
[20:37:41] <spike411> I don't get any message.
[20:38:55] <-- edheldil_ has left IRC (Ping timeout: 252 seconds)
[20:39:43] <spike411> I only get [Control]: Nested event handlers are not supported! when I click on the Attack icon, but that's before I try to bash door.
[20:41:53] <spike411> 9916: You have successfully forced the lock open! when I open a locked chest…
[20:43:08] <spike411> So the messages work, just doors are special case…
[20:48:45] --> edheldil_ has joined #GemRb
[20:48:47] <spike411> Found 6127 void GameScript::BashDoor(Scriptable* Sender, Action* parameters) in gemrb/core/GameScript/Actions.cpp
[20:52:13] <spike411> But I guess that's not it.
[20:52:37] <lynxlynxlynx> yeah, you can put a breakpoint there and in TryToBash
[20:53:06] <-- lynxlynxlynx has left IRC (Remote host closed the connection)
[20:53:48] <spike411> OK
[21:19:33] <spike411> Tried stepping through it… being dumb and all I couldn't find the problem there though http://paste.jabbim.cz/4878
[21:36:07] <-- edheldil_ has left IRC (Ping timeout: 252 seconds)
[21:47:05] --> edheldil_ has joined #GemRb
[22:02:19] <-- SiENcE has left IRC (Quit: cya @all)
[22:13:48] <-- Maighstir has left IRC (Quit: ~ Trillian Astra - www.trillian.im ~)
[23:10:47] <-- edheldil_ has left IRC (Ping timeout: 276 seconds)
[23:49:16] <-- Lightkey has left IRC (Ping timeout: 272 seconds)
[23:49:20] --> Lightkey has joined #GemRb