#gemrb@irc.freenode.net logs for 29 Aug 2011 (GMT)

Archive Today Yesterday Tomorrow
GemRB homepage

[00:14:49] <-- Maighstir has left IRC (Ping timeout: 260 seconds)
[00:21:11] <-- Micru has left IRC (Quit: Page closed)
[01:05:19] --> joneirik has joined #gemrb
[02:43:06] --> brad_a has joined #gemrb
[03:01:36] <-- brad_a has left IRC (Quit: brad_a)
[04:29:51] <-- joneirik has left IRC (Remote host closed the connection)
[05:39:53] --> brad_a has joined #gemrb
[05:41:16] <-- brad_a has left IRC (Client Quit)
[06:38:44] --> adominguez has joined #gemrb
[07:08:15] --> lynxlynxlynx has joined #gemrb
[07:08:15] <-- lynxlynxlynx has left IRC (Changing host)
[07:08:15] --> lynxlynxlynx has joined #gemrb
[07:08:15] --- ChanServ gives channel operator status to lynxlynxlynx
[07:27:23] --> lubos has joined #gemrb
[07:47:39] --> SiENcE has joined #gemrb
[08:08:09] --> Micru has joined #gemrb
[08:08:39] <Micru> good morning!
[08:09:25] <Micru> lynxlynxlynx, when you have time, could you please reset my password on the webpage? username: micru
[08:10:04] <Micru> i'd like to add to the todo list some little bugs i'm finding on pst
[08:12:22] <lynxlynxlynx> reset to your name
[08:15:44] <Micru> "Looks like there was an error on sending the password mail. Please contact the admin!"
[08:19:06] <Micru> lynxlynxlynx, maybe it would be easier if you just delete my user account so i can register again
[08:19:31] <lynxlynxlynx> why, i reset your password
[08:19:35] --> Vikthor has joined #gemrb
[08:23:10] <Micru> but, i didn't get the new password in my email, that's why i still cannot log in
[08:25:08] <lynxlynxlynx> [10:12:01] <lynxlynxlynx> reset to your name
[08:28:26] <Micru> it works! sorry I'm a bit thick in the morning :-S
[08:30:03] <edheldil> Micru: the Korean problems would be IMO best solved by creating font bams with korean characters instead of hacking using system fonts in GemRB
[08:30:57] <Micru> edheldil, if you tell me how to do it, I will try
[08:36:18] <edheldil> generally it would be something like 1) render all relevant korean characters to images, each letter a new picture, with some defined background and a constant height, so you have a defined baseline 2) using some tool (BAM Workshop? Some custom contraption, possibly using ie_shell?) convert the images to a BAM file, taking Japanese font bams as a model 3) profit
[08:37:45] <edheldil> (1) needs to be scripted, of course. I have some gimp script for this at my web, but it is years old and not necessarily working
[08:39:58] <Micru> and what about this? http://ask.metafilter.com/20431/How-to-create-bitmap-fonts
[08:41:02] <Micru> maybe not, only 10px and predefined slots
[08:41:49] <Micru> can you paste the address of your gimp script?
[08:44:16] <Micru> edheldil, does your plugin look like this one? http://soledadpenades.com/2009/04/20/generate-bitmap-font-a-little-plug-in-for-the-gimp/
[08:48:47] <edheldil> something like that, yes. Mine is http://www.eowyn.cz/gimp/text-separate.html <- but I have no idea if it still works
[08:51:21] <Micru> your script looks definitely more professional! I'll take a look to it in the next days
[08:52:12] <edheldil> maybe startby experimenting with chinese/japanese font bams - if the korean pst would display texts in Kanji, that'd be a half of success ;-)
[08:52:46] <-- |Cable| has left IRC (Ping timeout: 260 seconds)
[08:54:01] <edheldil> i.e. start by assuring that you are able to cover the whole process and get it working before setting on the endeavour and creating 10000 hangul bitmaps :)
[08:55:25] <edheldil> I wounder why would they rely on system fonts when they used bitmaps for other asian languages
[08:55:57] <Micru> i have one chinese pst, but i didnt manage to get it running and as for the japanese version i'll have to wait a long time.... and yes, better to see first how they did it
[08:56:04] <edheldil> hopefully it's not something inherent in the way Korean script is used
[08:56:07] <Micru> maybe because of visibility issues
[08:56:32] <edheldil> ?
[08:56:41] <Micru> asian languages require a lot of traces, and maybe it was not visible with that size
[08:57:41] <edheldil> hangul is simpler and more clear than kanji, I believe
[08:58:24] <Micru> no idea, or maybe they were creating the bitmap characters manually and the guy drawing them complained :-P
[08:58:55] <edheldil> eh
[08:59:07] <edheldil> well, try and see
[09:31:26] --> |Cable| has joined #gemrb
[09:43:58] <-- Micru has left IRC (Quit: Page closed)
[09:44:13] --> Demitar has joined #gemrb
[10:58:22] --> Micru has joined #gemrb
[10:59:10] <Micru> i've added some pst bugs to the wiki, some of them seem easy to solve: http://www.gemrb.org/wiki/doku.php?id=pst_bugs
[11:00:04] <fuzzie> you can double-click to run, for some reason
[11:02:13] <Micru> thanks for the tip, i didn't know about it
[11:22:21] <-- Micru has left IRC (Quit: Page closed)
[12:37:19] --> rugir has joined #gemrb
[12:37:33] <-- rugir has left IRC (Client Quit)
[13:07:26] <-- adominguez has left IRC (Quit: Saliendo)
[13:19:55] <-- lynxlynxlynx has left IRC (Read error: Operation timed out)
[13:33:37] --> lynxlynxlynx has joined #gemrb
[13:33:37] --- ChanServ gives channel operator status to lynxlynxlynx
[15:12:00] --> saddw has joined #gemrb
[15:12:18] <-- saddw has left IRC (Client Quit)
[15:18:28] --> brad_a has joined #gemrb
[15:19:56] <CIA-26> GemRB: 03lynxlupodian * ra4c6efa4af36 10gemrb/gemrb/core/GameScript/GSUtils.cpp: reset the stance if casting was interrupted
[15:20:02] <CIA-26> GemRB: 03lynxlupodian * r660e0ce928d9 10gemrb/gemrb/GUIScripts/GUIREC.py: fixed guirec copy-pasteo
[15:22:22] <CIA-26> GemRB: 03lynxlupodian * r65f7e3dbd545 10gemrb/gemrb/core/GameScript/Actions.cpp: fixed compilation error from 2c9fdde6fe
[15:25:42] --> Maighstir has joined #gemrb
[15:29:14] <brad_a> lynx you asked to see this yesterday.
[15:29:15] <brad_a> http://dl.dropbox.com/u/13866402/formationRotation.patch
[15:29:47] <brad_a> its probably not ready to be committed yet but you can tell me what you think
[15:41:13] <-- lubos has left IRC (Quit: Leaving.)
[15:47:14] <lynxlynxlynx> meh, whitespace noise
[15:47:21] <lynxlynxlynx> kompare can't deal with it
[15:54:12] <lynxlynxlynx> it definitely needs some cleanup
[15:54:43] <lynxlynxlynx> it should also be split up, for example the circle replacement can be separate
[16:46:54] <-- SiENcE has left IRC (Quit: @all: cya)
[16:54:58] --> Yoshimo has joined #gemrb
[17:21:05] --> Avenger has joined #gemrb
[17:21:10] --- ChanServ gives channel operator status to Avenger
[17:21:25] <Avenger> thanks for fixing the compilation error
[17:24:23] <Avenger> lol: [11:00:04] <fuzzie> you can double-click to run, for some reason
[17:24:55] <Avenger> the reason is simple: that's how it works in the original. I didn't know shift click would work, sadly we don't have shift click support in the game script
[17:28:11] --> Micru has joined #gemrb
[17:30:01] <Avenger> hmm: When gaining XP during dialog, a sound should be played
[17:30:14] <Avenger> i thought i specifically solved this a few days ago
[17:30:21] <Avenger> i even tested it :0
[17:30:43] <Avenger> memory should be similar, because it is also an xp action
[17:30:49] <Micru> avenger, that was tested with 0.65
[17:30:57] <Avenger> oh i see
[17:32:57] <Avenger> using system fonts would require some totally new code, i'm not against an optional font system, but i won't work on that
[17:33:26] <Micru> btw, the chinese version of pst looks more or less the same as the korean version. I still couldn't play it, but I checked the font BAMs and they didn't modify them
[17:33:47] <lynxlynxlynx> they ship them
[17:33:58] <Micru> yes
[17:34:00] <Avenger> if the .exe changed then anything may have changed
[17:34:13] <lynxlynxlynx> fuzzie: any progress?
[17:34:14] <Avenger> if it is just bam changes, then it is relatively fine
[17:34:45] <lynxlynxlynx> i think they need more than 255 of them and that's what that patch is doing
[17:34:52] <Micru> the curious thing about this version is that they provide a setfont.exe, but i don't understand what it does
[17:35:01] <Avenger> that is easy
[17:35:17] <Avenger> we can probably do that without resorting to options
[17:35:40] <Micru> one of the files that uses this setfont.exe program is a list of around 3000 characters, so maybe it generates bitfonts from that list
[17:36:02] <Avenger> well, if it runs on wine, then fine :)
[17:37:50] <Micru> lynxlynxlynx, do you mean that now BAMs can be larger than 255 frames?
[17:38:22] <lynxlynxlynx> no, we didn't apply it
[17:39:03] <Micru> why not? buggy?
[17:43:28] <lynxlynxlynx> unoptimal and we have no means to test it; the one who sent it went silent
[17:49:32] --> Beh0lder has joined #gemrb
[17:53:19] <Avenger> hey anyone knows where you find viconia? (area name)
[17:53:41] <lynxlynxlynx> no, but i was just looking at scripts
[17:53:53] <lynxlynxlynx> you get -2 when she joins and that's it
[17:54:08] <Avenger> but the report says, you get it continuously
[17:54:12] <lynxlynxlynx> i'm inclined to blame it on bgt
[17:54:28] <Avenger> ah, it was a bg2 conversion
[17:54:33] <Avenger> well, i will test on bg1
[17:54:42] <Avenger> if it works on bg1, then i won't give a f.ck :D
[17:54:47] <lynxlynxlynx> oh, it may be from bg2's baldur.bad
[17:55:03] <Avenger> ?
[17:55:10] <lynxlynxlynx> scripts/bg2/baldur.baf:1103
[17:55:17] <lynxlynxlynx> i guess these two blocks ping pong
[17:55:43] <Micru> try AR2400
[17:56:04] <Micru> http://www.ehow.com/how_4506661_acquire-drow-viconia-baldurs-gate.html
[17:56:45] <Avenger> lynx: is that a bg1 baldur.bcs, a bg2 baldur.bcs or a hybrid
[17:56:59] <Avenger> i never ran bgt so i don't know how they mix them
[17:57:03] <Micru> here is the exact location of viconia: http://www.forgottenwars.com/bg1/ar2400.htm
[17:57:10] <Avenger> thanks micru
[17:57:39] <lynxlynxlynx> that's just my plain bg2
[17:57:56] <lynxlynxlynx> i guess it is better to ask him for his, since the mod may have changed it
[17:58:40] <lynxlynxlynx> i didn't have any problems with vic the last time i played with her
[17:59:11] <Avenger> those lines cannot pingpong
[17:59:18] <Avenger> unless viconia also leaves/joins
[18:01:30] <lynxlynxlynx> or inparty is broken
[18:02:06] <lynxlynxlynx> bg1 doesn't have these blocks, so i'm pretty sure the mod did something there
[18:03:06] <Avenger> it is in plain bg2 :)
[18:03:31] <Avenger> they could have done various things
[18:03:46] <Avenger> like replacing baldur.bcs in the bg2 phase
[18:04:07] <Avenger> it is possible to have multiple global scripts too
[18:04:15] <Avenger> or they just merged the two
[18:05:21] <Yoshimo> why even care about mods until the original is working? ;)
[18:06:57] <Avenger> meh, i made a bug in Scriptable.cpp
[18:07:18] <Avenger> yoshimo: because it may shed light to an engine bug
[18:07:38] <Avenger> also i said i won't care if it works in plain bg1
[18:08:12] <Yoshimo> for me it's hard to distinguish if its a mod bug or a gemrb bug
[18:08:18] <Yoshimo> or even fault of the original engine
[18:08:50] <Avenger> lynx, please find this line in Scriptable.cpp tmp = (char *) malloc(strlen(msg)+strlen(spell)+strlen(target->GetName(-1))+4);
[18:08:55] <Avenger> and change the 4 to 5 :)
[18:09:24] --> duckpunch has joined #gemrb
[18:14:15] <Micru> lynxlynxlynx, in one of the chinese pst i downloaded, there is a collection of files that supposedly change any pst into chinese. There you can find that setfont.exe program I told you about and the tlk if you wish to test the patch that the chinese guy sumbited
[18:14:21] <Micru> http://goo.gl/99IJs
[18:15:10] <Avenger> yes, it works in bg1 correctly, i also think this is more like a bgt bug
[18:15:28] <lynxlynxlynx> why the magic constant?
[18:15:29] <Micru> i wonder what are the options in this setfont.exe are.... does anyone understand chinese? :-P
[18:15:50] <lynxlynxlynx> Micru: can you please comment on that forum thread, so it doesn't get lost?
[18:16:10] <Micru> good idea, i'll do it now
[18:17:59] <lynxlynxlynx> oh, i see where it's from
[18:19:23] <CIA-26> GemRB: 03avenger_teambg * rc8cd5698a0f8 10gemrb/gemrb/core/Scriptable/Scriptable.cpp: fixed off-by-one error in a spell message
[18:20:18] <lynxlynxlynx> scary huh
[18:21:17] <Avenger> yeah
[18:21:31] <Avenger> at least windows debug mode catches those easily
[18:21:50] <Avenger> though now i got a stack overflow
[18:21:52] <Avenger> grr
[18:22:00] <Avenger> no idea about that :0
[18:23:26] <Avenger> whoa, just loading a brand new game
[18:23:33] <Avenger> and it gives stack overflow O_o
[18:24:07] <lynxlynxlynx> which game?
[18:24:32] <Avenger> tob, and loading an irenicus game i did before without problem
[18:24:45] <Avenger> it is just in the beginning of the game
[18:25:12] <Avenger> i go with a full recompile :)
[18:25:23] <lynxlynxlynx> valgrind next
[18:25:33] <Avenger> no valgrind on windows
[18:25:57] <lynxlynxlynx> i know
[18:26:28] <Avenger> i already got git :)
[18:26:41] <lynxlynxlynx> i'll go reply to joshua
[18:32:14] <-- Beh0lder has left #gemrb
[18:32:49] <Avenger> ok, viconia joins party in bg2 too, without trouble
[18:33:46] <Avenger> and rep increases when i ditch her
[18:33:48] <Avenger> all fine
[18:37:07] <Yoshimo> Joshua? does he still get compiling issues? ;)
[18:38:33] <lynxlynxlynx> he mainly uses the ios build
[18:39:23] <Avenger> bgt on ios, that requires some patience :)
[18:39:53] <-- Avenger has left IRC (Quit: ChatZilla 0.9.87 [Firefox 6.0/20110811165603])
[18:47:54] --> Avenger has joined #gemrb
[18:48:34] <Avenger> lynx: did you test the spell disruption feedback? By looking at the code, i think it may cause duplicate messages
[18:49:02] <lynxlynxlynx> sure
[18:49:22] <lynxlynxlynx> one is for the user, one for the npc
[18:49:53] <lynxlynxlynx> i didn't check what the original does, so it may be redundant
[18:54:06] <Avenger> the one going for the pc has a sound (error14), and the verbal constant also has sound, i think
[18:54:34] <Avenger> i wonder how that works :) i admit i didn't test it
[19:22:36] <Yoshimo> i can do some more "how does the original behave" checks tomorrow if you need
[19:30:00] <Avenger> that would be good, thanks
[19:30:01] <-- Avenger has left IRC (Quit: bye!)
[20:51:23] <-- duckpunch has left IRC (Read error: Connection reset by peer)
[20:52:25] --> duckpunch has joined #gemrb
[20:59:21] <-- Vikthor has left IRC (Quit: Leaving.)
[22:05:34] <-- Micru has left IRC (Quit: Page closed)
[22:20:12] <-- lynxlynxlynx has left IRC (Remote host closed the connection)
[22:44:24] <-- Maighstir has left IRC (Read error: Connection reset by peer)
[23:23:20] <-- Yoshimo has left IRC (Ping timeout: 240 seconds)
[23:50:55] <-- duckpunch has left IRC (Read error: Connection reset by peer)
[23:51:38] --> duckpunch has joined #gemrb