#gemrb@irc.freenode.net logs for 18 Aug 2012 (GMT)

Archive Today Yesterday Tomorrow
GemRB homepage


[00:00:06] <Textmode> working on scaling the interface?
[00:16:29] <traveler> me? i'm lowly whiner
[00:17:21] <traveler> i've meant that it improved since last time i checked
[00:19:09] <Textmode> ah.
[00:19:13] * Textmode huggles traveler :3
[00:25:08] <traveler> i mostly add questionable content to http://gemrb.sourceforge.net/wiki/doku.php?id=todo&#baldur_s_gate under Baldur's Gate section
[00:38:05] <Textmode> traveler: hey, every little bit helps :3
[00:38:29] <Textmode> is there a bot here that can deliver tells?
[00:39:13] <traveler> http://log.usecode.org/gemrblog.php ?
[00:39:34] <traveler> this is a log which usually is read
[00:39:46] <traveler> or I din't understood you
[00:39:51] <Textmode> I was thinking more of a tell-bot.
[00:40:31] <Textmode> but it doesn't really mater.
[01:18:15] <-- Textmode has left IRC (Quit: Ex-Chat)
[01:26:36] --> brada has joined #gemrb
[01:26:50] <brada> trave;er: that is due to your font mod
[01:27:01] <brada> textmode: we have a scaling interface
[01:38:58] <-- brada has left IRC (Quit: brada)
[01:42:14] <traveler> could be
[01:43:13] <traveler> I think that it was aligned previously though
[01:43:32] <traveler> *before wild counter appeared that is
[01:57:48] --> brada has joined #gemrb
[01:59:16] <brada> yeah the counters and some other things like the lvl up symbol are displayed 1 line too low
[02:07:46] <traveler> level symbol is different thing
[02:07:57] <traveler> i meant item counter in stores in ()
[02:08:16] <traveler> which is no more
[02:09:14] <brada> ?
[02:10:10] <traveler> http://img442.imageshack.us/img442/328/201208171439591440x900s.png
[02:10:46] <brada> i saw that. i still dont know what you are talking about
[02:11:03] <brada> the oly item counter i see is the one on the item icons
[02:11:10] <brada> which is shifted down a line
[02:11:25] <traveler> yes
[02:11:47] <traveler> well i thought that numbers in () were quantity of items in store
[02:12:14] <brada> oh those
[02:12:22] <brada> were those not there bofore?
[02:12:51] <brada> text is still not getting clipped there
[02:13:10] <brada> which is odd since wjp reverted that
[02:13:15] <traveler> this is latest
[02:13:17] <traveler> http://img814.imageshack.us/img814/7822/201208180155171440x900s.png
[02:13:26] <traveler> this one is old http://img442.imageshack.us/img442/328/201208171439591440x900s.png
[02:13:29] <-- traveler has left IRC (Quit: Page closed)
[02:14:02] --> traveler has joined #gemrb
[02:14:29] <brada> oh ok so the clipping is fixed at least
[02:14:50] <traveler> yes
[02:15:32] <traveler> wild counters dissappeared too. and you say that misaligned text is from my font. could be.
[02:16:00] <brada> well all i know is i dont get that issue
[02:16:05] <brada> or at least i didnt
[02:16:09] <brada> havent checked BG1 today
[02:16:27] <traveler> ok
[02:16:46] <brada> it could be an issue of that font having a single character that causes the line height to be extra large
[02:17:04] <traveler> wouldn't it be visible in other places?
[02:17:35] <traveler> and 'that font' is said to be from tosc albeit not used by default
[02:17:48] <traveler> *bigger version of default one
[02:18:00] <traveler> if that makes sense at all
[02:18:05] <brada> what i mean is that our line height is based off the tallest character in the font
[02:19:08] <brada> you would have to look at the font in some kind of editor
[02:19:52] <traveler> i get it, but only place i see such thing is in store, i would thing that something similar would occur in more places if font would be artificially high
[02:20:33] <brada> you are probably right
[02:20:42] <brada> tho i dont know what fonts are used where in BG
[02:20:57] <brada> anyway i have to go
[02:20:58] <traveler> hah
[02:21:10] <-- brada has left IRC (Quit: brada)
[02:21:26] <traveler> i will check inn now as alco. had some overlapping too.
[02:28:50] <traveler> http://img26.imageshack.us/img26/3329/201208180427251440x900s.png small gfx glitch in belching dragon (nashkel)
[02:29:41] <traveler> later!
[02:34:10] <-- traveler has left IRC (Ping timeout: 245 seconds)
[02:58:40] --> Canageek has joined #gemrb
[03:12:48] --> brada has joined #gemrb
[03:16:27] <-- brada has left IRC (Client Quit)
[03:46:12] <-- Cable_ has left IRC (Ping timeout: 276 seconds)
[03:47:20] --> brada has joined #gemrb
[03:51:31] <-- brada has left IRC (Ping timeout: 246 seconds)
[03:59:17] --> Cable_ has joined #gemrb
[04:17:25] --> brada has joined #gemrb
[04:23:43] <-- brada has left IRC (Ping timeout: 246 seconds)
[06:25:50] <-- kida_laptop has left IRC (Quit: 전 이만 갑니다.)
[06:26:07] --> kida_laptop has joined #gemrb
[06:48:14] --> kettuz has joined #gemrb
[07:14:10] --> lynxlynxlynx has joined #gemrb
[07:14:10] <-- lynxlynxlynx has left IRC (Changing host)
[07:14:10] --> lynxlynxlynx has joined #gemrb
[07:14:10] --- ChanServ gives channel operator status to lynxlynxlynx
[07:27:33] <-- Canageek has left IRC (Ping timeout: 252 seconds)
[07:35:14] --> Yoshimo has joined #gemrb
[08:11:14] <-- Yoshimo has left IRC (Quit: Yoshimo)
[08:55:30] --> Yoshimo has joined #gemrb
[10:10:05] --> traveler has joined #gemrb
[10:59:28] --> Edheldil_ has joined #gemrb
[12:23:18] <-- Edheldil_ has left IRC (Ping timeout: 268 seconds)
[13:37:58] --> wrotek_ has joined #gemrb
[13:41:09] <-- wrotek has left IRC (Ping timeout: 248 seconds)
[14:08:18] --> Canageek has joined #gemrb
[14:17:52] --> wrotek has joined #gemrb
[14:18:14] <-- wrotek_ has left IRC (Ping timeout: 256 seconds)
[14:27:27] <-- wrotek has left IRC (Ping timeout: 246 seconds)
[14:28:51] --> wrotek has joined #gemrb
[14:45:05] --> Textmode has joined #gemrb
[16:15:00] <-- traveler has left IRC (Ping timeout: 245 seconds)
[16:22:23] --> traveler has joined #gemrb
[16:22:47] <traveler> http://img546.imageshack.us/img546/3834/201208181816281440x900s.png gibberish in flaming fist reputation encounters
[16:23:02] <traveler> it's random btw
[16:25:44] <Textmode> probably a buffer overread somewhere. but I don't know enough to even begin tracking it down.
[16:29:21] <wjp> hm, if I'm counting correctly the third word ends at length 32?
[16:29:26] <fuzzie> hm, it would help if I knew what that was in English :P
[16:29:51] <fuzzie> but, yes, unterminated name field being used as string?
[16:29:59] <wjp> that would be my guess
[16:30:06] * wjp greps for char[32]'s
[16:30:54] <fuzzie> SetName kind of seems to do the right thing at a glance
[16:31:09] <fuzzie> oops, no
[16:31:27] <traveler> bad news, it isn't always replicable
[16:31:32] <fuzzie> doesn't null-terminate in strlen>32 case
[16:31:38] <wjp> it starts to, but fails to ... yes, that :-)
[16:31:42] <traveler> but it looks like when you slay lot's of them it gets worse
[16:32:27] <fuzzie> the subtle bit there is that StripLine is called /afterwards/
[16:32:58] <traveler> in english it's sorceror of flaming fist
[16:33:43] <fuzzie> and just plain null-terminating it is going to mean that StripLine fails
[16:34:16] <wjp> oh?
[16:34:18] <fuzzie> the fact that it passes the length including the null terminator to StripLine is confusing
[16:34:34] <fuzzie> but StripLine checks for \n as the last char, and \r as the next-to-last
[16:34:45] <wjp> ah, it can leave an \r, yes
[16:34:46] <Textmode> traveler: sounds like an awkward translation :/
[16:35:07] <wjp> can't think straight in this heat :-)
[16:35:17] <fuzzie> yeah, tell me abou it
[16:35:55] <lynxlynxlynx> Textmode: so goes your epic eval? :)
[16:36:12] <lynxlynxlynx> apparently the heat got me too; "how"
[16:37:33] <traveler> Textmode: mhmm, it's translation is mine, but quite literal of polish one
[16:38:04] <Textmode> lynxlynxlynx: ?
[16:38:29] <Textmode> traveler: I guess it sounds better in polish?
[16:39:11] <lynxlynxlynx> of gemrb
[16:39:47] <traveler> it sounds okay, thought i don't think sorceror is accurate description of his class (?)
[16:40:00] <wjp> "Flaming Fist sorceror" is probably how it would be phrased in English
[16:40:09] <wjp> but it's not really relevant :-)
[16:40:30] <Textmode> lynxlynxlynx: ah.
[16:41:22] <Textmode> lynxlynxlynx: tbh, I've not had enough free time to look at it as closely as I'd like; mostly I've been looking at the issue and todo lists.
[16:41:52] <lynxlynxlynx> your thoroughness is impressive
[16:42:52] <fuzzie> I'm sure you could lose your whole life to our todo lists.
[16:42:53] <Textmode> lynxlynxlynx: so far so good, but nothing really swinging me one way or the other. I'm a little bit worried about production/modding toolchains, sounds like no one is particularly happy with the state of DLTCEP, which also seems to be the prefered editor...
[16:43:36] <Textmode> I'm also kinda wondering about the state of the LUA plugin, since I like lua... edheldil was working on that, wasn't it?
[16:43:55] <lynxlynxlynx> yes, he has an unfinished branch on github
[16:44:27] <lynxlynxlynx> it would require the whole GUIScript plugin to be ported
[16:44:36] <Textmode> is there anyone specifically working on iwd2 support?
[16:44:39] <lynxlynxlynx> and the scripts, but that is crazy
[16:45:06] <Textmode> yeah, I imagine its not a small project. probably of more relevance to future productions than current support.
[16:45:18] <lynxlynxlynx> nobody specifically, but in the last release there was quite some work on iwd2 stuff from avenger and me
[16:45:34] <lynxlynxlynx> yeah, that'd be a saner approach
[16:45:47] <Textmode> I guess i'll have to break out my IWD2 discs at some point and check that out.
[16:45:48] <lynxlynxlynx> especially once we stop adding stuff to the api
[16:45:58] <Textmode> what about DLTCEP?
[16:46:33] <lynxlynxlynx> i don't know where you get the negative impression - the only sucky thing is i have to run it via wine
[16:47:05] <lynxlynxlynx> NI is much less maintained
[16:47:15] <lynxlynxlynx> bgee revived it a bit though
[16:47:31] <fuzzie> I assume NI doesn't bother with supporting any gemrb extensions?
[16:48:24] <lynxlynxlynx> i would assume the same, it's almost dead anyway
[16:48:50] <lynxlynxlynx> a port of dltcep to something cleaner would be nice eventually (even the diffs look strange ><)
[16:49:10] <traveler> boots of speed don't work- thats known, but why when oil of speed works? i heard there were in fact 3 (?) different hastes used in game with various bugs but even...
[16:49:21] <lynxlynxlynx> the other major modding tool is weidu
[16:50:29] <lynxlynxlynx> traveler: in bg1, boots of speed just set the speed to a predefined value; in bg2 they actually double it. The problem lies in the fact, that we don't have externalised walking speeds yet, but infer them from animations automatically
[16:50:50] <traveler> oh
[16:51:01] <lynxlynxlynx> the haste opcode really has 3 modes: faster walking, haste, improved haste
[16:51:18] <traveler> so it's kind of true about 3 "hastes"
[16:51:21] <lynxlynxlynx> boots use 1, oil 2
[16:51:36] <lynxlynxlynx> (if it is not done manually)
[16:52:59] <traveler> i've also heard that boots were buggy and added attacks too, even if they should not. (+ this exploit with ring if free action)
[16:53:07] <traveler> so it's a bit of can of worms with them
[16:54:40] <lynxlynxlynx> that's a data bug, so out of our scope
[16:58:36] <traveler> i would say that's good, because after such long time there is no 'correct' way to handle this. you probably must replicate old bugs in other places too already, no?
[17:07:20] <lynxlynxlynx> data bugs? sure, they crop up
[17:07:52] <lynxlynxlynx> very evident in the first bg2 plays, since i didn't use the fixpack to make debugging easier
[17:13:33] <traveler> yeah, but I thought that people could rely on engine bugs too, and you probably must replicate them?
[17:17:32] <lynxlynxlynx> sometimes that happens too, yes
[17:28:34] <traveler> Thanks for answers. I will have a lot less time and motivation (now as I have went to BG/5 Cha. and being more busy in real life) but will see how far I will prevail with testing BG1. Will like to end game properly, but only after testing most quests (not all, because without thief i have limited abilities) As of now, I have tested 99%-100% quests not requiring access to BG or Durlag's Tower (I want to do it thoroughly, so it will be
[17:29:09] <traveler> If I will went missing for a long of time and would be of any help, catch me through G3
[17:30:37] <lynxlynxlynx> a lot of those npc bugs will need retesting though
[17:30:46] <traveler> yeah
[17:30:52] <lynxlynxlynx> if you find anything new, don't forget to make a savegame
[17:31:10] <traveler> btw
[17:31:22] <traveler> npc without real dialogue option
[17:31:27] <traveler> are mute
[17:31:48] <traveler> as they whine only if dialogue is started
[17:32:45] <traveler> as courtesans for example
[17:37:08] <traveler> well, thinking of it, it's the same as with cows heh :D
[18:54:22] <traveler> *wrong string displayed if you equip armour (should be "spells disables")
[18:54:27] <traveler> *d
[18:56:05] <lynxlynxlynx> which one is it?
[18:58:43] <traveler> something like
[18:59:00] <traveler> "you don't treat me right, i'm outta town"
[18:59:01] <lynxlynxlynx> i got it
[18:59:10] <lynxlynxlynx> @8856 = ~Why do ya bother me? Can't ya see that I'm in a hurry to get outta this damn town?~
[18:59:29] <traveler> yep
[18:59:52] <lynxlynxlynx> i don't know what the original printed though
[18:59:57] <lynxlynxlynx> it definitely wasn't spells disabled
[19:00:32] <traveler> are you sure?
[19:00:48] <traveler> it's when you have dual classed warrior/mage
[19:00:53] <traveler> and you equip armour
[19:02:21] <lynxlynxlynx> there's no matching string like that
[19:02:29] <lynxlynxlynx> i guess it didn't print anything
[19:02:47] <traveler> mhm
[19:03:03] <lynxlynxlynx> it has one for pickpocketing, but that's it
[19:04:48] <CIA-96> GemRB: 03lynxlupodian * raa3142f22155 10gemrb/gemrb/override/bg1/strings.2da: bg1 has no DISABLEDMAGE string
[19:06:22] <-- barra_home has left IRC (Quit: Verlassend)
[19:07:15] <traveler> thanks.
[19:20:43] <traveler> btw,
[19:20:51] <traveler> xan sword is lost upon death
[19:20:58] <traveler> in original too
[19:23:20] <lynxlynxlynx> :)
[19:28:39] --> wrotek_ has joined #gemrb
[19:31:38] <-- wrotek has left IRC (Ping timeout: 246 seconds)
[19:37:32] <-- Canageek has left IRC (Ping timeout: 265 seconds)
[19:49:44] --> brada has joined #gemrb
[19:50:21] <brada> i have fixed the rounding error in calculating how many rows to indent after an initial
[19:50:38] <brada> unfortunately that doesnt fix BG1 from having 1 too many lines indented
[19:51:17] <brada> the initial height there is 38 and the text height is 12 and 38 / 12 rounded up is indeed 4
[19:51:39] <brada> but i think i just had an epiphany :D
[19:52:04] <brada> except all caps are probably the same height :(
[19:52:26] <brada> i thought maybe it was a simple matter of using the height for the specific char instead of maxHeight
[19:52:44] <brada> oh well. i gotta run but if anybody has ideas about it ill read in the backlog
[19:52:50] <lynxlynxlynx> 1px interline
[19:52:51] <-- brada has left IRC (Client Quit)
[20:55:06] --> brada has joined #gemrb
[20:55:21] <brada> lynx: what do you mean?
[20:55:34] <lynxlynxlynx> vertical spacing
[20:55:57] <lynxlynxlynx> that would then make a perfect 3.0
[20:57:53] <traveler> brada, most problems I had with chapter's texts were caused by not counting polish letters, not your recent work
[20:58:35] <brada> i know of a few chapter problems that happen no matter the language
[20:59:33] <brada> lynx: i think i see what you are saying
[20:59:40] <brada> 39 / 13 = 3
[21:00:27] <brada> but how and where does that apply?
[21:00:51] <lynxlynxlynx> i meant 36/12
[21:01:06] <lynxlynxlynx> 38-2x1
[21:01:40] <lynxlynxlynx> so sounds like the height it off by one if there is no vertical spacing per se
[21:07:04] <brada> well the thing is the heights used in this calculation are the maxHeight of the initial font and the maxHeight of the other font
[21:08:20] <lynxlynxlynx> maybe normal rounding would work
[21:10:00] <lynxlynxlynx> or calculating the overlap and allowing it if it is only 1px (likely no real overlap)
[21:11:12] <brada> that sounds better, but still feels wrong. not saying there is a better way
[21:11:21] <brada> i wonder how the original worked here
[21:13:01] <brada> i think it may be closer to what i said
[21:13:13] <brada> add 1 to the both font heights and we get 3
[21:13:39] <brada> maybe i should compare line height with the original and see if we are off by 1px
[21:13:55] <lynxlynxlynx> yep
[21:14:52] <-- Yoshimo has left IRC (Ping timeout: 246 seconds)
[21:17:04] <brada> indeed cahnging font height to
[21:17:16] <brada> +1 works great
[21:17:40] <brada> but im not sure where that +1 should actually go
[21:17:57] <lynxlynxlynx> looking at the first line will also show if it is line spacing or line height
[21:18:00] <-- kettuz has left IRC (Quit: Leaving)
[21:18:57] <brada> well even if it is spacing vs line height
[21:19:11] --> edheldil_ has joined #gemrb
[21:19:13] <brada> if it were spacing that puts a wrench in things
[21:19:37] <brada> im content to add 1 to all font line heights
[21:19:48] <brada> since that fixes the issue without having to refactor code
[21:21:42] <traveler> http://img521.imageshack.us/img521/9593/201208182316341440x900s.png same as with flaming fist sorcerer. last letters are random and not accounted for, so there isn't enough space for valid ones? (Alatos "Ravenscar" Thuibuld + hp meter)
[21:21:55] <edheldil_> brada: would you send me the TOB chinese patch?
[21:22:07] <lynxlynxlynx> well compare two screenshots
[21:22:12] <brada> ed: its not a patch so much as just the BAMS and a tlk
[21:22:56] <lynxlynxlynx> if there is any vertical shift you know it is height+1, otherwise the +1 should go below the bottom line
[21:23:17] <brada> lynx: yes i see how to determine which is the problem, but i dont think i or anybody else would be willing to refactor code when we can jsut as easily add 1 to the lineheight to skirt the issue
[21:23:54] <edheldil_> because it expects the exe being already patched
[21:24:38] <brada> ed: i will upload all the files i have into an archive and upload them to my server and you can see for yourself
[21:24:47] <edheldil_> ty
[21:25:03] <lynxlynxlynx> it'd be practically the same, you just don't add it for the first line
[21:28:34] <CIA-96> GemRB: 03bradallred * rae14d1584a7f 10gemrb/gemrb/core/Font.cpp:
[21:28:34] <CIA-96> GemRB: Font: fix initials_rows calculation.
[21:28:34] <CIA-96> GemRB: there was a small rounding error resulting in not enough lines indented and there was another +1 "compensating" for that error later on.
[21:29:26] <brada> lynx: line 178 of font.cpp is where the number of rows is being calculated
[21:29:45] <edheldil_> btw, brad, I have started a page at http://www.gemrb.org/wiki/doku.php?id=engine:encodings
[21:30:02] <brada> ed: very nice :)
[21:35:01] <brada> ed: http://98.202.169.168:5000/fbdownload/TOB%20Chinese.zip?dlink=2f7075626c69632f544f42204368696e6573652e7a6970
[21:36:11] <edheldil_> does not work
[21:36:40] <brada> hmm maybe i broke my port forwarding
[21:38:02] <edheldil_> ot's probably small enough to send via email
[21:38:32] <brada> ~11MB
[21:38:45] <edheldil_> hmm
[21:39:20] <brada> why must upnp be so flaky? i should just manually forward these ports
[21:41:17] <brada> oh i see router firmware update broke my integration :(
[21:41:59] <edheldil_> heh
[21:46:50] <brada> later when people arent using the internet ill try to fix it and post it for you
[22:06:27] --> Canageek has joined #gemrb
[22:15:05] <-- lynxlynxlynx has left IRC (Remote host closed the connection)
[22:22:07] <-- brada has left IRC (Quit: brada)
[23:22:30] <-- traveler has left IRC (Ping timeout: 245 seconds)
[23:29:56] <-- CIA-96 has left IRC (Remote host closed the connection)
[23:40:24] <-- edheldil_ has left IRC (Ping timeout: 268 seconds)