#gemrb@irc.freenode.net logs for 26 Mar 2016 (GMT)

Archive Today Yesterday Tomorrow
GemRB homepage


[00:07:21] <-- phao has left IRC (Ping timeout: 252 seconds)
[05:53:59] <-- Lightkey has left IRC (Ping timeout: 268 seconds)
[05:55:14] <kujeger> lynxlynxlynx: i think SDL2 is everywhere these days
[06:06:26] --> Lightkey has joined #gemrb
[09:54:24] <lynxlynxlynx> we work on silly old platforms like dingoo, webos, syllableos ... some of which are likely dying
[09:55:02] <lynxlynxlynx> but since the main stuff is in a separate plugin and sdl2 isn't that different, it's not hard to maintain compatibility
[09:55:48] <lynxlynxlynx> sdl2 is not the default (if you have both) mainly due to the cursor problem, I don't remember anything else being bad
[10:21:24] <kujeger> i think the cursor problem was the only thing that didn't work right in sdl2, yeah
[12:44:01] <lynxlynxlynx> i saw the pull request, thanks
[12:45:25] <lynxlynxlynx> i'll need to try it to fully understand the other two changes
[13:19:00] <kujeger> the scaling provded by SDL2's "nearst" scaler looks especially nice when you run gemrb at a multiple of your monitor resolution
[13:19:25] <kujeger> (imo)
[13:19:30] <kujeger> basically gives pixel doubling
[13:19:34] <kujeger> (or tripling)
[13:25:58] --> phao has joined #gemrb
[13:43:07] <lynxlynxlynx> my main monitor is still a crt, so i get that for free :)
[13:43:15] <kujeger> ahh, well
[13:43:31] <kujeger> in that case you at least won't see your desktop rearranged when changing resolution :)
[13:43:49] <lynxlynxlynx> what happens when you resize the window, but not enough for the scaling to come into effect?
[13:44:02] <kujeger> it always scales
[13:44:17] <kujeger> it's just that the nearest scaler looks best at multiples
[13:44:48] <kujeger> if aspect ratio is not matched, it pads with black
[13:45:21] <lynxlynxlynx> ok
[13:46:33] <lynxlynxlynx> so for example with the bg2 assets, which cover more resolutions, the player would choose 640x480 and then manually resize the window to get a clean doubling on 1280x960?
[13:47:08] <lynxlynxlynx> and for fullscreen, sdl would take care of the second bit automatically
[13:48:40] <kujeger> fullscreen, SDL will size to desktop resolution
[13:49:09] <kujeger> gimme a few sec, I'll record a video to demonstrate
[13:49:35] <lynxlynxlynx> does it use wm hints so borders / decorations are disabled?
[13:49:50] <kujeger> fullscreen - yes
[13:49:51] <lynxlynxlynx> judging by the name it doesn't go fullscreen, just uses a max-sized window
[13:49:59] <kujeger> SDL2 is smart :)
[13:50:15] <lynxlynxlynx> just wondering if the dimensions match
[13:50:48] <lynxlynxlynx> and btw, i've never had problems with switching resolutions and desktops - unless the program crashed
[13:51:23] <kujeger> it's gotten a lot better, but I still sometimes get windows that have been rescaled
[13:51:29] <kujeger> and crashing is always a mess
[13:54:52] <kujeger> https://kumini.kujeger.net/dump/gemrb_sdl2_bg2.webm
[13:55:08] <kujeger> (stutter at end is the recorder's fault)
[13:56:32] <kujeger> also avoids cases where a monitor (claims it) does not support e.g. 800x600 or 640x480
[13:57:27] <kujeger> basically as far as gemrb is concerned, it is always running at whatever resolution is in the cfg; sdl2 handles the rest
[14:00:14] <kujeger> as a bonus overlays like steam's work with gemrb+sdl2
[14:02:31] <lynxlynxlynx> cool, just harder to explain
[14:10:15] <kujeger> pictures, thousands of words etc, hehe
[14:13:25] <lynxlynxlynx> yeah, I guess a 2x2 comparison table with pics would do the trick
[14:13:32] <lynxlynxlynx> fonts can be mentioned as an aside
[14:19:19] <kujeger> in any case will be nice to see how the rewrite brad(?) is doing turns out
[14:28:15] <lynxlynxlynx> it gets rid of some old problems like status icon flickering in iwd (now present everywhere) and could improve performance too
[14:29:53] <lynxlynxlynx> and some focus propagation stuff
[15:03:39] --> Eli2_ has joined #gemrb
[15:06:32] <-- Eli2| has left IRC (Ping timeout: 244 seconds)
[15:18:21] <-- phao has left IRC (Ping timeout: 248 seconds)
[15:21:20] <Lightkey> lynxlynxlynx: by Teutates, don't do that to your eyes
[15:38:30] <lynxlynxlynx> whaa
[18:31:38] --> phao has joined #gemrb
[19:07:40] <kujeger> lynxlynxlynx: i tried running the apk you built on my phone, but I guess maybe I need to do extra stuff to get gemrb to run on android?
[19:09:13] <kujeger> actually maybe I'll check the gemrb site for docs :P
[19:09:46] <lynxlynxlynx> well you need a game or either demo
[19:10:13] <lynxlynxlynx> and adapt the config as needed for gemrb to find it
[19:15:43] <kujeger> I'll give it a try tomorrow
[23:27:20] <-- phao has left IRC (Ping timeout: 260 seconds)