#gemrb@irc.freenode.net logs for 8 Oct 2014 (GMT)

Archive Today Yesterday Tomorrow
GemRB homepage

[00:19:08] --> brada has joined #gemrb
[00:20:10] --> raevol has joined #gemrb
[01:14:28] <-- exultbot has left IRC (signing off...)
[01:15:41] --> exultbot has joined #gemrb
[01:15:41] --- Topic for #gemrb is: GemRB 0.8.1 | http://gemrb.org | Something wrong? State your exact version and CHECK THE GEMRB LOG | Be wary of your thoughts for there are Illithid present: http://log.usecode.org/gemrblog.php
[01:15:41] --- Topic for #gemrb set by lynxlynx!~quassel@sourcemage/warlock/lynxlynxlynx at Sat May 3 14:59:38 2014
[01:28:34] --> brada has joined #gemrb
[02:14:47] <-- brada has left IRC (Quit: brada)
[02:27:17] --> brada has joined #gemrb
[03:13:44] <-- brada has left IRC (Quit: brada)
[03:13:44] --> Eli2 has joined #gemrb
[03:14:45] <-- xrogaan has left IRC (Ping timeout: 246 seconds)
[03:15:32] <-- Eli2_ has left IRC (Ping timeout: 260 seconds)
[03:15:39] --> xrogaan has joined #gemrb
[03:37:54] --> brada has joined #gemrb
[04:48:09] <-- brada has left IRC (Quit: brada)
[06:39:12] <-- Lightkey has left IRC (Ping timeout: 272 seconds)
[06:43:35] --> fizzle has joined #gemrb
[06:51:39] --> Lightkey has joined #gemrb
[07:10:41] --> lynxlynxlynx has joined #gemrb
[07:10:41] <-- lynxlynxlynx has left IRC (Changing host)
[07:10:41] --> lynxlynxlynx has joined #gemrb
[07:10:41] --- ChanServ gives channel operator status to lynxlynxlynx
[07:44:47] <edheldil_> This is a nice bit of RE: http://www.zachtronics.com/yoda-stories/
[07:44:48] <Pepelka90> Reverse Engineering Star Wars: Yoda Stories
[07:46:36] <fuzzie> I was impressed at how easily he identified the flags.
[07:46:58] <fuzzie> I never thought of that.
[07:48:35] <edheldil_> thought of what? Were you looking at yoda stories as well?
[07:48:55] <fuzzie> yeah, so I did the same thing 4 years ago.. :-)
[07:49:04] <edheldil_> hehe
[07:50:12] <edheldil_> I have never seen the game, but just looking at the first screenshot I see the familiar ints :)
[07:50:35] <fuzzie> I didn't write it up so nicely though, which is the imo impressive bit. (I e-mailed him a link to my stuff, he was amused.)
[07:50:48] <edheldil_> too bad he managed it, I would love to try it myself :)
[07:51:21] <fuzzie> I'm sure I could make a list of dorky small things I'd like to see REed. ;-)
[07:51:33] <fuzzie> Alas, I suspect few (or none) of them are Star Wars ish.
[07:52:19] <fuzzie> I'm doing an RE (well, "Binary and Malware Analysis")) course at university at the moment and it's really making me think about all the skills (like this peering-at-files stuff) which I think are essential but no-one really knows.
[07:55:44] <fuzzie> Unfortunately all the puzzles I have lying around are very evil ones intended for CTF use. :)
[07:55:51] <fuzzie> I guess there must be better ones. I don't know.
[07:58:16] <fizzle> fuzzie: how about now...? (nope, not going away :P )
[07:59:08] <fuzzie> I am here and I have time!
[07:59:18] <fizzle> \o/
[07:59:26] <fuzzie> as long as I don't have to speak out loud, because I have a really bad cold and I can't do better than croak :P
[07:59:47] <fizzle> I think I can get by if you type quietly
[08:00:35] <fizzle> so, I get a crash in the bg2 final battle
[08:01:05] <fizzle> it may be a scripting issue similar to that one with the hold spell (remember?) or an effect problem
[08:01:48] <fuzzie> can I reproduce it somehow..?
[08:01:59] <edheldil_> fuzzie: you have some small RE puzzles? I could play with them, especially to enhance my proggie I am making for that
[08:02:06] <fizzle> when you defeat melissan for the first time her script does a ReallyForceSpell(wingbuffet) + DestroySelf
[08:02:23] <fuzzie> edheldil_: what kind of RE? :)
[08:02:28] <fuzzie> fizzle: ah agh :(
[08:02:44] <fizzle> the wingbuffet effect, however, needs the caster object for determining the direction
[08:02:59] <fizzle> and by that time, she's already gone...
[08:03:03] <edheldil_> fuzzie: game data formats
[08:03:32] <fuzzie> edheldil_: then, yes, I probably have some useful examples, will try and keep that in mind
[08:03:58] <fizzle> I've patched it over locally by changing the effect coordinates
[08:04:14] <fizzle> but I'm not sure whether that's a valid solution
[08:06:43] <-- raevol has left IRC (Quit: Leaving)
[08:08:58] <edheldil_> btw, that RE wiki is unmaintained? I asked for an account some time ago to add info on DS and Lionheart, but have never got any reply
[08:10:25] <fuzzie> hm
[08:11:01] <fuzzie> you asked using their form thing?
[08:17:16] <edheldil_> Can't remember. I will look for that form
[08:18:01] <edheldil_> eh... Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /home/mdrueing/public_html/rewiki.regengedanken.de/htdocs/w/includes/MagicWord.php on line 739
[08:19:39] <fuzzie> usually I would advocate the moddingwiki if you just want to put info up
[08:19:56] <fuzzie> but it's for DOS games and not modern ones, alas :-p
[08:21:21] <fuzzie> it does look totally broken :-/
[09:00:46] <edheldil_> thanks for the moddingwiki tip
[09:18:57] <fuzzie> as I discussed elsewhere, I've been learning about dynamic taint analysis recently
[09:19:30] <fuzzie> which has promising applications in matching file formats to the bits of code using them
[09:20:58] <fuzzie> (you run a binary under dynamic analysis, "taint" each part of some piece of input by "colouring" it, and then keep track of the colours of registers/memory, and thus see in which pieces of code each piece of data ends up being copied/used)
[11:02:17] <-- lynxlynxlynx has left IRC (Ping timeout: 260 seconds)
[11:09:20] --> lynxlynxlynx has joined #gemrb
[11:09:20] --- ChanServ gives channel operator status to lynxlynxlynx
[11:11:07] <-- Drakkar has left IRC (*.net *.split)
[11:11:07] <-- kujeger has left IRC (*.net *.split)
[11:11:15] --> Drakkar has joined #gemrb
[11:11:29] --> kujeger has joined #gemrb
[11:42:46] <fizzle> some more timing-related badness: the final textscreens sometimes overwrite each other
[11:43:10] <fizzle> ie, the next textscreen is called before the previous one has been shown
[12:11:09] <lynxlynxlynx> is the action marked as blocking?
[12:15:09] <fizzle> TextScreen isn't, but SmallWait is
[12:15:32] <fizzle> and that always comes between
[12:54:32] <lynxlynxlynx> do we know for sure it shouldn't be?
[12:55:05] <fizzle> heh, found the problem
[12:55:11] <fizzle> not sure how to fix it though
[12:55:19] <lynxlynxlynx> action execution order is scary to me
[12:55:24] <fizzle> it's an area script
[12:55:36] <fizzle> and ProcessAction is called twice
[12:56:26] <fizzle> once in Update() and once in UpdateScripts()
[12:56:46] <fizzle> so the SmallWait does block but then gets run over right away
[12:58:13] <fizzle> that might also be the cause of the problem with the hold spell, now that I thin about it
[12:58:46] <fizzle> maybe the ProcessActions call in Map::UpdateScripts needs to go?
[13:01:20] <lynxlynxlynx> another one for fuzzie
[13:01:31] <lynxlynxlynx> what's the problem with hold though?
[13:02:12] <fizzle> it was one of those facing your inner demons quests
[13:02:45] <fizzle> the demon cast a hold spell on the party and was supposed to cancel that once the quest was over
[13:02:51] <fizzle> but the cancelling bit didn't work
[13:03:02] <lynxlynxlynx> hell trials?
[13:03:07] <fizzle> yea
[13:03:18] <lynxlynxlynx> doesn't that use makeunselectable?
[13:04:02] <fizzle> I don't remember specifics, I'm afraid, just that the undo spell didn't manifest
[13:04:46] <lynxlynxlynx> but the issue is still there?
[13:05:08] <fizzle> certainly, we didn't find out how to fix it back then
[13:06:11] <fizzle> well, dropping that call certainly fixes the text screens not showing up
[13:08:58] <fizzle> hm, maybe it fixes the wingbuffet crash, too... ?
[13:12:34] <fizzle> hrm, no it doesn't
[13:13:28] <fizzle> but I'll try to find my hell trials save
[13:22:00] <fizzle> hm, no, that's still broken as well
[13:22:05] <fizzle> pity
[13:31:22] <edheldil_> eh, too bad, I have tried to compile camoto, but it needs a too new WX and my patience with it is growing thin :/
[13:55:06] <-- edheldil_ has left IRC (Remote host closed the connection)
[13:57:16] --> edheldil has joined #gemrb
[13:57:17] --- ChanServ gives channel operator status to edheldil
[14:09:36] <-- edheldil has left IRC (Remote host closed the connection)
[14:12:16] --> edheldil has joined #gemrb
[14:12:16] --- ChanServ gives channel operator status to edheldil
[14:23:00] --> brada has joined #gemrb
[14:57:32] <-- fizzle has left #gemrb
[16:48:52] --> Mechanimal has joined #gemrb
[17:03:12] --> Yoshimo has joined #gemrb
[17:43:38] <-- Mechanimal has left IRC (Ping timeout: 272 seconds)
[17:55:19] --> Mechanimal has joined #gemrb
[18:18:55] --> edheldil_ has joined #gemrb
[18:35:27] <-- Yoshimo has left IRC (Quit: Yoshimo)
[19:07:03] <lynxlynxlynx> brada: do you have anything else in the works or can full testing commence?
[19:07:29] <brada> go for it
[19:07:39] <brada> the only thing i would be working on is if a bug comes up
[19:07:51] <brada> but there are no known ones atm
[19:09:34] <lynxlynxlynx> well
[19:09:45] <lynxlynxlynx> i found one within the minute
[19:09:50] <brada> heh
[19:10:01] <lynxlynxlynx> loading tips are now force line-broken
[19:10:33] <lynxlynxlynx> which means they are not displayed fully while loading, but you can see them in the message window if you have subtitles on
[19:11:03] <brada> it must be for only some loading tips then
[19:11:13] <brada> or i just didnt notice
[19:11:18] <brada> they looked fine tho :/
[19:11:28] <lynxlynxlynx> maybe you just got the short ones
[19:11:41] <lynxlynxlynx> didn't you change the label to me single line on purpose at one point?
[19:11:51] <brada> what do you mean by “force line broken”?
[19:12:15] <brada> for the loading tips?
[19:12:40] <brada> i know i was playing around with that when i was trying to figure out why our label alignments were broken
[19:13:08] <lynxlynxlynx> lynxlynx.info/bugs/loadingtipline.jpg
[19:13:31] <lynxlynxlynx> the "dies" line was missing
[19:13:42] <brada> but it turned out to be that some labels are “too small” for their text so the vertical alignment calculation should have been negative which we werent doing
[19:14:15] <brada> oh you arent talking about the loading screen?
[19:14:22] <lynxlynxlynx> i am
[19:14:28] <brada> oh
[19:14:29] <brada> i see
[19:14:34] <brada> on loading screen its missing
[19:14:40] <brada> gotcha
[19:14:49] <lynxlynxlynx> yes, this just shows why
[19:15:05] <brada> so the original has a newline there eh? how odd
[19:15:08] <lynxlynxlynx> ideally the subtitle would be wrapped normally
[19:15:19] <fuzzie> (I hate action execution order)
[19:16:13] <lynxlynxlynx> 47110 is the string and yes, the break is embedded
[19:16:39] <lynxlynxlynx> ohai
[19:18:22] <brada> thats crazy lol. why would they put a newline in that?!
[19:18:46] <lynxlynxlynx> probably so it fits into the label? it has the bigger font
[19:19:05] <lynxlynxlynx> and something is different from the original in the dialog ending
[19:19:13] <brada> sure, but i mean what is wron with regular text wrapping :p
[19:20:01] <lynxlynxlynx> after you click to end, it appears as if nothing happens (though it did); i suspect the original didn't leave the text top aligned
[19:20:04] <brada> so likely yes, that label may have the “single line” flag set
[19:20:08] <brada> so hopefully an easy fix
[19:21:07] <brada> ill have to look at it, but i didnt have any problems with the minsc dialog at the beginning i was testing things with
[19:21:56] <brada> or it was that last min change to accommodate a line space…
[19:22:17] <brada> also probably trivial to fix (hopefully)
[19:23:10] <lynxlynxlynx> there's also an extra line between the choices, but that was intentional?
[19:23:23] <brada> yes
[19:23:26] <brada> that was intentional
[19:23:32] <brada> there is a todo about making it optional
[19:23:43] <brada> but it was so difficult to select anything on ios/android
[19:23:58] <brada> and even with a moue sometimes i would misclick :p
[19:24:16] <fuzzie> (keyboard!)
[19:24:27] <brada> ha ha no dice on android/ios tho
[19:24:45] <brada> i mean you techniclly can use the virtual keyboard for that but it covers the dialog area
[19:26:29] <lynxlynxlynx> OpenKitInfoWindow is broken, str+int
[19:26:52] <lynxlynxlynx> TextArea.SetText ("[p]" + text + "[/p]") <--
[19:27:11] <brada> ah
[19:27:15] <lynxlynxlynx> a strref there
[19:27:21] <brada> yeah
[19:27:41] <lynxlynxlynx> why does it need the wrap anyway?
[19:28:27] <brada> to avoid drop caps :/ obviously need to make a better way to handle that
[19:29:02] <brada> thats the one TA that has a problem tho, because it sets its cap fort to the states
[19:29:14] <brada> all the others (i have seen) work fine
[19:29:23] <lynxlynxlynx> no, this is a different window
[19:29:39] <brada> oh, then i guess that isnt needed
[19:29:58] <brada> i probably mistakenly inserted it for the GUIREC cap problem
[19:30:25] <brada> remove it and see i guess
[19:32:04] <lynxlynxlynx> lynxlynx.info/bugs/ifapplicable(.jpg
[19:32:27] <lynxlynxlynx> nastier
[19:32:58] <brada> the () ?
[19:34:22] <brada> something odd with those glyphs i imagne
[19:34:39] <brada> they probably overflow into neighboring lines
[19:34:53] <brada> so that would throw off their position calculation
[19:36:32] <brada> btw are you making a list?
[19:37:24] <lynxlynxlynx> yes
[19:38:08] <lynxlynxlynx> can't find a pic from the original, but it looks like only half of the glyph is drawn
[19:39:09] <lynxlynxlynx> item description caps misscroll now
[19:39:11] <brada> yeah, it does
[19:39:29] <brada> but i think that would also be cause by the line overflow
[19:40:14] <brada> it looks too hight to me as well
[19:40:19] <brada> but im not sure
[19:42:24] <lynxlynxlynx> perhaps
[19:43:08] <lynxlynxlynx> the curvature matches, but it's easiest to check an original pic
[19:43:22] <brada> yeah, i can check the original
[19:46:58] <lynxlynxlynx> iwd2 is broken, as the portrait window doesn't load crashing the whole ui
[19:47:57] <brada> thats disapointing… any idea what happened?
[19:48:45] <lynxlynxlynx> looking into it
[19:49:04] <lynxlynxlynx> got a number or none instead of an object
[19:49:28] <brada> is that the same window as the message window?
[19:51:05] <lynxlynxlynx> same pack
[19:51:26] <lynxlynxlynx> nothing stands out immediately from your changes
[19:51:26] <brada> could be that then
[19:51:41] <brada> or soething i did in the C++ side of the guiscripts
[19:54:22] <lynxlynxlynx> gemrb/plugins/GUIScript/GUIScript.cpp:1297 crashes when cStr is null
[19:54:28] <brada> if its not even loading firs, it could be changes to the loadscreen as well
[19:54:32] <lynxlynxlynx> (tried customizing scripts in iwd1)
[19:55:51] <lynxlynxlynx> and more, the next save has no gui either, but with a new error
[19:55:53] <lynxlynxlynx> [Python/ERROR]: File "../gemrb/GUIScripts/GUICommonWindows.py", line 1461, in UpdatePortraitWindow
[19:55:53] <lynxlynxlynx> [Python/ERROR]: FlagLabel.SetText(flag.ljust(3, blank))
[19:55:53] <lynxlynxlynx> [Python/ERROR]: TypeError: must be char, not str
[19:56:00] <lynxlynxlynx> icons again
[19:57:59] <lynxlynxlynx> guirec also has odd problems with them
[19:58:13] <brada> oh?
[19:58:17] <brada> in BG2?
[19:58:27] <brada> or in IWD?
[19:58:32] <lynxlynxlynx> iwd
[19:58:47] <lynxlynxlynx> btw, there the ( is normal and with the same line height
[19:59:31] <brada> hmmm
[19:59:39] <brada> what font do you know?
[20:00:35] <lynxlynxlynx> no
[20:00:52] <lynxlynxlynx> its journal has no newlines at all
[20:01:09] <lynxlynxlynx> and i just triggered another crash
[20:01:47] <lynxlynxlynx> oh, on purpose
[20:01:50] <lynxlynxlynx> TextContainer.cpp:260: virtual void GemRB::TextSpan::DrawContentsInRegions(const Regions&, const GemRB::Point&) const: Assertion `charsPrinted < text.length()' failed.
[20:02:19] <brada> hmmm
[20:02:29] <lynxlynxlynx> they're equal at 239
[20:02:54] <brada> sure. and if you took that out it would run and might even look fine
[20:03:17] <brada> but really if its done printing then it shouldnt have anymore rgns to process so thats a problem
[20:03:50] <brada> so must have a minor bug in the string sizing code
[20:06:50] <Pepelka90> [commit] berenm: Use find_package instead of including the FindPythonLibs file which does not work. https://github.com/gemrb/gemrb/commit/cfca58f60bb77928c9a48387c01928c15ee27c96
[20:06:52] <Pepelka90> [commit] lynxlynxlynx: Merge pull request #31 from berenm/master https://github.com/gemrb/gemrb/commit/08cb6d9dfedd399945ee91c0c4f82c271dfaea09
[20:08:12] <lynxlynxlynx> to get this to the end, i think it would be easiest if you pulled it into a branch in the main repo, so i can work on it directly too
[20:09:29] <brada> sure, i can push up a copy tonight
[20:10:15] <brada> except...
[20:10:30] <brada> we probably need to disable the bot that is going to spam the channel
[20:10:43] <lynxlynxlynx> bg1 shows one of the same guirec icon problems as iwd1 - the dash is misaligned, about a line too low
[20:11:14] <lynxlynxlynx> the bot tracks branches too? I'm not sure
[20:11:33] <lynxlynxlynx> just do it later, we'll be asleep anyhow
[20:12:55] <lynxlynxlynx> ... and its journal also has misplaced newlines
[20:12:58] <brada> he he
[20:13:16] <brada> there must be a rouge newline or something
[20:14:11] <lynxlynxlynx> also, perhaps not new, but noticeable - the char name in guiinv does not render capital chars properly
[20:14:21] <lynxlynxlynx> about half of the glyph is missing
[20:15:06] <lynxlynxlynx> actually, all glyph that is not below the line height of the smallcaps text is missing
[20:16:08] <lynxlynxlynx> lynxlynx.info/bugs/thetwocapitals.jpg
[20:17:56] <brada> it looks like probably the same bug as the ()
[20:19:50] <lynxlynxlynx> all three could be the same
[20:30:12] <brada> quite possibly
[20:59:10] <-- brada has left IRC (Quit: brada)
[21:23:32] <-- nutron has left IRC (Read error: Connection reset by peer)
[21:54:55] <Lightkey> Dark-Star was on IRC in July this year, for all of 33 minutes
[21:56:03] <Lightkey> and who crashed the Yoda Stories RE site? :-/
[22:00:52] <fuzzie> it should still work
[22:01:25] <fuzzie> I'm surprised to find so many people caring. :-P
[22:04:38] <Lightkey> if you look in the #scummvm logs, I actually broke one rule by asking about that years ago because I already got it from a jumble sale :p
[22:11:54] <Lightkey> No match for "WWW.ZACHTRONICS.COM".
[22:17:16] <fuzzie> ah, 1&1 are being ddosed, again
[22:19:17] <Lightkey> it works fine without the stupid www. but that stupidly redirects to www.zach...
[22:23:34] <gembot> build #699 of cmake clang++ is complete: Failure [4failed minimal test] Build details are at http://buildbot.gemrb.org/builders/cmake%20clang%2B%2B/builds/699 blamelist: Brad Allred <bradallred@me.com>
[22:25:55] <gembot> build #696 of cmake g++-4.2 is complete: Failure [4failed compile] Build details are at http://buildbot.gemrb.org/builders/cmake%20g%2B%2B-4.2/builds/696 blamelist: Brad Allred <bradallred@me.com>
[22:28:16] <gembot> build #693 of cmake g++-4.4 is complete: Failure [4failed compile] Build details are at http://buildbot.gemrb.org/builders/cmake%20g%2B%2B-4.4/builds/693 blamelist: Brad Allred <bradallred@me.com>
[22:34:16] <-- edheldil_ has left IRC (Ping timeout: 260 seconds)
[22:34:36] --> edheldil_ has joined #gemrb
[22:38:52] <gembot> build #671 of cmake g++-4.5 is complete: Failure [4failed minimal test] Build details are at http://buildbot.gemrb.org/builders/cmake%20g%2B%2B-4.5/builds/671 blamelist: Brad Allred <bradallred@me.com>