#exult@irc.freenode.net logs for 9 Mar 2001 (GMT)

Archive Today Yesterday Tomorrow
Exult homepage


[00:08:20] --> Kirben has joined #exult
[01:29:15] --> matt0 has joined #exult
[01:33:54] <-- matt0 has left IRC (Laserdisc Arcade Emulation Project: http://daphne.rulecity.com , get your CVS password today! =])
[02:20:15] --> DraX has joined #exult
[02:21:13] <-- DraX has left IRC (bye? ..(sph))
[03:14:43] <-- exultbot has left IRC (signing off...)
[03:15:29] --> exultbot has joined #exult
[03:22:05] <-- Kirben has left IRC (Read error to Kirben[co3007967-a.brasd1.vic.optushome.com.au]: Connection reset by peer)
[06:46:35] --> matt0 has joined #exult
[07:16:11] <-- matt0 has left IRC (Laserdisc Arcade Emulation Project: http://daphne.rulecity.com , get your CVS password today! =])
[08:00:49] --> wjp has joined #exult
[15:38:41] <-- wjp has left IRC ([x]chat)
[15:56:33] --> wjp has joined #exult
[18:41:50] <-- wjp has left IRC ([x]chat)
[21:00:43] --> wjp has joined #exult
[21:56:49] <-- exultbot has left IRC (signing off...)
[21:57:34] --> exultbot has joined #exult
[22:05:15] <chimera|work> EXULTBOT!!!!!
[22:05:31] <chimera|work> this is indeed an unexpected honor!
[22:13:53] <wjp> ROFL
[22:14:09] --- wjp is now known as wjp|tv
[22:14:10] <wjp|tv> bbl
[22:39:48] --> freedman has joined #Exult
[22:39:56] <freedman> hellooooo
[22:40:24] <chimera|work> hey freedman
[22:40:43] <freedman> Hi. anything new?
[22:41:47] <chimera|work> no =]
[22:42:30] <chimera|work> you had best not do that, Avatar...
[22:44:32] <freedman> :-) I'm also stuck at work... Trying to debug code I didn't write, but managed to mess up.
[22:46:01] <chimera|work> I hate when that happens
[22:46:52] <freedman> And still trying to figure out the Win32 hang when Exult quits.
[22:50:29] <chimera|work> the printf statements didn't do the trick, eh? hehe
[22:52:06] <freedman> Better than nothing. I know where it's hanging in SDL, and got the source.
[22:52:27] <freedman> Now I need to compile SDL from source, and put printf's there.
[22:52:54] <freedman> ...or, just cheat and do a KillThread on the offending audio thread.
[22:53:36] <chimera|work> so it's crashing inside the SDL DLL ?
[22:55:07] <chimera|work> VC++ definitely works in debug mode with SDL's DLLs =]
[22:55:28] <freedman> I think it's hanging, waiting for the audio thread to terminate.
[22:55:33] <chimera|work> if you could provide a barebones program that initializes the audio and shuts it down again (with the crash) I could easily trace it with VC++
[22:55:58] <chimera|work> even the highly unstable smpeg works with VC++'s debugger.. i was using it the other day hehe
[22:56:03] <freedman> Thanks. I may try that this weekend.
[22:56:22] <freedman> That's good to know.
[22:56:35] <freedman> But what if the simple program doesn't hang:-(
[22:59:24] <chimera|work> =(
[23:00:00] <chimera|work> sorry for the ignorant question, but is exult still using sdl mixer?
[23:03:39] --- wjp|tv is now known as wjp
[23:03:49] <wjp> hi Jeff; hey Matt
[23:03:53] <chimera|work> wjp!
[23:04:01] <freedman> You mean the extra library? I don't think so.
[23:04:07] <freedman> Hi, wjp!
[23:04:13] <wjp> no, it doesn't use SDL_mixer
[23:04:23] <chimera|work> sdl mixer is cool =]
[23:04:48] <freedman> This is my first real foray into the audio code. I preferred to be blissfully ignorant:-)
[23:05:00] <wjp> yeah, I know the feeling :-)
[23:05:01] <chimera|work> yeah.. =(
[23:05:32] <wjp> I'm glad the cross-compiling worked, btw
[23:05:36] <freedman> Those changes I made didn't help at all. What does SDL mixer do?
[23:06:05] <freedman> ... okay, I guess it mixes:-)
[23:06:15] <wjp> yes, that would be my guess too ;-)
[23:07:16] <chimera|work> sdl mixer allows you to have many channels of audio playing simultaneously
[23:07:36] <chimera|work> it also allows for a music file to be playing in the background (such as an mp3) at the same time
[23:07:47] <chimera|work> and it has timidity compiled into it too
[23:07:53] <chimera|work> so it supports midi as well
[23:08:26] <freedman> Can we still do hardware midi with it?
[23:08:27] <chimera|work> the use I am putting it to at the moment is playing an mpeg1 stream and mixing in wave files at the same time
[23:08:55] <chimera|work> well... if you've gotten everything working WITHOUT it, I'd say you don't need it
[23:09:04] <chimera|work> I don't know whether you can do hardware midi, but I kind of doubt it
[23:09:12] <wjp> timidity is compiled into it?
[23:09:15] <chimera|work> yeah
[23:09:29] <chimera|work> I haven't actually tried it in windows to see what happens though hehe
[23:10:19] <freedman> Maybe we better stick with our home-grown (Dancer's) mixer for now. At least we mostly understand it.
[23:11:26] <chimera|work> dancer whipped up his own mixer?
[23:12:35] <chimera|work> and his mixer was recently revised to support 16 bit sound?
[23:14:56] <freedman> Yes.
[23:18:02] <wjp> btw, someone offered to do some paperdoll art last night
[23:18:12] <chimera|work> hehe
[23:18:14] <wjp> I'm getting some sample images ready for him
[23:19:00] <wjp> tiny problem: the gimp doesn't seem to keep the same palette when outputting indexed images
[23:19:19] <wjp> so I'll probably have to write a small .shp -> .pcx converter or something :-(
[23:19:40] <chimera|work> dang the gimp!
[23:19:57] <wjp> it doesn't handle indexed images properly :-(
[23:20:07] <wjp> (or maybe I just don't know how)
[23:20:53] <freedman> What does Tristan's plugin do?
[23:21:07] <wjp> it loads images into the gimp, and saves images from the gimp
[23:22:05] <wjp> hmm... now it does seem to preserve the palette
[23:22:13] <wjp> maybe I did something wrong last time I tried
[23:22:35] * chimera|work chuckles at wjp's confusion
[23:22:46] <wjp> grr ;-)
[23:22:50] <chimera|work> sorry hehe
[23:22:54] * chimera|work repairs of his evil deeds
[23:23:45] <wjp> maybe I should write a .shp -> .pcx converter anyway
[23:23:52] <wjp> commandline tools are useful
[23:24:30] <wjp> it's a lot faster than GUI's for these kind of repetitive tasks :-)
[23:25:44] <freedman> Why are there so many graphics formats??
[23:25:59] <wjp> heh, good question
[23:31:21] --> Fingolfin has joined #exult
[23:31:27] <wjp> hi Max
[23:31:31] <chimera|work> max payne!
[23:31:49] <wjp> ?
[23:31:56] <Fingolfin> hi folks
[23:31:58] <Fingolfin> chimera: hrm?
[23:32:21] <Fingolfin> chimera: you are speaking in riddles ;)
[23:32:31] <Fingolfin> richard wouldn't like you to do that ;)
[23:32:44] <wjp> hehe :-)
[23:32:44] * Fingolfin is about halfway through the blood of the fold
[23:32:49] <chimera|work> Richard Garriott?
[23:32:55] <chimera|work> ohhh Richard Cypher!
[23:33:01] <chimera|work> he rules =]
[23:33:22] <freedman> Anyone bring beer?
[23:33:44] <chimera|work> no
[23:33:46] <Fingolfin> hmmm?
[23:33:47] <Fingolfin> where's beer?
[23:33:54] <chimera|work> hier
[23:34:04] <Fingolfin> <g>
[23:34:15] <wjp> wow, dutch and german at the same time!
[23:34:24] <Fingolfin> yeah ;)
[23:34:26] <chimera|work> macht es was wenn ich Rhuelpsen ?
[23:34:41] <Fingolfin> d(e)ut(s)ch
[23:34:41] <Fingolfin> <g>
[23:36:11] <wjp> :-)
[23:36:23] <freedman> Okay, where's bier?
[23:36:29] <wjp> show-off :-)
[23:36:30] * chimera|work cracks freedman's beer-loving pate
[23:36:47] <Fingolfin> oh well, I don't really like beer that much anyway ;)
[23:37:08] <freedman> Sorry - 20 weeks of German a looong time ago.
[23:37:17] <Fingolfin> so, maybe I should see if audio is running on MacOS now after you all dabbled with it? ;)
[23:37:38] <freedman> Okay. At least, there should no longer be any mem dealocation in the thread.
[23:37:39] <chimera|work> Fingolfin: yes
[23:37:51] <wjp> argh... this is getting annoying... I should really write a shp->pcx
[23:37:56] <freedman> What happened on Mac before? Crashing?
[23:38:04] <chimera|work> go wjp!
[23:38:09] <Fingolfin> last time I tried, it didn't work - it quit the app immediatly when speech started
[23:38:13] <Fingolfin> not really a crash
[23:38:17] <Fingolfin> wjp: go go go!
[23:38:24] <Fingolfin> it just quit silently... I will try again...
[23:38:36] <Fingolfin> oh, I forgot to check its stderr back then! will do now if necessary
[23:39:01] <freedman> So sound has never worked on the Mac? It would be nice if we could fix that.
[23:39:09] <Fingolfin> it used to work!
[23:39:12] <wjp> hmm... it's a bit ugly to copy-paste code from u7shp.c and from savepcx.cc
[23:39:23] <Fingolfin> well, sound... midi never worked since I never wrote a midi driver
[23:39:50] <wjp> what's that mac_midi.cc, then?
[23:40:06] <freedman> You could try playing with the playwave() method. It works on Linux.
[23:40:37] <Fingolfin> wjp: a no-op
[23:40:44] <wjp> ah, I see
[23:42:55] <Fingolfin> hm, it quit again...
[23:43:04] <Fingolfin> last things on stderr:
[23:43:05] <Fingolfin> Turn chunks to block
[23:43:05] <Fingolfin> Create_Audio_Stream()
[23:43:05] <Fingolfin> Create_Audio_Stream: 0
[23:43:18] <Fingolfin> last things on stdout:
[23:43:18] <Fingolfin> Chunk length appears to be 528002
[23:43:18] <Fingolfin> Sample rate (10752) = _real_rate
[23:43:18] <Fingolfin> compression type 0
[23:43:18] <Fingolfin> Channels 122
[23:43:19] <Fingolfin> Terminator
[23:43:56] <freedman> Can you debug on the Mac?
[23:44:08] <Fingolfin> yeah of course ;)
[23:44:11] <Fingolfin> that was just a first try
[23:44:14] <chimera|work> Fingolfin: have you ever written your own SDL audio program?
[23:44:23] <Fingolfin> nope :/
[23:44:30] <Fingolfin> anyway, I'll try to dig into it
[23:44:42] <Fingolfin> btw, what is the quickest way to test audio? the sound tester I guess?
[23:48:32] <Fingolfin> what is the key combo for the sound tester, anyway?
[23:48:56] <wjp> alt-1 or ctrl-1 I think
[23:49:07] <wjp> alt-1
[23:49:55] <chimera|work> Fingolfin: I'd recommend you play around with sdl mixer.. it's realy easy to play wave files with it
[23:50:05] <chimera|work> that would be a godo way to get your feet wet with sdl audio hehe
[23:50:13] <chimera|work> (if you wanted to get your feet wet that is!)
[23:50:21] <Fingolfin> well
[23:50:57] <Fingolfin> I can't get the sound tester to do anything
[23:51:06] <Fingolfin> neither crash/quit nor play audio...
[23:51:35] <Fingolfin> but stderr is big, lemme check that
[23:52:25] <Fingolfin> it seems to do something, but doesn't play anything actually ... hmmm
[23:52:32] <Fingolfin> sound in Chromium works fine, OTOH