#exult@irc.freenode.net logs for 7 Feb 2001 (GMT)

Archive Today Yesterday Tomorrow
Exult homepage


[00:14:53] <-- exultbot has left IRC (signing off...)
[00:14:58] --> exultbot has joined #exult
[00:14:58] --- Topic for #exult is: Exult, the open source Ultima 7 and U7 part 2 engine
[00:14:58] --- Topic for #exult set by ChanServ at Tue Feb 6 22:00:21 2001
[00:24:32] <-- Kirben has left IRC (Ping timeout for Kirben[co3007967-a.brasd1.vic.optushome.com.au])
[00:25:45] --> Kirben has joined #exult
[03:28:28] <-- matt0 has left IRC (Laserdisc Arcade Emulation Project: http://daphne.rulecity.com , get your CVS password today! =])
[03:30:54] --> matt0 has joined #exult
[04:08:12] <-- chimera|work has left IRC (devlin.openprojects.net pohl.openprojects.net)
[04:08:12] <-- Kirben has left IRC (devlin.openprojects.net pohl.openprojects.net)
[04:08:36] --> chimera|work has joined #exult
[04:08:36] --> Kirben has joined #exult
[04:31:15] --> Dalroth has joined #exult
[04:32:08] <Dalroth> has the saved game format changed between a recent CVS build and the last alpha? I've got saved game that goes all screwy with newer CVS builds, but I don't want to bother anybody if the saved format changed
[04:33:46] <-- Dalroth has left IRC ()
[05:36:19] <-- matt0 has left IRC (Laserdisc Arcade Emulation Project: http://daphne.rulecity.com , get your CVS password today! =])
[07:01:51] <-- Kirben has left IRC (Read error to Kirben[co3007967-a.brasd1.vic.optushome.com.au]: Connection reset by peer)
[10:20:02] --> Kirben has joined #exult
[11:12:49] --> Colourless has joined #Exult
[11:13:56] <Colourless> hi Kirben
[11:17:08] <Kirben> Hi
[13:02:32] <-- Kirben has left IRC (Ping timeout for Kirben[co3007967-a.brasd1.vic.optushome.com.au])
[15:11:39] --> Cless has joined #Exult
[15:13:05] <-- Colourless has left IRC (Ping timeout for Colourless[ppp159.adelaide.on.net.au])
[15:20:23] --- Cless is now known as Colourless
[15:32:55] <-- chimera|work has left IRC (Read error to chimera|work[holladay.cb-travel.com]: Connection reset by peer)
[15:33:08] --> chimera|work has joined #exult
[16:02:04] --> wjp has joined #exult
[16:02:15] <wjp> hi
[16:02:22] <Colourless> hi
[16:09:15] <Colourless> press 'H' or 'Ctrl-H' in Exult is causing a freeze for me
[16:09:54] <wjp> may be the same endline thing as in expack
[16:10:47] <Colourless> I doubt it, but I'll check
[16:10:55] <wjp> (I copied the file reading code from expack :-) )
[16:14:15] <Colourless> every other key works. Those two specifically cause a freeze
[16:14:43] <wjp> they're the only ones that print info from the keybindings file
[16:15:27] <wjp> everything behind a '#' on a keybinding-line is reported as a description in the help screen
[16:15:51] <wjp> the printing routines may choke on the \r's at the end that getline doesn't strip
[16:16:43] <Colourless> stupid dos conventions
[16:18:36] <wjp> yeah :-(
[16:21:34] <Colourless> yep, that was the problem
[16:21:47] <Colourless> save the config in UNIX format and it worked fine
[16:21:59] <Colourless> that should be saved
[16:22:58] <Colourless> now, how to fix it
[16:23:17] <wjp> strip trailing \r's?
[16:23:37] <wjp> make whatever routine crashes more robust?
[16:23:55] <Colourless> i think this problem may show up elsewhere in places we haven't considered.
[16:24:20] <Colourless> It's partly an EXPACK problem
[16:24:37] <wjp> it is kind of weird that our data files are platform specific, yes
[16:24:55] <Colourless> Any flx that is created on a Win32 based system with text files is going to cause problems
[16:26:09] <Colourless> the text file is read in binary mode when creating the flx, and then written in binary mode. Ideally the file should be read in text mode and written in binary
[16:27:03] <Colourless> problem: how to detect a text file when creating a flex
[16:27:41] <wjp> require a .txt extension?
[16:28:28] <Colourless> that is probably the best solution. default.key would need to be renamed
[16:28:44] <wjp> defaultkeys.txt?
[16:28:59] <Colourless> works for me
[16:34:34] <wjp> I'm going home; see you later
[16:34:47] <Colourless> ok. i'll make the change and commit it
[16:34:52] <wjp> k
[16:34:57] <-- wjp has left IRC ([x]chat)
[16:50:49] --> wjp has joined #exult
[17:14:34] <Colourless> ok, my changed have been committed. hopefully i didn't break anything
[17:14:46] <wjp> k
[17:14:56] <wjp> updating...
[17:17:08] <Colourless> I could have committed everything that i've changed, but i'm not ready yet... :)
[17:17:17] <wjp> :-)
[17:18:56] <Colourless> What happens if a key is bound to a action that doesn't exist? :)
[17:20:25] <wjp> generates a parse error, the line is then ignored
[17:21:26] <Colourless> because I accidently commited a change to defaultkeys.txt, that i wasn't supposed to. I thought I removed all my additions, but I forgot one (F2). :)
[17:21:40] <wjp> :-)
[17:21:58] <wjp> cheat_screen
[17:22:13] <wjp> Keybinder: unsupported action: CHEAT_SCREEN
[17:22:38] <wjp> bbl, dinner's ready
[17:23:24] <Colourless> ok
[17:41:35] <wjp> Jeff put 0.91alpha2 in NEWS and 0.99.1alpha2 in configure.in :-)
[17:43:15] <Colourless> So i hear. I think that 0.91 should be used
[17:44:00] <wjp> yeah, only minor issue is that the current CVS versions used 0.99
[17:44:23] <Colourless> what exactly happened?
[17:44:44] <wjp> dunno, someone just put 0.99 there some time ago
[17:45:40] <Colourless> hmmm. well it could be changed.
[17:47:33] <wjp> yeah, going backward is a bit weird, but that shouldn't matter much
[18:30:49] --> Fingolfin has joined #exult
[18:31:07] <Fingolfin> lo
[18:31:21] <Colourless> hi
[18:34:28] <wjp> hi
[18:39:00] --> Nadir has joined #exult
[18:39:09] <Nadir> what a crowd !!!
[18:39:24] <wjp> hi :-)
[18:39:24] <Colourless> hello
[18:40:58] <Fingolfin> lo nadir ;)
[18:41:18] <Nadir> max, do you have some time ?
[18:41:27] <Fingolfin> now we need Dancer and Jeff ;)
[18:41:30] <Fingolfin> Nadir: yes
[18:49:55] <Fingolfin> oh yeah
[18:50:03] <Fingolfin> I haven't seen jameson here for a long time now :/
[18:50:06] <wjp> Colourless: what kind of linebreaks does expack produce in windows atm?
[18:50:11] <wjp> ?seen jameson
[18:50:11] <exultbot> jameson left #exult around Tue Feb 6 03:43:27 2001 (GMT)
[18:50:22] <Nadir> We have a fairly serious problem with the audio subsystem...
[18:50:37] <Colourless> wjp: it will produce unix style
[18:51:02] <wjp> so it's not 75116 bytes?
[18:51:09] <wjp> s/not/now/
[18:51:40] <Fingolfin> wjp: oh, I wasn't aware he was here yesterday
[18:51:47] <wjp> me neither :-)
[18:53:08] <Colourless> wjp: no, it's 75441. It appears to be writing data after the end of the text entries.
[18:53:57] <wjp> hmm
[18:54:03] <wjp> oh, I see
[18:54:32] <wjp> it writes 'filesize' bytes, which is too many
[18:54:52] <Colourless> my changes should have fixed that, but it appears they haven't
[18:55:01] <Nadir> Any problems related to expack are my fault :-(
[18:55:54] <wjp> Nadir: we (well Colourless, atm) are changing exult.flx to use unix-style linebreaks
[18:56:08] <wjp> (so the data file is platform independant)
[18:57:31] <Fingolfin> it would be nice if we had a FAQ-generator that takes in stuff like:
[18:57:32] <Fingolfin> ...
[18:57:32] <Fingolfin> <faqs>
[18:57:32] <Fingolfin> <group>
[18:57:32] <Fingolfin> <faq name="become_univ_ruler">
[18:57:32] <Fingolfin> <question>How do I become ruler of the universe?</question>
[18:57:34] <Fingolfin> <answer>First bla bla</answer>
[18:57:36] <Fingolfin> </faq>
[18:57:38] <Fingolfin> <faq name="current_univ_ruler">
[18:57:40] <Fingolfin> <question>Who is the current ruler of the univers?</question>
[18:57:41] <Nadir> Yep, I guessed that.
[18:57:42] <Fingolfin> <answer>See also <ref target="become_univ_ruler">.</answer>
[18:57:44] <Fingolfin> </faq>
[18:57:46] <Fingolfin> </group>
[18:57:48] <Fingolfin> ...
[18:57:50] <Fingolfin> </faqs>
[18:57:52] <Fingolfin> ...
[18:57:55] <Fingolfin> And then we generate HTML/Text/whatever from that, and it numbers the questions automatically etc.
[18:58:37] <Nadir> shall I commit the change to configure to set 0.91alpha2 ?
[18:58:48] <Colourless> i'm going to try a quick and slow hack.
[18:58:51] <wjp> Nadir: ok
[18:59:15] <wjp> Nadir: better change the Makefile.* too
[19:00:51] <Colourless> hmm, i guess that made no sence: quick and slow hack :)
[19:01:27] <Nadir> Colourless: s/sence/sense/
[19:01:46] <Colourless> yes, i often make that mistake. :)
[19:02:08] <Colourless> i got exult.flx down to 75,182
[19:02:11] <Nadir> Colourless: you should also use GMT for checkins :-)
[19:02:26] <Colourless> I asked about that yesterday :)
[19:02:37] <Colourless> that was meant for Nadir
[19:07:21] <Colourless> ah, i think i know why exult.flx is a different size, i have extra binds in defaultkeys.txt :)
[19:07:24] <wjp> hehe :-)
[19:07:41] <wjp> you should put them in a separate file :-)
[19:07:58] <Colourless> wjp: i'd love to but... :)
[19:08:06] <wjp> but?
[19:08:17] <Colourless> how would i use them :)
[19:08:39] <wjp> just specify the new file in exult.cfg
[19:09:16] <Colourless> What I'm doing is eventually going to be added to defaultkeys.txt anyway
[19:09:29] <wjp> k :-)
[19:10:11] <Nadir> Hmm, I entirely missed the e-mail discussions about version numbers... Is 0.91alpha2 good, or should we use 0.99.alpha2
[19:10:31] <Colourless> yay! it's 75,116 after removing my changes :)
[19:10:32] <wjp> hmm... it would be useful if you could 'import' the default keybindings in a custom file
[19:10:38] <wjp> Nadir: 0.91alpha2
[19:10:52] <wjp> excellent :-)
[19:11:11] <Nadir> Nobody listened when I mentioned the audio bug.
[19:11:17] <wjp> now we just need the MacOS version of expack to produce \n's instead of \r's
[19:11:20] <wjp> Nadir: audio bug?
[19:11:24] * wjp scrolls up
[19:11:56] <wjp> ah, I see
[19:12:00] <Fingolfin> no problem
[19:12:20] --> Cless has joined #Exult
[19:12:29] <Cless> the change i did was read every character using fgetc to calculate the size when reading text files, instead of fseek and ftell
[19:12:42] <Cless> should i commit?
[19:12:55] <wjp> so you read the entire file twice?
[19:13:16] <Cless> yes. efficent, isn't it. :)
[19:13:31] <-- Colourless has left IRC (Ping timeout for Colourless[ppp52.adelaide.on.net.au])
[19:13:38] <wjp> can't you just copy line by line, or in 4K blocks or something?
[19:13:38] --- Cless is now known as Colourless
[19:13:43] <wjp> (until EOF reached)
[19:13:54] <Fingolfin> hm, what happens if the source data for exult.flx grows to 600 MB???? you should think of the future! ;)
[19:14:26] <Colourless> i only do it to .txt files. I don't think we would have 600 mb of text files in exult.flx :)
[19:14:27] <wjp> heh :-)
[19:14:44] <Nadir> Basically, when we're producing streamed digital sounds, it allocates memory to accomodate the stream. This is ok for sfx or speech, because it releases it afterwards, but it becomes VERY noticeable when repeating Timidity tracks, because the stream is infinite...
[19:15:55] <wjp> so the buffer just keeps growing?!
[19:16:00] <Nadir> yep
[19:16:07] <wjp> ouch
[19:16:44] <Nadir> I ran exult under memprof (a graphical, Gnome-based memory/leak profiler) and you can just see it chewing up memory just leaving it in the main menu
[19:17:07] <Nadir> Obviously this is a non-issue if not using Timidity... :)
[19:18:05] <Colourless> my change to expack.cc is committed.
[19:22:15] <Fingolfin> me too ;)
[19:38:16] * wjp watches Exult's memory usage increase steadily
[19:38:57] <wjp> 64K/5sec?
[19:39:27] <Nadir> wjp: not good, eh ?
[19:39:52] <wjp> quite bad, in fact
[19:42:08] <wjp> does it free it when it stops the song?
[19:43:01] <Nadir> It does free it, but that's not good enough. I believe the problem arises from pop_front() in audio/pcb.h. It does not shrink the buffer.Instead of having one buffer, we need a list, where push_back adds a new buffer at the end, and pop_front removes buffers from the front once it's done with them
[19:43:32] <wjp> I see
[19:46:41] <Nadir> At least, that's what I gather from a quick glance...
[19:47:48] <wjp> it does look like it, yes
[19:49:16] <Nadir> gotta go. I'll try and fix it tomorrow.
[19:49:17] <Nadir> Bye
[19:49:19] <-- Nadir has left IRC (Core dumped)
[19:59:00] <Fingolfin> bbl
[19:59:06] <-- Fingolfin has left IRC (42)
[21:59:59] <wjp> I'm going to bed; bye
[22:00:04] <Colourless> ok
[22:00:06] <-- wjp has left IRC ([x]chat)
[22:00:08] <Colourless> cya
[22:05:22] <Colourless> me goes too ;-)
[22:05:48] <-- Colourless has left IRC (Bzzzz... The Internet has broken)
[22:07:28] --> freedman has joined #exult
[22:07:38] <freedman> Anybody home?
[22:08:19] <freedman> Exultbot?
[22:09:02] <freedman> Ah, well, guess I'm in the wrong timezone.
[22:09:05] <-- freedman has left IRC (Leaving)
[23:31:00] --> Fingolfin has joined #exult
[23:31:22] <Fingolfin> lo
[23:31:42] <Fingolfin> ?seen wjp
[23:31:42] <exultbot> wjp left IRC around Wed Feb 7 22:00:06 2001 (GMT) ([x]chat)
[23:31:44] <Fingolfin> ?seen jameson
[23:31:44] <exultbot> jameson left #exult around Tue Feb 6 03:43:27 2001 (GMT)
[23:31:46] <Fingolfin> ?seen nadir
[23:31:46] <exultbot> nadir left IRC around Wed Feb 7 19:49:19 2001 (GMT) (Core dumped)
[23:31:56] <Fingolfin> ?time
[23:31:56] <exultbot> It is now Wed Feb 7 23:31:56 2001 (GMT).
[23:35:27] <-- Fingolfin has left IRC (42)