#exult@irc.freenode.net logs for 27 Sep 2009 (GMT)

Archive Today Yesterday Tomorrow
Exult homepage


[00:14:36] --> Kirben has joined #exult
[00:14:36] --- ChanServ gives channel operator status to Kirben
[05:33:39] <-- Marzo_away has left IRC ("Marzo vanishes suddenly.")
[07:23:07] --> pupnik_ has joined #exult
[07:38:43] <-- pupnik has left IRC (Read error: 110 (Connection timed out))
[10:18:24] --> shazza has joined #exult
[10:30:59] --> Dominus has joined #exult
[10:30:59] --- ChanServ gives channel operator status to Dominus
[12:00:02] <Dominus> hmm, on OS X 10.6.1 macports provides glibtoolize instead of libtoolize. why I don't know but if I change autogen.sh accordingly it actually starts to build (and yes, sdl_mixer finally landed on 10.6.1)
[12:00:44] <Dominus> only (I hope) need to port the pentagram coreaudio changes back to exult :)
[12:07:22] <Dominus> and it builds and builds and builds and builds and builds....
[12:07:49] <Dominus> did I mention that it still builds? :)
[12:09:30] <Dominus> grrrr... fails with ld: warning: in /opt/local/lib/libSDL_mixer.dylib, file is not of required architecture
[12:10:24] <Dominus> http://pastebin.com/m3c3abd64
[12:26:20] <Dominus> ok, fixed that myself (I hadn't built sdl_mixer universal (so it exists for both 32 and 64-bit)
[12:26:34] <Dominus> it built, now let's see how it behaves...
[12:28:57] <Dominus> exult itself starts but has two problems
[12:30:14] <Dominus> scaler opengl does not work "Couldn't allocate surface: X11 driver not configured with OpenGL
[12:30:14] <Dominus> Bus error"
[12:30:28] <Dominus> and Exult Studio does not work at all
[12:30:44] <Dominus> Xlib: extension "RANDR" missing on display "/tmp/launch-sLK0xy/:0".
[12:44:36] <Dominus> I don't know if that error is actually the problem since ES still sits in the background and uses ALL the cpu cycles it can get :)
[12:46:17] <-- Rottingbeef has left IRC ("I, too, have lost a kingdom.")
[12:58:34] <Dominus> but at least it seems like the digital music now (?) plays on OS X natively without having to install xiphqt as written in http://exult.sourceforge.net/docs.php#osx_digital
[13:09:33] <-- shazza has left IRC ()
[13:39:16] <Dominus> when I built exult without ES support (so no X11) then opengl works. Curiosly fullscreen does NOT work
[13:39:31] <Dominus> with any scaler
[13:41:03] <Dominus> with x11 fullscreen did work in a fashion, that Exult did not get stretched over the whole screen but remained same size and had black borders all around
[13:42:30] <wjp> hi
[13:42:39] <wjp> in which way does fullscreen not work?
[13:43:03] <Dominus> it doesn't switch
[13:43:23] <Dominus> the console says switching to fullscreen but it reamins like before
[13:45:41] <Dominus> hi, btw :)
[13:48:21] <Dominus> when I start Exult with fullscreen enabled in the cfg, I quickly get our splash screen with distorted colours and then I have a black screen with the music running in the background :)
[13:48:30] <Dominus> pentagram does work in fullscreen
[13:49:36] <wjp> strange
[13:50:21] <Dominus> how do we switch to fullscreen on pentagram? also alt+enter? (cmd+enter on mac) because that doesn't seem to work here either
[13:51:03] <wjp> GUIApp::toggleFullscreen on the console
[13:51:07] <wjp> don't know if it has a key
[13:54:01] <Dominus> grrr... can't trigger console
[13:54:48] <Dominus> it seems the keyboard commands on os x don't work properly
[13:54:54] <Dominus> at all
[13:55:12] <wjp> F5?
[13:55:28] <Dominus> that worked :)
[13:56:11] <Dominus> and toggling fullscreen did work
[13:57:17] <-- Kirben has left IRC (Read error: 110 (Connection timed out))
[13:57:22] <-- Dominus has left IRC ("Leaving.")
[13:57:34] --> Dominus has joined #exult
[13:57:34] --- ChanServ gives channel operator status to Dominus
[13:58:18] <Dominus> hmm, standing around the dock for a while made the guard commit suicide by walking into the water...
[14:00:02] <wjp> argh, I thought I fixed those ages ago
[14:03:35] <-- Dominus has left IRC ("Leaving.")
[14:03:49] --> Dominus has joined #exult
[14:03:49] --- ChanServ gives channel operator status to Dominus
[14:05:04] <Dominus> fullscreen exult is really behaving strangely, sometimes all black or pallette distortions and so on... somethings very different to pentagram's behavior
[14:16:45] <-- Sevalecan has left IRC (Excess Flood)
[14:25:49] <pupnik_> Dominus: you are on x86 mac?
[14:25:56] <pupnik_> using SDL for drawing?
[14:25:58] --> Sevalecan has joined #exult
[14:26:01] <Dominus> yes
[14:27:28] <Sevalecan> yes
[14:27:29] <pupnik_> sdl should normally change your screen res to match game
[14:27:33] <pupnik_> in fullscreen
[14:27:38] <pupnik_> then return you to normal.
[14:27:51] <pupnik_> sounds like an issue with gfx drivers+ sdl
[14:28:05] <pupnik_> are all colors correct in windowed mode?>
[14:29:11] <Dominus> yes, all colors are correct. and pentagram does switch fullscreen correctly. Exult doesn't even want to switch (only runs fullscreen if the cfg is set to)
[14:29:30] <Dominus> pentagram has a color distortion though when the diary is open
[14:30:09] <Dominus> probably caused by SDL (since that needed fixing to compile on osx 10.6 since quickdraw was eliminated there)
[14:33:56] <pupnik_> yeah that's the thing about SDL
[14:33:59] <pupnik_> it really is simple
[14:35:10] <pupnik_> are you declaring a SW or HW surface? maybe you could try toggling that
[14:35:52] <Dominus> i have no idea
[14:43:57] <Dominus> I'm not that good with all that, can follow instructions but how to tell and then toggle that, is beyond me :)
[15:29:38] <pupnik_> sorry for afk
[15:29:48] <Dominus> np
[15:30:05] <pupnik_> you should be able to just swap out HWSURFACE for SWSURFACE or vice versa
[15:30:16] <pupnik_> grep -r HWSURFACE *
[15:30:20] <pupnik_> iirc
[15:32:32] <Dominus> ok, will try
[15:37:51] --> Marzo has joined #exult
[15:40:56] <pupnik_> my dev box is fscking...
[15:42:15] <pupnik_> neato, opengl backend
[15:43:44] <pupnik_> imagewin/imagewin.cc for the normal case
[15:44:14] <pupnik_> i see it is doing fallback
[15:47:55] --- Marzo is now known as Marzo_away
[15:53:07] <Dominus> funnyly, when it is run in fullscreen, it's pitch black, but when I hit alt-x and then y to confirm the quitting I get to see the correct screen for a split moment :)
[18:10:02] <Dominus> I "fixed" the Exult Studio problem by messing with the macports of pango/cairo/gtk2
[18:10:45] <Dominus> only opengl does not work again as scaler with x11 support... oh well :)
[18:11:21] <Dominus> I'll try to get more information in the macports mailing list, perhaps someone has an idea there...
[18:23:45] --> Fingolfin has joined #exult
[18:23:45] --- ChanServ gives channel operator status to Fingolfin
[20:27:19] <Dominus> hi Fingolfin
[20:32:07] --> Rottingbeef has joined #exult
[21:03:30] <Fingolfin> hi Dominus
[21:06:06] <Dominus> exult now has fullscreen problems on OS X 10.6 and I wondered if you had any idea why that is but I understand if you are too busy :)
[21:07:25] <Fingolfin> I don't even have 10.6
[21:07:46] <Dominus> yeah, I guessed so
[21:07:51] <Fingolfin> if you can point me at a bug report, I can take a peek and if I have an idea, I'll add it
[21:08:41] <Dominus> I'll make one, currently Exult cannot switch to fullscreen on its own and when started in fullscreen the screen is distorted or pitch black
[21:08:55] <Dominus> compiled against SDL 1.2.14 svn
[21:11:26] <pupnik_> maybe a bug in svn
[21:12:36] <Dominus> probably or it shows something we do wrong. Pentagram displays fine in fullscreen and I can switch between fullscreen and windowed mode
[21:16:11] --- Marzo_away is now known as Marzo
[21:18:17] <Dominus> Fingolfin: https://sourceforge.net/tracker/?func=detail&aid=2868405&group_id=2335&atid=102335 is the bug report
[21:23:07] <Fingolfin> fullscreen works fine in ScummVM with SDL SVN
[21:23:13] <Fingolfin> (there is no 1.2.14 yet ;)
[21:23:35] <Dominus> I know that's why I added the svn :)
[21:25:22] <Dominus> since scummvm and pentagram work fine, there really might be something off with how exult does it
[21:26:11] --- Marzo is now known as Marzo_away
[21:29:39] --- Lord_Nightmare is now known as LordNAway
[21:42:19] <Fingolfin> Dominus: sounds likely. you could compare how they do it
[21:42:52] <Dominus> I can't, it's too much gibberish for me :(
[21:48:57] <Dominus> ui, scummvm make is very very very tidy...
[21:50:50] <Dominus> hmm but doesn't compile for me... I'll take a look at the tracker...
[21:51:49] <Fingolfin> ?
[21:52:18] <Dominus> http://pastebin.com/me1a1e36
[21:52:56] <Fingolfin> stupid Apple *sigh*
[21:53:03] <Dominus> with svn of scummvm just now grabbed
[21:53:17] <Fingolfin> as a temp workaround, edit gui/browser.h
[21:53:18] <Fingolfin> insert
[21:53:20] <Dominus> should I file a bug report?
[21:53:22] <Fingolfin> #undef MACOSX
[21:53:30] <Fingolfin> just before the line which
[21:53:30] <Fingolfin> #ifdef MACOSX
[21:55:34] <Dominus> goes on and then errors on coreaudio
[21:56:21] <Dominus> http://pastebin.com/m3755db49
[21:56:52] <wjp> that last one may be the same you hit in Exult and Pentagram
[21:57:49] <Fingolfin> yeah
[21:57:52] <Fingolfin> it is
[21:57:58] <wjp> in gui/browser.h it might work to add an #include <Navigation.h> right below #include <Carbon/Carbon.h>
[21:58:00] <wjp> maybe...
[21:58:08] <Fingolfin> nah
[21:58:15] <Fingolfin> Apple dropped Carbon in 64bit mode
[21:58:32] <wjp> ah, that is rather more fundamental
[21:58:44] <Fingolfin> and in 32bit mode, they also deprecated a lot of it
[21:58:51] <Dominus> yup, one of the big problems on snow leopard
[21:58:59] <Dominus> so where do I stick #include <CoreServices/CoreServices.h>?
[21:59:24] <Fingolfin> hu? why do you want to stick that somewhere? :)
[21:59:49] <wjp> ComponentDescription is undefined without it
[22:00:01] <Dominus> at least for exult and pentagram including that with the coreaudio.h file fixed compilation
[22:00:13] <wjp> Dominus: try right below the #include <AudioToolb/AUGraph.h> in backends/midi/coreaudio.cpp
[22:00:27] <wjp> (without the typos)
[22:00:44] <Fingolfin> ah
[22:01:06] <Fingolfin> Dominus: well, maybe try wjp's suggestion for browser.h, too. who knows
[22:02:02] <Dominus> ok, that include in coreaudio.cpp did not help, it made it worse or so :)
[22:02:24] <Dominus> http://pastebin.com/m6490b712
[22:06:43] <Fingolfin> Dominus: hm, are you sure you inserted the #include? because your line numbers have not changed, it seems
[22:07:01] <wjp> Fingolfin: the previous errors are above the new ones
[22:07:11] <Fingolfin> ah :)
[22:07:31] <Fingolfin> ahh
[22:07:37] <Fingolfin> the quicktime midi driver is causing errors
[22:07:39] <Fingolfin> no surprise
[22:07:47] <Fingolfin> that is using a part of QuickTime that has been deprecated
[22:07:56] <Fingolfin> causes errors in sdl-mixer for the same reason
[22:08:16] <Fingolfin> just remove quicktime.cpp / .o from backends/module.mk
[22:09:09] <Dominus> wjp: your irc://irc.freenode.net/#include <Navigation.h> for browser.h did not fix it "./gui/browser.h:35:24: warning: Navigation.h: No such file or directory"
[22:09:26] <wjp> ah well
[22:10:00] <wjp> better disable it for now then with the #undef Fingolfin gave
[22:11:36] <Dominus> sorry for pasteing too much earlier
[22:13:33] <Dominus> on linking this error http://pastebin.com/m1fb83dd6
[22:14:00] <wjp> in configure, remove '-framework QuickTime'
[22:14:06] <wjp> (I guess)
[22:14:33] <wjp> can also do it directly in config.mk if you want to avoid the rebuild that might trigger
[22:16:11] <Dominus> hmm still so, I'll remove from configure
[22:17:05] <wjp> oh, wait
[22:18:00] <wjp> in sound/mididrv.cpp, remove all lines with QT in them
[22:23:12] <wjp> ugh, this is annoying. On one of my hard disks it takes 2-3 minutes to build scummvm because it stalls a lot while linking, while on another one it only takes 45 seconds
[22:23:37] <wjp> guess I should be looking into replacing one...
[22:24:48] <wjp> no SMART warnings or errors or anything, though
[22:24:54] <Dominus> I guess in base/plugins.cpp, I need to do the same thing :)
[22:25:32] <Dominus> yup :)
[22:25:35] <wjp> oh, midi drivers can also be modules?
[22:25:47] <wjp> plugins, I mean
[22:25:53] <Dominus> now it linked
[22:25:56] <wjp> hurray :-)
[22:26:27] <Dominus> and plays the dig
[22:28:40] <Dominus> and correctly switches fullscreen/windowed mode :)
[22:29:17] <Dominus> wjp, Fingolfin: should I post to the bug tracker this scummvm compile session?
[22:29:38] <Dominus> I mean my problems and how this got "fixed"?
[22:31:38] <wjp> yes, please
[22:32:09] <Dominus> ok, will do now
[22:32:22] <Fingolfin> well
[22:32:30] <Fingolfin> wait a bit till I commit my local changes ;)
[22:32:51] <Fingolfin> which remove all quicktime related stuff and add coreservices.h to coreaudio.cpp
[22:33:04] <Fingolfin> so only the browser.cpp issue has to be logged
[22:33:50] <Dominus> ok, I'll do only that then...
[22:41:57] <-- Fingolfin has left IRC ()
[22:43:24] <Dominus> added https://sourceforge.net/tracker/?func=detail&aid=2868456&group_id=37116&atid=418820
[22:46:18] <wjp> Fingolfin committed the midi changes by the way
[22:49:12] <Dominus> he he, and all I wanted was to check fullscreen switching of scummvm, to make sure it's not a problem on my system :)
[22:50:12] <Dominus> nice to be of use though :)
[22:50:35] <wjp> thanks :-)
[22:50:46] <wjp> it would be good if scummvm 1.0.0 will work on OS X 10.6
[22:51:10] <Dominus> yeah
[22:52:07] <Dominus> when the browser.h issue is fixed, you can make me run a test compile again :)
[22:53:49] --- pupnik_ is now known as pupnik
[22:56:50] <Dominus> I can't make bundle though with scummvm. it IS explained in the readme but I can't find where /sw is specified...
[22:57:32] <Dominus> bah, once I open my mouth I find it :)
[23:04:23] <Dominus> good night
[23:07:08] <-- Dominus has left IRC ("Leaving.")
[23:07:12] --> Dominus has joined #exult
[23:07:12] --- ChanServ gives channel operator status to Dominus
[23:07:13] <-- Dominus has left IRC (Remote closed the connection)
[23:21:41] --> Kirben has joined #exult
[23:21:41] --- ChanServ gives channel operator status to Kirben