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

Archive Today Yesterday Tomorrow
GemRB homepage


[00:08:04] <-- edheldil_ has left IRC (Ping timeout: 272 seconds)
[00:10:15] --> edheldil_ has joined #gemrb
[00:45:02] --> brada has joined #gemrb
[00:45:30] <brada> i was right about negative line position being the problem with those glyphs
[00:45:46] <brada> if is force it to 0 it prints fine but is 1px too low
[00:46:00] <brada> so we apparently should handle it
[00:46:24] <brada> even tho it looks better the “wrong way” :p
[00:47:13] <brada> also apparently still have an extra \n in guirec
[00:49:08] <brada> working on this has given me a new appreciation for kerning btw…
[01:16:21] <-- edheldil_ has left IRC (Ping timeout: 246 seconds)
[01:22:33] <brada> and evidently we display thieving skills for non-thiefs… maybe my fault?
[01:57:45] <brada> i think i understand the newline issue
[01:58:37] <brada> when we have text like “this is text\n” then apend “\n” we correctly get 2 lines of text
[01:59:02] <brada> however, if we do “this is text” + “\n\n” we will get 3
[01:59:20] <brada> because “\n” consumes an entire line
[02:00:18] <brada> hopefully it is clear that the + in this case means 2 calls to append
[02:12:25] <brada> so an easy way we could probably save a noticable amound of memory is by not creating a new palette for each colored span in the message window
[02:12:34] <brada> palettes are > iKB right?
[02:12:38] <brada> 1
[02:13:15] <brada> maybe some other cases that could/should be shared too
[02:14:40] <brada> i see we have “resref” palettes that seem to be for sharing
[02:14:59] <brada> but that wont work here
[02:16:36] <brada> probably would help with opengl too right?
[03:02:02] <-- Drakkar has left IRC (Ping timeout: 244 seconds)
[03:09:06] --> Drakkar has joined #gemrb
[03:12:29] --> Eli2_ has joined #gemrb
[03:15:22] <-- Eli2 has left IRC (Ping timeout: 250 seconds)
[03:23:10] <brada> oh and that asser failure is (At least partially) due to not handling \r characters :/
[03:24:08] <brada> so i have 2 annoying bugs to work on, but at least i know what they are :)
[03:24:58] <brada> fixed the negative glyph printing, but it didnt fix the glyph separator character being printed a line too low in BG1/IWD
[03:25:12] <brada> i wonder what the original was doing there…
[03:25:30] <brada> but () works now
[03:26:55] <brada> and the BG1 GUIINV char names too
[03:48:34] <-- brada has left IRC (Quit: brada)
[04:07:39] --> brada has joined #gemrb
[04:11:38] <brada> at least one cause of that assert is fixed nwo
[04:16:18] <lynxlynxlynx> cool
[04:16:50] <lynxlynxlynx> there seems to be a full moon and it woke me up early :]
[04:17:05] <brada> no kidding!
[04:17:13] <brada> its nearly my bedtime
[04:19:03] <lynxlynxlynx> and for the text palettes, we could have one per game, with all the harcoded colors in it
[04:19:28] <lynxlynxlynx> the games use different ones for the same text
[04:20:13] <brada> yes. that sounds reasonable
[04:20:51] <brada> all i know is we dont need 100 palettes floating around for the Message win alone
[04:21:10] <lynxlynxlynx> sure
[04:21:41] <lynxlynxlynx> don't we already have a cache usable for that?
[04:22:09] <brada> sort of
[04:22:15] <brada> i dont think we can use it here tho
[04:22:30] <brada> im not sure tho because i didnt dig into the implementation
[04:23:04] <brada> we could use it if we made palette resources like you suggested
[04:23:11] <brada> i suppose that is what you were asking :p
[04:25:15] <lynxlynxlynx> they're only file based?
[04:26:19] <lynxlynxlynx> anyway, we have to dehardcode this stuff either way
[04:26:48] <brada> i didnt dig into the implementation, but it seemd to be “resorce” based ie using a resref in some fashion
[04:26:56] <lynxlynxlynx> a 2da would be more friendly, but a direct pal is better
[04:27:23] <lynxlynxlynx> not that scripting the creation/update from a table should be a problem
[04:28:13] <brada> sure, there are options
[04:28:30] <brada> they are based on char color tho
[04:28:48] <brada> or whatever you call the color for the feet circles
[04:29:25] <lynxlynxlynx> feet circles use only a few colors
[04:29:44] <lynxlynxlynx> but yeah, the font itself perhaps uses a full palette
[04:29:49] <brada> yes
[04:30:08] <lynxlynxlynx> i remember now that using a color picker didn't get consistent results
[04:30:08] <brada> tho maybe it doesnt need to… im not sure
[04:30:19] <lynxlynxlynx> could be just different blending perhaps?
[04:30:30] <brada> our text colors do look slightly diffrent that the original, but i never cared enought to investigate
[04:30:38] <lynxlynxlynx> it seemed like aa or blur
[04:31:12] <lynxlynxlynx> i think we'd be fine with a single color
[04:31:22] <brada> i didnt know we just got those by sampling that way
[04:31:39] <lynxlynxlynx> ttf can use only one, i guess?
[04:31:40] <brada> we didnt extract them from the binary or something?
[04:32:00] <lynxlynxlynx> not the last time i updated a value
[04:32:07] <brada> i cant remember exactly about ttf anymore
[04:32:23] <lynxlynxlynx> when making everything use the constants, i checked the outliers
[04:32:24] <brada> i know at one point it was shaded but likely that was back when it was SDL_ttf
[04:35:12] <brada> one other option about palettes that may be more flexible is to have a static method that keeps like a map of paletts that it can lookup by color…
[04:35:25] <brada> or something along those lines
[04:35:46] <brada> they would have to be const
[04:37:16] <brada> they all use the same black for the back color so its feasible at least
[04:40:37] <-- brada has left IRC (Quit: brada)
[05:02:18] --> edheldil_ has joined #gemrb
[05:09:29] <lynxlynxlynx> btw, the ( are there fully now, but the changes broke text into several lines
[05:12:40] <lynxlynxlynx> portrait icon dash being misdrawn is still there
[05:36:47] <-- edheldil_ has left IRC (Ping timeout: 272 seconds)
[06:30:39] --> Hijackal has joined #gemrb
[06:30:51] <Hijackal> good morning
[06:33:29] <lynxlynxlynx> oj
[06:34:57] <Hijackal> does anyonw know why the ubuntu (trusty) gemrb package is "deleted"?
[06:39:08] <-- Lightkey has left IRC (Ping timeout: 260 seconds)
[06:39:56] <lynxlynxlynx> which version is that?
[06:39:59] <lynxlynxlynx> of both
[06:41:24] <lynxlynxlynx> aa
[06:41:57] <lynxlynxlynx> err, anyway, there's a debian pkg available and likely also the last version on playdeb
[06:42:02] <Hijackal> https://launchpad.net/ubuntu/trusty/+package/gemrb - 14.04 (current stable ubuntu) used to serve gemrb .8.0-1
[06:42:04] <Pepelka90> gemrb : Trusty (14.04) : Ubuntu
[06:42:26] <Hijackal> sorry, better page: https://launchpad.net/ubuntu/trusty/+source/gemrb/0.8.0-1
[06:42:28] <Pepelka90> “gemrb” source package : Trusty (14.04) : Ubuntu
[06:42:59] <Hijackal> but that has been deleted from 14.04 and moved to (unreleased) 14.10, utopic
[06:51:37] --> Lightkey has joined #gemrb
[07:06:45] <lynxlynxlynx> there was none before, so it looks just like too hasty inclusion
[07:06:55] <lynxlynxlynx> at least from their pov
[07:07:16] <lynxlynxlynx> before, there was just a ppa or two
[07:33:47] --> edheldil_ has joined #gemrb
[08:15:00] <edheldil> I can't find any discussion leading to removal
[08:15:06] <edheldil> btw: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=755841
[08:15:12] <Pepelka90> #755841 - gemrb-planescape-torment: a number of small issues with planescape torment - Debian Bug report logs
[08:15:25] <edheldil> some of this is probably packaging issue
[08:23:36] <lynxlynxlynx> most of it
[10:29:20] <Hijackal> is there a way to run bg1 enhanced edition in gemrb? I can't seem to find any info on that anywhere
[10:29:37] <fuzzie> not yet, afaik
[10:30:03] <lynxlynxlynx> i think only one person tried so far
[10:31:50] <Hijackal> that would have been such a nice way to get higher resolutions... I dont have the TotSC, which seems to be a prerequisite for widescreen :/
[10:39:54] <lynxlynxlynx> their gui wouldn't work anyway
[10:40:51] <lynxlynxlynx> if you have bgee (for windows), i bet it runs under wine - the originals do
[11:54:54] <-- lynxlynxlynx has left IRC (Read error: Connection reset by peer)
[11:55:29] --> lynxlynxlynx has joined #gemrb
[11:55:29] <-- lynxlynxlynx has left IRC (Changing host)
[11:55:29] --> lynxlynxlynx has joined #gemrb
[11:55:29] --- ChanServ gives channel operator status to lynxlynxlynx
[12:29:36] <-- lynxlynxlynx has left IRC (Read error: Connection reset by peer)
[12:30:20] --> lynxlynxlynx has joined #gemrb
[12:30:20] <-- lynxlynxlynx has left IRC (Changing host)
[12:30:20] --> lynxlynxlynx has joined #gemrb
[12:30:20] --- ChanServ gives channel operator status to lynxlynxlynx
[13:50:34] --> brada has joined #gemrb
[13:51:17] <-- lynxlynxlynx has left IRC (Read error: Connection reset by peer)
[13:51:46] <-- brada has left IRC (Client Quit)
[13:52:11] --> lynxlynxlynx has joined #gemrb
[13:52:11] --- ChanServ gives channel operator status to lynxlynxlynx
[14:12:50] --> brada has joined #gemrb
[14:13:04] <brada> hmmm, yeah, that last commit was made too hastily
[14:13:14] <brada> thats what broke things, not the () fix
[16:22:48] <-- lynxlynxlynx has left IRC (Read error: Connection reset by peer)
[16:23:11] --> lynxlynxlynx has joined #gemrb
[16:23:11] <-- lynxlynxlynx has left IRC (Changing host)
[16:23:11] --> lynxlynxlynx has joined #gemrb
[16:23:11] --- ChanServ gives channel operator status to lynxlynxlynx
[16:46:32] <-- edheldil_ has left IRC (Ping timeout: 272 seconds)
[17:07:44] <-- brada has left IRC (Ping timeout: 260 seconds)
[17:27:02] --> brada has joined #gemrb
[17:32:45] <-- brada has left IRC (Ping timeout: 272 seconds)
[17:54:13] --> brada has joined #gemrb
[18:01:02] <-- brada has left IRC (Ping timeout: 244 seconds)
[18:25:07] --> brada has joined #gemrb
[18:26:01] --> Yoshimo has joined #gemrb
[20:40:47] <-- Yoshimo has left IRC (Quit: Yoshimo)
[20:48:32] --> edheldil_ has joined #gemrb
[20:52:43] <lynxlynxlynx> heh, pst doesn't even start
[21:30:18] <lynxlynxlynx> one of the ieresref types should be renamed, as a one-cap difference is barely noticeable
[21:37:36] --> nutron has joined #gemrb
[22:05:38] --> berenm has joined #gemrb
[22:06:49] <berenm> hi!
[22:07:52] <lynxlynxlynx> oj
[22:11:08] <-- edheldil_ has left IRC (Ping timeout: 250 seconds)
[22:11:54] <berenm> I just wanted to let you know that gemrb 0.8.1 has been uploaded to debian official archive (at last!)
[22:12:02] <berenm> https://packages.qa.debian.org/g/gemrb/news/20141009T215004Z.html
[22:12:03] <Pepelka90> Accepted gemrb 0.8.1-1 (source amd64 all) into unstable
[22:12:58] <lynxlynxlynx> i think you already mentioned that, but thatnks
[22:13:15] <berenm> well probably not as it was uploaded only today
[22:13:34] <berenm> 0.8.0 was the first version
[22:13:38] <berenm> it's just the update
[22:13:40] <berenm> but still
[22:15:31] <lynxlynxlynx> ah
[22:16:18] <lynxlynxlynx> there'll probably be another release this year
[22:16:58] <berenm> alright, nice to hear
[22:28:05] <-- nutron has left IRC (Quit: I must go eat my cheese!)
[22:56:40] --> nutron has joined #gemrb
[22:58:21] --> raevol has joined #gemrb
[23:08:30] <-- berenm has left IRC (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)
[23:57:05] <Lightkey> :-)