[01:31:28] <-- Drakkar has left IRC (Read error: Connection reset by peer)
[01:31:37] --> Drakkar has joined #gemrb
[01:37:50] --> ggg has joined #gemrb
[01:38:16] --- ggg is now known as ggg69696
[01:38:32] <ggg69696> hi there
[01:38:39] <ggg69696> is anyone around? :)
[01:40:35] <ggg69696> I have a problem with Baldurs gate fonts. They seem to be unreadable, distorted. So I tried the ttf enginge in gemrb, it loads a ttf font but hangs in game or at he beggining...
[01:41:21] <ggg69696> in short gemrb loads the ttf font and crashes instantly or in the menu.
[01:41:44] <ggg69696> too bad i cant open an issue in github
[01:43:57] <ggg69696> i tried runing the git current or the release version with no luck
[01:46:17] <ggg69696> running bg1 or bg2
[01:47:22] <ggg69696> good night
[01:47:44] <-- ggg69696 has left IRC ()
[02:21:32] <-- Dominus has left IRC (Ping timeout: 260 seconds)
[02:23:57] --> Dominus has joined #gemrb
[02:23:57] <-- Dominus has left IRC (Changing host)
[02:23:57] --> Dominus has joined #gemrb
[02:33:16] --> FutureSuture has joined #gemrb
[02:35:42] <-- Future_Suture has left IRC (Ping timeout: 258 seconds)
[02:38:44] --> Eli2| has joined #gemrb
[02:41:47] <-- Eli2_ has left IRC (Ping timeout: 260 seconds)
[06:14:20] --> Future_Suture has joined #gemrb
[06:17:39] <-- FutureSuture has left IRC (Ping timeout: 258 seconds)
[08:21:11] <-- Lightkey has left IRC (Ping timeout: 240 seconds)
[08:34:37] --> Lightkey has joined #gemrb
[08:37:24] --> GeneralDuke has joined #gemrb
[09:44:03] <-- |Cable| has left IRC (Ping timeout: 250 seconds)
[09:57:48] --> |Cable| has joined #gemrb
[11:25:50] --> lynxlynxlynx has joined #gemrb
[11:25:50] --- ChanServ gives channel operator status to lynxlynxlynx
[13:42:22] --> ggg69696 has joined #gemrb
[13:42:35] <ggg69696> hi there :)
[13:43:02] <ggg69696> i have a ge
[13:43:15] <ggg69696> i have a gemrb problem with fonts
[13:43:41] <ggg69696> i can't see the main text in games
[13:43:57] <ggg69696> so i tried to change the font but it does not work
[13:44:13] <ggg69696> the text looks almost unreadable
[13:44:56] <ggg69696> when i change a bam font the engine works, when i change it to ttf font the engine crashes
[13:45:01] <ggg69696> :/
[13:45:46] <ggg69696> i ried to change the color of the font but it does not change
[13:45:59] <ggg69696> make it bold, does not help
[13:48:14] <fuzzie> do you have a screenshot?
[13:48:46] <ggg69696> not yet, i don't know how to make screenshots on linux :P
[13:48:59] <ggg69696> i will have it asap
[13:49:33] <ggg69696> the dialog text is unreadable but the red answer text is readable
[13:50:54] <fuzzie> and are you using the latest version of gemrb?
[13:52:36] <ggg69696> https://s30.postimg.org/4j5hbo82p/badfonts.png
[13:52:47] <ggg69696> i tried the git and the release version
[13:53:13] <ggg69696> i compiled the git and the release i instaled the binaries
[13:53:26] <ggg69696> damn
[13:54:13] <lynxlynxlynx> hey
[13:54:33] <ggg69696> http://imgur.com/a/drlYE
[13:54:45] <ggg69696> sorry now the ppic works
[13:55:01] <ggg69696> the first service is down...
[13:55:09] <lynxlynxlynx> ok, so english original
[13:55:19] <lynxlynxlynx> i think you compiled the opengl backend?
[13:55:22] <ggg69696> yes
[13:55:35] <lynxlynxlynx> it's experimental, so a bad choice
[13:55:44] <ggg69696> heh
[13:55:55] <lynxlynxlynx> no speed gain yet either
[13:56:08] <ggg69696> well the ubuntu release version did not work either
[13:56:16] <ggg69696> the same text
[13:56:43] <ggg69696> is this a new problem you see?
[13:56:45] <lynxlynxlynx> the debian maintainer made the same mistake and ubuntu probably just reused the package
[13:56:51] <ggg69696> did anyone have this before?
[13:57:23] <ggg69696> should i compile it with no flags? :)
[13:58:08] <lynxlynxlynx> best results will be with sdl1, but sdl2 only has some scrolling bugs, so it's ok-ish
[13:58:09] <ggg69696> i will try now to recompile
[13:58:26] <ggg69696> i compiled with sdl2
[14:00:05] <ggg69696> too bad the ubuntu binaries and other instructions are in a mess. I was thinking to write a tutorial because i am trying to fix it for some days...
[14:00:34] <lynxlynxlynx> it's a temporary thing, but yeah, it's been a while since the last release
[14:00:42] <lynxlynxlynx> you could also just grab the precompiled binaries
[14:05:55] <ggg69696> I am not very wise - there are a few links for gemrb binaries which one to choose? :P
[14:06:01] <ggg69696> now i am recompiling
[14:06:04] <ggg69696> will see
[14:07:05] <ggg69696> omg
[14:07:10] <ggg69696> it works
[14:07:39] <ggg69696> i did not pass -DOPENGL_BACKEND=OpenGL
[14:07:46] <ggg69696> i left it blank
[14:08:09] <ggg69696> i used sdl2
[14:08:50] <ggg69696> i thought the spell efects are more cute with opengl
[14:10:59] <ggg69696> but it seems there is a bug with the ttf engine
[14:11:19] <ggg69696> i did 0 NORMAL 0 DejaVuSans 14 0 0xffffffff
[14:11:30] <ggg69696> and the text is garbled
[14:12:22] <ggg69696> http://imgur.com/yixnatT
[14:12:33] <ggg69696> so does the ttf engine work? :P
[14:12:47] <ggg69696> vannila bg1
[14:13:17] <ggg69696> or do i need to install sdl1 for that?
[14:13:36] <ggg69696> i.e. compile dsl1
[14:13:42] <ggg69696> sdl1
[14:14:53] <lynxlynxlynx> hmm
[14:15:05] <ggg69696> i tried to use the ttf font now and after a bit it crashed
[14:15:38] <ggg69696> OpenAL]: Queuing New Music [ResourceManager]: Found 'GUIW.chu' in 'chitin.key'. [ResourceManager]: Searching for 'guiwbtp2'... [ResourceManager]: Found 'guiwbtp2.mos' in 'chitin.key'. [ResourceManager]: Searching for 'WAL_04c'... [ResourceManager]: Found 'WAL_04c.wav' in 'chitin.key'. [ResourceManager]: Found 'cimt1g1e.bam' in 'chitin.key'. [ResourceManager]: Found 'wpSQSg1e.bam' in 'chitin.key'. [ResourceManager]: Found 'nnowhg1e.ba
[14:15:58] <ggg69696> [ResourceManager]: Found 'guiwbtp1.mos' in 'chitin.key'. Segmentavimo klaida (core dumped)
[14:16:55] <lynxlynxlynx> i guess it's not tested often, but i think brad mentioned potential problems with the last merge
[14:17:04] <lynxlynxlynx> as for the crash, do you have gdb?
[14:17:12] <ggg69696> by the way, im not complaining. :) thanks for the work!
[14:17:29] <lynxlynxlynx> ttf seems to work fine with our demo
[14:18:13] <ggg69696> This GDB was configured as "x86_64-linux-gnu".
[14:18:19] <ggg69696> it seems i have gdb
[14:18:31] <ggg69696> how do you load a demo?
[14:18:33] <lynxlynxlynx> how do you run gemrb?
[14:18:47] <ggg69696> gemrb -c configfile.cfg
[14:19:07] <lynxlynxlynx> the demo's fonts.2da has the same line for the NORMAL font, except for the palette
[14:20:07] <lynxlynxlynx> run gdb --args gemrb -c aaaa
[14:21:45] <lynxlynxlynx> then r to start
[14:23:03] <ggg69696> aaaa is my config yes? :)
[14:23:09] <ggg69696> i did push r
[14:23:11] <ggg69696> ok
[14:24:12] <ggg69696> Thread 1 "gemrb" received signal SIGSEGV, Segmentation fault. 0x00007ffff6f2c3b5 in malloc_consolidate ( av=av@entry=0x7ffff7271b20 <main_arena>) at malloc.c:4181 4181 malloc.c: Toks failas ar aplankas neegzistuoja.
[14:24:36] <ggg69696> the file or folder does not exist in lithuanina
[14:24:41] <ggg69696> lithuanian
[14:24:43] <ggg69696> :)
[14:24:53] <ggg69696> i used the ttf font
[14:25:07] <lynxlynxlynx> type bt (short for backtrace)
[14:26:48] <ggg69696> http://imgur.com/wxExc6e
[14:27:56] <ggg69696> http://imgur.com/g8EYSEj
[14:28:05] <ggg69696> next? :)
[14:28:53] <lynxlynxlynx> no, it would just end
[14:29:10] <lynxlynxlynx> if you look higher in the log, where it mentions fonts - any errors logged?
[14:30:58] <ggg69696> http://imgur.com/IjSGybG
[14:31:07] <ggg69696> no errors see pic
[14:31:19] <ggg69696> the fonts load fine in the log
[14:31:26] <ggg69696> but the game crashes
[14:33:41] <ggg69696> 0 NORMAL 1 NORMAL 14 0 0xff0000ff
[14:34:43] <ggg69696> i tried to change the color but it does not work
[14:35:08] <lynxlynxlynx> wait, you're having problems even without using dejavu?
[14:35:28] <ggg69696> http://imgur.com/TI5YgeY
[14:36:15] <ggg69696> now i compiled without -DOPENGL_BACKEND=OpenGL and it works fine
[14:36:23] <lynxlynxlynx> that's normal
[14:36:26] <ggg69696> http://imgur.com/TI5YgeY
[14:36:40] <lynxlynxlynx> so the crash happens only with a ttf font, right?
[14:36:56] <ggg69696> yes only with ttf
[14:37:25] <ggg69696> but i can't configure the bam font color it seems too...
[14:37:44] <ggg69696> so it's could be a general font plugin problem...
[14:37:48] <lynxlynxlynx> yeah, that's not for them
[14:38:03] <lynxlynxlynx> custom coloring is only for ttf
[14:38:13] <lynxlynxlynx> do you still have that gdb session open?
[14:38:15] <ggg69696> hehe no luck for me then? ;)
[14:38:40] <ggg69696> yes
[14:38:52] <lynxlynxlynx> f 5
[14:38:57] <ggg69696> gdb yes, the gemrb is closed
[14:39:20] <lynxlynxlynx> recrash it if needed
[14:39:35] <ggg69696> (gdb) f 5 #5 0x00007ffff7b3d108 in GemRB::Font::GlyphAtlasPage::Draw (this=<error reading variable: Cannot access memory at address 0x7fffffffd588>, chr=<error reading variable: Cannot access memory at address 0x7fffffffd5d0>, dest=<error reading variable: Cannot access memory at address 0x7fffffffd580>, pal=<error reading variable: Cannot access memory at address 0x7fffffffd5b0>) at /home/monika/gemrb/gemrb/core/GUI/TextS
[14:40:29] <ggg69696> should i recrash it now?
[14:41:06] <lynxlynxlynx> no
[14:43:19] <ggg69696> i am doing the test on the git version now btw
[14:43:27] <ggg69696> today git
[14:43:42] <lynxlynxlynx> it's a memory corruption, so gdb won't be much more useful
[14:45:59] <ggg69696> i get a few errors doring different crashes
[14:46:02] <ggg69696> during
[14:46:13] <ggg69696> it's not the same error always
[14:46:27] <ggg69696> in the console log
[14:47:08] <lynxlynxlynx> yeah, something overwrites memory and then it's just a waiting game until something trips on it
[14:49:19] <ggg69696> the interesting part is the ubuntu release crashes kinda instantly
[14:49:34] <ggg69696> but the git release takes a bit of gameplay
[14:50:28] <ggg69696> i see, well, thanks for your support.
[14:51:49] <lynxlynxlynx> there are better tools for more, but it gets annoying fast
[14:51:57] <lynxlynxlynx> what bothers you about the original fonts?
[14:54:58] <ggg69696> nothing just that i can't see them with the build flag -DOPENGL_BACKEND=OpenGL
[14:55:29] <ggg69696> is it possible to run opengl effects in the engine?
[14:55:37] <ggg69696> some other way?
[14:55:49] <lynxlynxlynx> there are no opengl effects
[14:56:03] <ggg69696> lol
[14:56:10] <lynxlynxlynx> the backend does reimplement some shaders for what is otherwsie done in software
[14:57:06] <ggg69696> i mean bg1 and bg2 had some cool spell effects that look if i remember better with opengl no?
[14:57:18] <ggg69696> lightning
[14:57:39] <lynxlynxlynx> dunno
[14:57:54] <ggg69696> well as i remember years ago the game just looked better with hardware acc
[14:58:00] <ggg69696> heheh
[14:58:01] <lynxlynxlynx> but the normal lightning spell uses a hardcoded projectile, so it's possible
[14:58:40] <lynxlynxlynx> we don't follow the original divide between software/hardware rendering
[14:58:51] <ggg69696> so what did you implement in gemrb that uses opengl?
[14:59:29] <ggg69696> if i may ask? :)
[15:00:18] <lynxlynxlynx> rendering in general
[15:00:25] <ggg69696> i mean if you did implement something i want to test it and use it :)
[15:00:47] <lynxlynxlynx> one difference you can see is that the target reticles are not full and that the selection circles are truly circular, not jagged
[15:01:15] <ggg69696> so how can i run the opengl part in gemrb?
[15:01:44] <lynxlynxlynx> you just compile with the opengl backend
[15:02:01] <lynxlynxlynx> but really, you'll have a worse a experience
[15:02:59] <ggg69696> so i compile the opengl backend and the fonts don't work - that is the problem.
[15:03:19] <ggg69696> the bam font for the dialogs does not show properly
[15:03:20] <lynxlynxlynx> yeah, because it's unfinished work
[15:03:25] <ggg69696> ah, i see
[15:03:34] <lynxlynxlynx> "experimental"
[15:05:54] <ggg69696> thank you for your answers
[15:06:07] <ggg69696> i have some more if i may :P
[15:06:12] <ggg69696> [ResourceManager/ERROR]: Couldn't find 'gender.2da'.
[15:06:26] <ggg69696> [ResourceManager/ERROR]: Couldn't find 'projectl.ids'.
[15:06:42] <lynxlynxlynx> that's fine
[15:06:43] <ggg69696> and similar errors are scaring me....
[15:06:55] <ggg69696> is it ok or am i missing some files?
[15:07:00] <lynxlynxlynx> different games had different engines that wanted different data
[15:07:40] <ggg69696> i mean in the config i set the game to bg1 so the engine should not search for bg2 data?
[15:08:21] <lynxlynxlynx> gemrb is flexible to improve modability
[15:08:30] <lynxlynxlynx> we don't ifdef every single thing
[15:11:36] <ggg69696> ah, so it's for the mods
[15:11:59] <ggg69696> so i should not care for the error messages until the game is running ;)
[15:13:58] <ggg69696> so as i understand the bg1 and bg2 should be fully playable? :)
[15:14:38] <ggg69696> the experience is the same or better then the original engine? ;)
[15:14:43] <lynxlynxlynx> yes, you can finish those games
[15:14:58] <lynxlynxlynx> the experience is similar; better in some regards, worse in others
[15:15:16] <ggg69696> i am quite happy you are still maintaining the open source engine for so many years
[15:17:03] <lynxlynxlynx> still needs more work, far from just needing ocassional maintenance
[15:21:54] <ggg69696> it is strange that beamfrog decided to release the games again and make money from them again. so instead of supporting an open source engine people end up paying for a closed source mixedbag...
[15:22:21] <ggg69696> they could release a new game instead :D
[15:22:57] <ggg69696> too bad everyones eyes are on the closed source engine, not the open one :/
[15:22:57] <lynxlynxlynx> they released an expansion eventually
[15:23:08] <lynxlynxlynx> we'll see what happens next
[15:25:28] <ggg69696> you can't make money from a closed source engine, but you can make money from new content. too bad they are not open sourcing it.
[15:26:20] <ggg69696> oh well
[15:26:47] <ggg69696> i guess the discussion is battered to death on this one :D
[15:27:35] <lynxlynxlynx> mnjah
[15:27:59] <lynxlynxlynx> as an open source project gemrb has the edge in the long run
[15:28:59] <ggg69696> by the way someone has to inform the ubuntu maintainer that gemrb release does not work ie problems with the font
[15:29:31] <ggg69696> i guess the majority just install it from ubuntu ppa
[15:29:45] <ggg69696> and are unhappy that it does not work :/
[15:30:44] <ggg69696> i wonder what compile flags the ubuntu maintainer used...
[15:30:47] <lynxlynxlynx> most people don't change fonts though
[15:30:57] <ggg69696> i did not change fonts
[15:31:16] <ggg69696> the ubuntu release dos not show fonts normally
[15:31:24] <ggg69696> that is why i use the git
[15:31:36] <lynxlynxlynx> oh, right
[15:31:43] <ggg69696> i have the same problem
[15:31:57] <ggg69696> like this http://imgur.com/7UIJMef
[15:32:48] <ggg69696> i guess you need more testers :)
[15:34:11] <ggg69696> i tried to change the font because the original did not work in the release
[15:34:33] <lynxlynxlynx> i think the updated package just hasn't propagated yet
[15:34:45] <lynxlynxlynx> looking at its changelog i can see it was already fixed
[15:36:23] <ggg69696> ok, i check later
[15:43:11] <ggg69696> could you paste the changelog link, or the exact package link?
[15:44:04] <ggg69696> i don't know if i used the package you mention
[15:45:14] <lynxlynxlynx> launchpad page of the package
[15:45:27] <lynxlynxlynx> everything from yakkety on is 0.8.4-1
[15:45:40] <lynxlynxlynx> older distros have older versions
[15:45:43] <ggg69696> i use the lts xenial
[15:45:58] <ggg69696> so i cant use yakkety?
[15:46:04] <ggg69696> packages?
[15:46:12] <lynxlynxlynx> you can try
[15:46:29] <lynxlynxlynx> it would be a waste to use .3 anyway
[15:49:57] <ggg69696> omg you are right synaptic shows 0.8.3 for xenial...
[15:50:10] <ggg69696> i guess i am good being on git
[15:52:26] <ggg69696> the maintainer could easy backport it to lts xenial
[15:52:56] <ggg69696> i don't know that many people who like to be on the bleeding edge
[15:55:57] <-- Future_Suture has left IRC (Quit: Leaving)
[15:59:15] <lynxlynxlynx> ubuntu bleeding edge is the thing after yakketty
[15:59:55] <lynxlynxlynx> maybe there are fresher ppas out there
[16:00:20] <lynxlynxlynx> but we now have linux build after each push / commit, so it's trivial to test latest changes
[16:07:46] <-- GeneralDuke has left IRC (Quit: GeneralDuke)
[16:22:04] <-- lynxlynxlynx has left IRC (Ping timeout: 252 seconds)
[17:59:13] <ggg69696> thanks for the open engine, thanks for the lols. Good night
[17:59:37] <ggg69696> .quit
[17:59:42] <-- ggg69696 has left IRC ()
[18:40:55] --> FutureSuture has joined #gemrb
[21:13:34] <-- |Cable| has left IRC (Ping timeout: 268 seconds)