#exult@irc.freenode.net logs for 27 Jul 2010 (GMT)

Archive Today Yesterday Tomorrow
Exult homepage


[00:04:33] --> Kirben has joined #exult
[00:04:33] --- ChanServ gives channel operator status to Kirben
[01:22:31] <Dominus> hmm, I found a problem on ppc with audio and current sdl... going to try to debug tomorrow... building a debug build right now
[01:26:19] <Dominus> and it is concerning the sfx...
[01:27:10] <-- Dominus has left IRC (Quit: Leaving.)
[01:27:35] --> Dominus has joined #exult
[01:28:03] --- Dominus is now known as Guest62711
[01:32:15] <-- Guest62711 has left IRC (Ping timeout: 265 seconds)
[01:51:28] --> shazza has joined #exult
[01:51:39] --> shazza` has joined #exult
[02:18:43] <-- RadoS has left IRC (Remote host closed the connection)
[03:02:54] <-- julien_ has left IRC (Ping timeout: 260 seconds)
[03:03:06] --> julien- has joined #exult
[03:50:59] <-- shazza has left IRC (Ping timeout: 260 seconds)
[03:51:54] <-- shazza` has left IRC (Ping timeout: 276 seconds)
[04:01:02] <-- Colourless has left IRC (*.net *.split)
[04:01:06] <-- exultbot has left IRC (Ping timeout: 270 seconds)
[04:01:07] <-- exultbot has left IRC (signing off...)
[04:02:27] --> exultbot has joined #exult
[04:02:27] --- Topic for #exult is: Exult: http://exult.sourceforge.net/ - The open source engine for Ultima 7
[04:02:27] --- Topic for #exult set by Colourless at Fri Sep 12 00:40:42 2008
[04:03:12] --> Colourless has joined #exult
[04:04:02] <-- Colourless has left IRC (*.net *.split)
[04:04:03] <-- julien- has left IRC (*.net *.split)
[04:04:04] <-- Kirben has left IRC (*.net *.split)
[04:04:04] <-- ettin has left IRC (*.net *.split)
[04:04:05] <-- servus has left IRC (*.net *.split)
[04:05:53] --> Colourless has joined #exult
[04:05:53] --> julien- has joined #exult
[04:05:53] --> Kirben has joined #exult
[04:05:53] --> ettin has joined #exult
[04:05:53] --> servus has joined #exult
[04:06:14] <-- Colourless has left IRC (*.net *.split)
[04:06:16] <-- julien- has left IRC (*.net *.split)
[04:06:16] <-- Kirben has left IRC (*.net *.split)
[04:06:16] <-- ettin has left IRC (*.net *.split)
[04:06:18] <-- servus has left IRC (*.net *.split)
[04:08:29] --> Colourless has joined #exult
[04:08:29] --> julien- has joined #exult
[04:08:29] --> Kirben has joined #exult
[04:08:29] --> ettin has joined #exult
[04:08:29] --> servus has joined #exult
[04:09:36] <-- Colourless has left IRC (*.net *.split)
[04:09:38] <-- julien- has left IRC (*.net *.split)
[04:09:38] <-- Kirben has left IRC (*.net *.split)
[04:09:38] <-- ettin has left IRC (*.net *.split)
[04:09:39] <-- servus has left IRC (*.net *.split)
[04:14:34] --> Colourless has joined #exult
[04:14:34] --> julien- has joined #exult
[04:14:34] --> Kirben has joined #exult
[04:14:34] --> ettin has joined #exult
[04:14:34] --> servus has joined #exult
[04:15:33] <-- Colourless has left IRC (*.net *.split)
[04:15:35] <-- julien- has left IRC (*.net *.split)
[04:15:35] <-- Kirben has left IRC (*.net *.split)
[04:15:36] <-- ettin has left IRC (*.net *.split)
[04:15:38] <-- servus has left IRC (*.net *.split)
[04:15:39] <-- Marzo has left IRC (*.net *.split)
[04:15:39] <-- jvlee has left IRC (*.net *.split)
[04:18:39] --> servus has joined #exult
[04:18:39] --> ettin has joined #exult
[04:18:39] --> Kirben has joined #exult
[04:18:39] --> julien- has joined #exult
[04:18:39] --> Colourless has joined #exult
[04:18:39] --> Marzo has joined #exult
[04:18:39] --> jvlee has joined #exult
[04:29:33] <-- Marzo has left IRC (Ping timeout: 260 seconds)
[05:34:03] --> shazza has joined #exult
[05:34:12] --> shazza` has joined #exult
[07:15:49] --> RadoS has joined #exult
[08:19:29] --> jvlee_ has joined #exult
[08:22:25] <-- jvlee has left IRC (Ping timeout: 260 seconds)
[08:22:25] --- jvlee_ is now known as jvlee
[08:28:43] <-- shazza has left IRC (Ping timeout: 260 seconds)
[08:28:50] <-- shazza` has left IRC (Ping timeout: 276 seconds)
[09:45:05] --> Dominus has joined #exult
[09:45:05] --- ChanServ gives channel operator status to Dominus
[09:50:34] <Dominus> wjp or colourless when you time sometime today, I have reproducable crash with sfx on Mac PPC, perhaps a fault of SDL 1.2.x mercurial (r what to call their 1.2.x branch these days). BT of gdb http://pastebin.com/aHj2FmtB
[09:56:42] <Colourless> unlikely to be sdl prob
[09:57:38] <Dominus> ok
[09:58:09] <Dominus> I can reproduce this with the ppc binary on the intel machine as well
[10:00:50] <Colourless> my 'guess' is a mistake with endian issues
[10:01:18] <Colourless> the bt is no where near detailed enough for me to guess what.
[10:02:06] <Colourless> or its just doing something like running over the end of a buffer. would need to examine the code myself
[10:04:03] <Colourless> will probably look at it later in the week
[10:05:00] <Dominus> thanks, I "called" you because it is an audio issue
[11:34:00] --> Marzo has joined #exult
[12:00:16] --> shazza has joined #exult
[12:00:21] --> shazza` has joined #exult
[13:26:50] <-- Kirben has left IRC ()
[13:52:56] --> Rottingbeef has joined #exult
[13:54:23] <Dominus> hmm, it's strange, nethertheless. Current SVN with release SDL 1.2.14 does produce working ppc built in my macports build environment. I'm still trying to get behind what is different there...
[13:55:28] <Dominus> *I* must be doing something wrong
[14:36:06] <-- Marzo has left IRC (Read error: Connection reset by peer)
[14:36:16] --> Marzo has joined #exult
[15:08:24] <-- shazza has left IRC (Ping timeout: 258 seconds)
[15:08:30] --> shazza has joined #exult
[15:08:43] <-- shazza` has left IRC (Ping timeout: 260 seconds)
[15:08:50] --> shazza` has joined #exult
[16:01:53] <Dominus> colourless, it *seems* that it is a problem introduced by a little endian change in sdl_config.h in SDL 1.2x dev
[16:02:33] <Dominus> they changed /* Endianness */
[16:02:33] <Dominus> #define SDL_BYTEORDER 1234
[16:02:53] <Dominus> to irc://irc.freenode.net/#define SDL_BYTEORDER 4321
[16:03:27] <Dominus> reverting this doesn't seem to crash Exult anymore, but I need to further confirm this... just a long compile away :)
[16:34:20] <-- ettin has left IRC (Ping timeout: 265 seconds)
[16:35:06] --> ettin has joined #exult
[16:36:51] <wjp> Dominus: that's something that is set by SDL's configure script
[16:37:37] <wjp> Dominus: if it's wrong, then SDL's configure mis-detected your platform's endianness. (Or that header was generated on a different system?)
[17:20:35] <Dominus> ah, hmm, that could be with my handling of two different systems right now...
[17:31:12] <Dominus> hmm, the file was generated on the same system but once per macports install mechanism and the other "manual" (autogen, configure) by me... more testing to be done...
[17:37:38] * wjp compiles an exult from 2007 to see how old that 'avatar can do stuff while unconscious' bug is
[17:38:05] <Dominus> he he
[17:41:29] <wjp> ok, old
[18:15:50] <Dominus> "my problem" is definitely related to the current source of sdl. same environment with macports, SDL 1.2.14 does work but has wrong colors, 1.2.1x has the correct colors but crashes in sfx :(
[18:16:39] <wjp> I guess PPC OS X might not be getting enough attention :-(
[18:18:01] <Dominus> yeah... and I can understand the reasoning... :)
[19:45:24] <Dominus> before I go to bed: interestingly changing the byte order and cross compiling for ppc on the intel machine gave me a working ppc built. doing the same before compiling for the ppc machine gave me a crash :)
[19:45:30] <Dominus> now bed time :)
[19:49:32] <-- Dominus has left IRC (Quit: Leaving.)
[20:23:44] <-- ettin has left IRC (*.net *.split)
[20:23:44] <-- Marzo has left IRC (*.net *.split)
[20:23:45] <-- Colourless has left IRC (*.net *.split)
[20:23:47] <-- julien- has left IRC (*.net *.split)
[20:23:49] <-- servus has left IRC (*.net *.split)
[20:26:18] --> ettin has joined #exult
[20:26:18] --> Marzo has joined #exult
[20:26:18] --> Colourless has joined #exult
[20:26:18] --> julien- has joined #exult
[20:26:18] --> servus has joined #exult
[20:27:27] <-- ettin has left IRC (*.net *.split)
[20:27:27] <-- Marzo has left IRC (*.net *.split)
[20:27:31] <-- Colourless has left IRC (*.net *.split)
[20:27:34] <-- julien- has left IRC (*.net *.split)
[20:27:37] <-- servus has left IRC (*.net *.split)
[20:28:23] --> ettin has joined #exult
[20:28:23] --> Marzo has joined #exult
[20:28:23] --> servus has joined #exult
[20:28:23] --> julien- has joined #exult
[20:28:23] --> Colourless has joined #exult
[20:29:31] <-- ettin has left IRC (*.net *.split)
[20:29:31] <-- Marzo has left IRC (*.net *.split)
[20:29:33] <-- Colourless has left IRC (*.net *.split)
[20:29:35] <-- julien- has left IRC (*.net *.split)
[20:29:37] <-- servus has left IRC (*.net *.split)
[20:30:46] --> ettin has joined #exult
[20:30:46] --> Marzo has joined #exult
[20:30:46] --> Colourless has joined #exult
[20:30:46] --> julien- has joined #exult
[20:30:46] --> servus has joined #exult
[20:32:13] <-- Colourless has left IRC (Ping timeout: 240 seconds)
[20:34:08] --> Colourless has joined #exult
[20:34:08] --- ChanServ gives channel operator status to Colourless
[21:08:43] <wjp> Marzo / Colourless: any ideas on preventing the avatar from doing things while asleep?
[21:09:49] <wjp> the original seems to not react at all to most things when you're asleep. Not even toggling combat mode for example
[21:10:04] <wjp> but I'm not sure where to insert the check(s) for this
[21:13:16] <wjp> "all over the place" is not the answer I'm hoping for, but it might be... :-(
[21:14:02] <Marzo> It will probably be 'all over the place' :-)
[21:15:03] <Marzo> I will take a look at it; most of the key actions can probably gain an extra data bit which will allow filtering
[21:16:03] <Marzo> (keys.h and keys.cc)
[21:17:34] <Marzo> The mouse will probably require fiddling with mouse.cc
[21:21:59] <Marzo> wjp: in keys.cc:67-214 is the action list data. Adding an extra parameter to disable most keyboard actions could be done there, then checked in KeyBinder::DoAction (line 307 of the same file)
[21:23:50] <Marzo> Mouse actions are not, however, in mouse.cc
[21:25:16] <Marzo> Ah, it is in exult.cc:1351 (Handle_event)
[21:29:20] <wjp> only two things seem to work while asleep: double-clicking on the avatar to open the save-game menu (strangely), and pressing z
[21:29:59] <wjp> pressing s to open the save-game menu also works
[23:14:44] --> Kirben has joined #exult
[23:14:44] --- ChanServ gives channel operator status to Kirben