[10:06:19] --- Dominus2 is now known as Dominus
[12:08:28] <xzakox> hi
[12:08:39] <xzakox> any developers here? :-)
[12:09:25] <wjp> hi
[12:12:19] <xzakox> hi wjp
[12:12:36] <xzakox> perhaps you can give me a hand
[12:14:43] <xzakox> I'm porting exult to the dingoo handheld, if you don't know it, it's a chinese mips-based console/pmp and the homebrew scene has ported linux to it, so we're having some fun porting lot of stuff :-)
[12:15:29] <xzakox> right now I managed to compile it, adapted some controls and it runs
[12:15:45] <xzakox> but I'm getting a graphics problem
[12:17:46] <xzakox> dingoo only supports 16bpp, but if tou tell the SDL to init in 8bpp mode, it does, but you are really in 16pbb mode, so the rendering gets weird... half screen in strange colors
[12:18:23] <wjp> that sounds like a bug in SDL, then
[12:19:03] <xzakox> perhaps you can point me where the blitting it's done (imagewin.cc?) so I can translate it to 16bpp, or if there is some way to tell exult to use 16bpp
[12:19:06] <wjp> SDL should be internally converting from 8 to 16 bpp if we ask it for an 8bpp mode
[12:19:27] <wjp> it does not sound like something to fix in Exult, from what you describe
[12:20:29] <wjp> but doesn't exult already support 16bpp modes?
[12:21:00] <xzakox> well I know, that just will be some kind of hack before that is fixed
[12:21:36] <xzakox> wjp: I though so
[12:21:51] <xzakox> *thought
[12:22:01] <wjp> which resolution/scaler are you using?
[12:22:17] <xzakox> dingoo it's 320x240
[12:26:30] <wjp> ah, so no scaler
[12:28:32] <wjp> maybe the easiest way is to trick the point scaler into being activated
[12:28:56] <wjp> in imagewin.cc, look for a line "else if (scale >= 2)" around line 363
[12:29:16] <wjp> and change that line to "else"
[12:29:33] <xzakox> let's see
[12:29:39] <wjp> no guarantees :-)
[12:37:30] <xzakox> no way
[12:39:32] <wjp> ?
[12:46:03] <xzakox> it's the same
[12:46:20] <xzakox> I selected point scaler
[12:46:28] <xzakox> and made that change
[12:46:36] <xzakox> and the screen is the same
[12:49:27] <wjp> oh, hm, I guess the point scaler doesn't to bit depth conversion
[12:52:48] <xzakox> I'm looking at it
[12:52:57] <xzakox> and yes, it doesn't
[12:53:45] <wjp> if you really want to do this in Exult, you'd probably have to create a 1x scaler that does
[12:53:53] <wjp> but why not just fix SDL?
[13:46:29] --- Marzo is now known as Marzo_away