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

Archive Today Yesterday Tomorrow
GemRB homepage


[01:00:28] --> brada has joined #gemrb
[01:35:06] <-- edheldil_ has left IRC (Ping timeout: 240 seconds)
[02:41:35] <-- brada has left IRC (Quit: brada)
[03:13:18] --> Eli2 has joined #gemrb
[03:14:43] --> brada has joined #gemrb
[03:15:24] <-- Eli2_ has left IRC (Ping timeout: 250 seconds)
[03:38:23] <Textmode> any life in here?
[03:46:01] <tomprince> Probably not right now, but if you ask a question and wait around (or consult the logs latter), you'll probably get a response.
[04:15:19] <-- brada has left IRC (Quit: brada)
[04:20:21] <Textmode> tomprince: I did that yesterday :3
[04:34:39] <-- Textmode has left IRC (Quit: "It was one dev, naked in a room with a carton of cigarettes, a thermos full of coffee and bourbon, and all his summoned angels.")
[04:37:30] --> Textmode has joined #gemrb
[06:36:01] <-- Lightkey has left IRC (Ping timeout: 265 seconds)
[06:43:23] <lynxlynxlynx> Textmode: on the forums for sure
[06:43:57] <lynxlynxlynx> there are several new areas, so people figured out the rendering angles and stuff like that
[06:44:51] <fuzzie> neat
[06:45:48] <lynxlynxlynx> the most recent thing that comes to mind was a guy that reused morrowing models
[06:46:09] <lynxlynxlynx> (which is not that recent at all)
[06:46:22] <Textmode> "morrowing"?
[06:46:45] <fuzzie> morrowind
[06:46:56] <fuzzie> I assume :)
[06:47:51] <Textmode> but that would be boring! :P
[06:48:25] --> Lightkey has joined #gemrb
[06:52:02] <lynxlynxlynx> came out pretty well
[06:52:12] <lynxlynxlynx> but yeah, good morning :P
[06:53:51] <lynxlynxlynx> http://www.bhaalspawn.org/3d.html <-- alternatively look this up in archive.org or similar
[06:59:47] <Textmode> archive.org claims not to have that.
[06:59:56] <Textmode> and I can't seem to find any relevant threads...
[07:02:09] <Textmode> I assume you mean the forums on Gibberlings3?
[07:06:44] <Textmode> lynxlynxlynx: I must be doing something wrong; I'm finding nothing relevant.
[07:13:54] <lynxlynxlynx> i do
[07:14:09] <lynxlynxlynx> just search for morrowind or the individual game names
[07:14:14] <lynxlynxlynx> i think it was from 3 or 4
[07:15:20] <Textmode> you mean on the forums, or the net in general?
[07:16:21] <lynxlynxlynx> g3
[07:19:06] <Textmode> searching for morrowind on the forums give me exactly one link. …on modding the party size: http://forums.gibberlings3.net/index.php?showtopic=5601
[07:19:07] <Pepelka90> Modding the party size - GemRB - The Gibberlings Three Forums
[07:19:08] <Pepelka90> »Modding the party size - posted in GemRB: Hey, I have done a manual search through the forum and cannot find this question, apologies if it has been asked before.In your opinion, will the engine ever be modable to include a larger party size, even if an unconventional method is used; Such as a follow or warp script linked to the main character or some such. I remember a great bit of coding in morrowind for instance, which had NPC's warping to the players
[07:19:48] <lynxlynxlynx> did you search the whole g3, not only our subforum?
[07:30:42] <lynxlynxlynx> another keyword would be 3ds max; perhaps maya
[07:38:28] <edheldil> Good morning
[07:42:29] <Textmode> lynxlynxlynx: We should check for inter-dimensional portals, because I'm finding nothing.
[07:43:48] <lynxlynxlynx> make sure you're not searching in a subforum or for user accounts
[07:44:00] <lynxlynxlynx> or use site: with a search engine
[07:44:12] <lynxlynxlynx> hey ed
[07:44:45] <Textmode> it *says* I'm searching the whole forums, I'm gettign results from all sort of g3 forums; they just have nothing relevant in them.
[07:45:27] <Textmode> closest i got was one thread where a guy was tossing up an old archive of stuff he made.
[07:46:45] <lynxlynxlynx> the iwd-style areas?
[07:50:01] <Textmode> no, old sprites. and theres no info, just the archive.
[08:08:08] <-- Textmode has left IRC (Quit: "It was one dev, naked in a room with a carton of cigarettes, a thermos full of coffee and bourbon, and all his summoned angels.")
[12:03:32] <lynxlynxlynx> textmode: http://forums.gibberlings3.net/index.php?showtopic=22118
[12:03:34] <Pepelka90> Other cities than Athkatla and BG... - General Mod Discussion - The Gibberlings Three Forums
[12:03:35] <Pepelka90> »Page 1 of 15 - Other cities than Athkatla and BG... - posted in General Mod Discussion: Hi all,I wonder if any of you folks has some pictures or sketches of some cities from FR other than Athkatla and BG. E.g. Crimmor, etc, etc... I would like to make one another in 3ds Max, but I´m running out of ideas. So any pictures would do (coloured, b&w,...)...As many as you have, post it please. Or send them to me via mail: kiski@centrum.skThanks in advance«
[12:03:39] <lynxlynxlynx> first result when searching for maya
[12:03:46] <lynxlynxlynx> contact valiant for any details
[13:19:27] <edheldil> given his attitude in that thread, I rather doubt he would share much
[13:23:12] <lynxlynxlynx> i don't remember, but it did happen in stages
[13:25:54] --> brada has joined #gemrb
[13:32:35] <-- brada has left IRC (Quit: brada)
[13:39:11] <edheldil> well, the last post in that thread is from June 2013. So unless he used another thread ...
[13:39:52] <edheldil> but at least he looked open to sharing Maya settings in private :/
[14:18:52] --> brada has joined #gemrb
[14:25:16] --> fizzle_ has joined #gemrb
[14:51:18] <brada> lynx: i freeed up some space and installed PST
[14:51:28] <brada> cant reproduce the journal assert
[14:51:52] <brada> the formatting is wrong for sure
[14:52:02] <brada> but that is expected as with all the journals so far
[14:53:21] <lynxlynxlynx> your change got rid of the > 0 one
[14:53:29] <lynxlynxlynx> now both trigger the text.length one
[14:53:33] <brada> sure, that i expected
[14:53:45] <brada> but i cant trigger that other one, or i have it commented out
[14:53:49] <brada> let me check that!
[14:54:32] <brada> better just stash all my pending changes
[14:55:26] <brada> ah indeed something i had staged…
[14:56:01] <brada> interesting
[14:56:22] <brada> i dont have it commented out in that code i had staged, so maybe something else in there “fixed” it
[15:01:55] <brada> this is odd
[15:02:58] <lynxlynxlynx> it's always odd at first :)
[15:03:58] <brada> lynx: does that commit fix the problem for you too?
[15:04:08] <brada> i cant *see* why it does
[15:06:44] <lynxlynxlynx> it removes the assert
[15:06:54] <lynxlynxlynx> the large inefficiency remains
[15:08:55] <brada> just out of curiosity is that at all remidied by fixing the formatting?
[15:09:14] <lynxlynxlynx> i'll see
[15:09:25] <lynxlynxlynx> however, iwd2 guirec still triggers the assert
[15:10:06] <brada> ah, then im supposing the PST “fix” was indeed just the luck of perhapps finding the “correct” overlapping content first
[15:10:28] <brada> makes way more sense than an actual fix :p
[15:11:02] <lynxlynxlynx> the values are the same again
[15:11:13] <brada> yes of course
[15:11:15] <brada> not suprising
[15:11:20] <lynxlynxlynx> L"0174: Fighter"
[15:11:25] <lynxlynxlynx> nothing with spaces :)
[15:12:14] --> edheldil_ has joined #gemrb
[15:12:17] <lynxlynxlynx> maybe states again, that number has no reason to be there
[15:12:21] <brada> i dont know if thats a good or bad sign for how easy it will be to track down :p
[15:12:53] <brada> i should rool back that last commit locally, and try to fix the real issue while i can reproduce it
[15:18:15] <lynxlynxlynx> can't find where that string would make sense
[15:18:36] <lynxlynxlynx> time for pdb
[15:18:59] <-- edheldil_ has left IRC (Ping timeout: 272 seconds)
[15:19:51] <edheldil> does not compile here :/ Error in Font.h:118
[15:20:24] <edheldil> my gcc is probably too old
[15:20:46] <brada> i doubt it
[15:20:55] <brada> line 118 is pal->release right?
[15:21:11] <brada> oh
[15:21:13] <brada> font.h
[15:21:29] <brada> oh, what is the complaint there?
[15:21:45] <edheldil> template<class KeyType> class GemRB::SpriteSheet used without template parameters
[15:22:42] <brada> oh, can we jsut add the right template parameters?
[15:22:49] <brada> SpriteSheet<ieWord>
[15:22:55] <brada> does changing it to that fix it?
[15:24:19] <edheldil> help. Same error in Font.cpp:135
[15:24:21] <lynxlynxlynx> you are on font-rewrite of the main repo, right?
[15:24:27] <edheldil> sorry
[15:24:30] <edheldil> I mean it helps
[15:24:47] <edheldil> yes
[15:26:29] <brada> how can 135 throw an error?
[15:26:34] <brada> it is just public:
[15:27:09] <brada> what version of gcc just out of curiosity?
[15:27:33] <edheldil> brada: it's in Font.cpp now, another SpriteSheet
[15:27:39] <brada> oh
[15:27:46] <brada> then i assume the same fix should apply
[15:28:00] <edheldil> 4.4.3
[15:28:05] <edheldil> built now
[15:28:09] <brada> you have commit access right?
[15:28:20] <brada> feel free to commit those changes
[15:29:36] <edheldil> yes. btw, GUIOPT in pst: only 'Return to' instead of 'Return to Game'
[15:30:10] --> edheldil_ has joined #gemrb
[15:30:36] <lynxlynxlynx> hmm, we don't seem to have a textarea content dumper exposed to python
[15:32:47] <lynxlynxlynx> oh, it's inherited - querytext
[15:33:10] <lynxlynxlynx> "0174: Fighter" seems then to be just a fragment of the contents
[15:33:26] <lynxlynxlynx> 'Levels - Character Level: 710174: Fighter: 7' <-- where i'm now
[15:33:46] <lynxlynxlynx> so just another unresolved strref
[15:33:53] <edheldil> journal did not crash, but the Day headings don't have linebreaks around and are followed by some weird numbers. The scrolling is SLOW, though
[15:34:27] <lynxlynxlynx> edheldil: try one of your saves from the later part of the game
[15:35:30] <edheldil> it is
[15:36:47] <edheldil> another bug is that it's that brothel of intelectual delights (or whatever) and the central room is filled by some wine or bush, like from Ravel's maze
[15:37:30] <wjp> is that "using SpriteSheet::Draw" necessary at all?
[15:38:04] <edheldil> (but I might be just confused, the vines seem to be correctly placed
[15:39:14] <edheldil> (that old focus bug is very annoying, though. Maybe I will find a time to stomp it down)
[15:39:39] <edheldil> later
[15:43:03] <-- edheldil_ has left IRC (Ping timeout: 272 seconds)
[15:48:16] <lynxlynxlynx> oh man, unresolved strrefs everywhere
[15:49:15] <lynxlynxlynx> i am testing with one of those empty-area saves of yours (180 something)
[15:53:07] <brada> wjp: sure is necessary, but only when we actually can draw. seems we need to do better at figuring that out ahead of time
[15:53:42] <brada> ive known that for a long time
[15:53:51] <brada> but havent yet worried about it
[15:54:02] <brada> now that its a problem we can worry about it
[15:54:26] <brada> and ed: thats exactly the points lynx and i were discussing already :p
[15:56:13] <brada> wjp: did you ever look to see if that ContentAtPoint commit was entirely sane?
[15:56:29] <brada> specifically I wasnt sure the best container to use
[15:56:49] <brada> https://github.com/gemrb/gemrb/commit/27ebb6e511b103504900db32e3e017cba8bc0ea7
[15:56:51] <Pepelka90> TextContainer: switch to a sorted layout container · 27ebb6e · gemrb/gemrb · GitHub
[15:56:52] <Pepelka90> »gemrb - Engine Made with preRendered Background«
[16:00:03] <brada> now im trying to think of the best way to optimize font::print and im supposing we just get the screen clip from the video driver to test. does that sound good?
[16:00:31] <wjp> brada: by "necessary", I mean the actual "using" declaration in Font.h
[16:01:13] <brada> oh, I *think* it is. i dont know why i would have put it there if its not
[16:01:13] <wjp> and, no, I hadn't looked at that commit
[16:01:32] <brada> i mean there are surly other ways around the issue
[16:02:03] <wjp> (just drop the "using" line entirely?)
[16:02:30] <brada> that will give a warning, no?
[16:03:38] <brada> i guess not. trying to remember why that is there then
[16:04:46] <brada> well if it doesnt need to be there feel free to remove it
[16:06:24] <wjp> I'm trying to figure out if that inherited version should ever be called directly from outside of GlyphAtlasPage
[16:09:50] <lynxlynxlynx> looks like the readdition of strref support to the textarea append method was not done properly
[16:10:03] <brada> sorry :(
[16:11:36] <lynxlynxlynx> it's a combination of issues
[16:11:47] <lynxlynxlynx> first you removed the ability to specify lines
[16:11:52] <lynxlynxlynx> but didn't clean up the users
[16:12:17] <lynxlynxlynx> now the remaining line info is passed as a flag, so strref display is turned on
[16:12:45] <lynxlynxlynx> all those -1 bit back
[16:14:44] <brada> well that sounds like an easy fix at least
[16:15:08] <lynxlynxlynx> tedius but easy, yes
[16:24:45] --> edheldil_ has joined #gemrb
[16:29:54] <-- edheldil_ has left IRC (Ping timeout: 258 seconds)
[17:00:42] <brada> i thought std::map was sorted by key. wondering why lookup is so slow in Font::GetGlyph. it doesnt particularly matter, because a better optimization is to not try to print offscreen (which im working on), but if there is an easy way to boost the glyph lookup that would also be a huge boon.
[17:09:01] <wjp> std::map is usually a tree of some kind
[17:11:37] <brada> well see if further optimization proves necessary
[17:12:11] <brada> i should maybe put a “fixme” or something there in case somebody wants to look at it
[17:13:13] <brada> this optimization i jst made is really fast, but i have a bug in it woewhere…
[17:13:44] <brada> and actually i think it exposed a bug elsewhere
[17:13:54] <brada> which may be related to the asserts lynx is still seeing
[17:54:06] <brada> it should be relatively easy to optimize glyph lookup too
[17:54:23] <brada> i mean just allocate an array/vector for each page then have the character be the index
[18:17:27] <-- fizzle_ has left #gemrb
[18:54:02] <brada> lynx: i just pushed a slew of bug fixes (I think). id like to think that assert is dead now, but… ?
[18:54:26] <lynxlynxlynx> perfect, i have time again, just ended a meetin
[18:54:27] <lynxlynxlynx> g
[18:55:31] <brada> well that i++ should be in the if, but wont break anything outside of it :/
[18:56:29] <lynxlynxlynx> iwd2 still no go
[18:57:59] <lynxlynxlynx> L"ighter"
[18:58:11] <lynxlynxlynx> it seemed to have ate an F
[19:03:51] <lynxlynxlynx> no debug warnings
[19:03:54] <-- brada has left IRC (Read error: Connection reset by peer)
[19:04:32] --> brada has joined #gemrb
[19:11:07] <-- brada has left IRC (Ping timeout: 245 seconds)
[19:31:42] --> brada has joined #gemrb
[19:32:04] <brada> downloading IWD2…
[19:32:21] <brada> looks like thats the best way to deal with this
[19:32:42] <brada> probably wont have time till this weekend to do much
[19:41:35] <lynxlynxlynx> it goes haywire very early
[19:41:47] <lynxlynxlynx> this is just the second line
[19:42:06] <lynxlynxlynx> previous one was colored
[19:42:31] <lynxlynxlynx> if you colorise a title in the shared guirec, perhaps you can reproduce in bg2
[19:42:34] <lynxlynxlynx> i'll just go try it
[19:49:56] <lynxlynxlynx> no, doesn't care
[19:59:07] <lynxlynxlynx> oooh, finally a normal crash :)
[20:00:31] <lynxlynxlynx> in vfs no less
[20:04:07] <brada> oh?
[20:05:11] <lynxlynxlynx> crashes on a snprintf line, but that's frame 2, so it's in glibc
[20:05:23] <lynxlynxlynx> one of the value params is null, so that's probably the cause
[20:05:45] <lynxlynxlynx> seems to have constructed the name fine, however the directory does not exist
[20:05:53] <lynxlynxlynx> DirectoryIterator::GetFullPath
[20:06:12] <lynxlynxlynx> haven't looked further yet
[20:08:38] <lynxlynxlynx> obscure trigger (custom portraits), but this code is shared, so it's both interesting and scary
[20:11:23] <lynxlynxlynx> eh, you'll have to change this for sounds to work again anyway, i'll just ignore it now
[20:13:57] <brada> sure, make a note of it and ill get around to it
[20:18:20] <lynxlynxlynx> it's there from the beginning
[20:18:37] <lynxlynxlynx> i just removed the bg2 part, as it was fixed (breaking others)
[20:18:59] <lynxlynxlynx> how are you supposed to get the selected choice in a list now?
[20:19:22] <lynxlynxlynx> there's more scripts you forgot to change to reflect the internals
[20:26:22] <brada> that was working at some point… let me look to see
[20:26:38] <brada> i mean it obviously works to some extent since dialog works
[20:28:00] <brada> its just the Value variable that is set to an index (same as before, no?)
[20:29:19] <brada> and it appears to also set a variable by name of “VarName” to Value as well
[20:29:48] <brada> looks like VarName defaults to “Selected”
[20:30:09] <brada> pretty sure i jsut attempted to copy how it was done before for the most part
[20:31:01] <lynxlynxlynx> QueryText used to return that
[20:31:52] <brada> did it?
[20:32:07] <brada> that would be news to me
[20:33:03] <brada> i cant see how it would looking at master
[20:33:17] <brada> oh i do see
[20:33:49] <brada> well, if thas what we want that is easy to do now as well
[20:34:33] <brada> just seems odd to have QueryText only ever return a selection
[20:34:50] <brada> id at least give it a parameter...
[20:36:49] <lynxlynxlynx> you have to populate the list manually anyway, so the full content is useless
[20:37:31] <lynxlynxlynx> also, when replying, there's a missing newline
[20:38:24] <brada> but from a design standpoint its awkward… anyway put it on the list
[20:38:27] <lynxlynxlynx> lynxlynx.info/bugs/dialognewlines.jpg
[20:38:47] <lynxlynxlynx> 3 separate issues there
[20:39:44] <lynxlynxlynx> 1. only monologues are separated (not the two replies); 2. the journal updating doesn't have any spacers; 3. the ending state should also have one
[20:40:18] <lynxlynxlynx> http://people.umass.edu/logic/nalia1.jpg <-- the original was sometimes excessive
[20:40:35] <lynxlynxlynx> http://www.shsforums.net/uploads/monthly_05_2009/post-11141-1241525455.jpg
[20:43:55] <brada> wow… thats a case of not wanting to match the original IMO
[20:44:04] <brada> and do we even match it now?
[20:44:23] <lynxlynxlynx> to the other extrene
[20:44:26] <lynxlynxlynx> extreme
[20:45:05] <brada> but yes, surely we want space between replies
[20:47:26] <lynxlynxlynx> ooh, it's even wierder
[20:47:40] <lynxlynxlynx> 3. does seem to put a new line after itself
[20:48:07] <lynxlynxlynx> however, regular stuff that happens later, like pause feedback, overwrites it, not just appends after it
[20:48:10] <brada> it does, but it puts it in the selectoptions container
[20:48:19] <brada> i guess we shoudl put it in the other
[20:48:33] <lynxlynxlynx> it's noticeable if you pause after a dialog, since it jumps
[22:08:59] --> raevol has joined #gemrb
[22:19:42] <-- lynxlynxlynx has left IRC (Remote host closed the connection)
[23:24:11] <brada> edheldil: that last commit should drastically improve performace there
[23:41:43] --> edheldil_ has joined #gemrb
[23:44:09] <brada> and that commit should optimize even more
[23:44:27] <brada> no fps drop for me anymore
[23:46:05] <brada> of course it seems that I have a pretty intelligent compiler since thus far all performance issues we had delt with on this front had disapeared in release builds.
[23:46:33] <-- brada has left IRC (Quit: brada)
[23:54:18] <-- edheldil_ has left IRC (Ping timeout: 250 seconds)