#nuvie@irc.freenode.net logs for 16 Feb 2004 (GMT)

Archive Today Yesterday Tomorrow
Nuvie homepage


[00:10:54] --> Kirben has joined #nuvie
[10:56:01] --> Yuv422 has joined #nuvie
[11:06:34] <wjp> hi
[11:06:39] <Yuv422> hi
[11:07:00] <Yuv422> How's things?
[11:07:17] <wjp> somewhat busy, mostly :-)
[11:07:37] * wjp still didn't get around to trying to run nuvie with sound
[11:07:42] <Yuv422> hehe
[11:07:45] <wjp> at least it does compile :-)
[11:07:56] <Yuv422> well I'll be commiting some new sound code soon
[11:08:15] <Yuv422> so you can play the original .m files without a songs.cfg file
[11:21:39] <wjp> that sounds useful :-)
[11:22:10] <Yuv422> I'm just writing the ChangeLog
[11:24:10] <Yuv422> ok those changes are in cvs now
[11:24:30] <Yuv422> the soundmanager is a bit of a mess at the moment
[11:24:42] <Yuv422> it needs cleaning.
[11:25:09] <Yuv422> I also need to increase the sound buffer
[11:30:15] <Kirben> Still crashes here:
[11:30:16] <Kirben> Program received signal SIGSEGV, Segmentation fault.
[11:30:17] <Kirben> 0x0042b962 in SoundManager::update() (this=0xfbfce0) at sound/SoundManager.cpp:509
[11:30:17] <Kirben> 509 if (!m_pCurrentSong->Play (false))
[11:30:17] <Kirben> (gdb) bt
[11:30:18] <Kirben> #0 0x0042b962 in SoundManager::update() (this=0xfbfce0) at sound/SoundManager.cpp:509
[11:30:20] <Kirben> #1 0x0044a4a2 in Game::play() (this=0xfba960) at Game.cpp:225
[11:30:22] <Kirben> #2 0x004620dd in Nuvie::play() (this=0xfb2670) at nuvie.cpp:117
[11:30:24] <Kirben> #3 0x00461acc in main (argc=1, argv=0xfb2600) at main.cpp:51
[11:30:45] <Yuv422> hmm
[11:34:11] <Yuv422> maybe you have issues initialising the songs
[11:35:23] <Yuv422> does it give any errors on stdout?
[11:35:53] <Kirben> No, doesn't seem to get created.
[11:36:01] <Yuv422> :(
[11:36:27] <Yuv422> is that a SDL compile setting?
[11:38:31] <Kirben> Yes, sdl 1.2.6 and sdl mixer 1.2.5
[11:38:55] <Kirben> oh you mean output files.
[11:39:25] <Kirben> I'm not sure how to force them to be created and kept.
[11:40:38] <Yuv422> you don't have NO_STDIO_REDIRECT set do you?
[11:40:41] <Kirben> Let me try a hack from another project..
[11:40:56] <Kirben> No
[11:46:51] <Yuv422> is your sounddir set?
[11:48:15] <Kirben> I tried removing it already, no difference.
[11:48:54] <Yuv422> it won't work with out a sounddir
[11:49:00] <Yuv422> in the version you have
[11:49:33] <Yuv422> I've just fixed that
[11:54:00] <Kirben> Adding it back doesn't help either.
[11:54:37] <Yuv422> it sounds like you don't have any songs in the random group to play
[11:54:47] <Yuv422> so it is trying to play a null pointer
[11:55:15] <Yuv422> were you able to get stdout going?
[11:55:25] <Kirben> no luck
[11:56:08] <Yuv422> could you break at this line and see what happens
[11:56:15] <Yuv422> m_pCurrentSong = SoundManager::RequestSong (next_group);
[11:58:10] <Kirben> How would I do that ? only know basics of gdb.
[11:58:30] <Yuv422> hmm
[11:59:06] <Yuv422> don't worry then. :)
[11:59:13] <Kirben> ok
[12:01:37] <Yuv422> I've added some slight changes to cvs
[12:01:45] <Yuv422> if shouldn't crash any more
[12:02:01] <Yuv422> but you probably won't here any music yet. :(
[12:02:10] <Yuv422> if/it
[12:05:51] <Yuv422> you could try changing line 111
[12:05:53] <Yuv422> to
[12:06:13] <Yuv422> Uint16 audio_format = AUDIO_S16;
[12:06:29] <Yuv422> not sure if that would do anything though
[12:15:08] <Yuv422> you could try compiling SDL with the NO_STDIO_REDIRECT define set
[12:15:23] <Yuv422> this should cause all stdio to go to the console?
[12:16:55] <Yuv422> maybe stdout.txt is ending up in the windows system directory?
[12:17:07] <Yuv422> I guess not
[12:20:09] <Kirben> Sorry was away from computer for awhile, checking now...
[12:21:31] <Kirben> cvs no longer crashes and music works :)
[12:23:40] <Yuv422> cool
[12:24:08] <Yuv422> where did you have your sounddir?
[12:24:24] <Kirben> as sub directory of nuvie.
[12:24:38] <Yuv422> sorry I ment where in the config structure?
[12:25:07] <Kirben> right after datadir
[12:25:17] <Yuv422> it should have been in the ultima tag
[12:25:22] <Yuv422> ultima6
[12:26:47] <Yuv422> hehe
[12:26:55] <Yuv422> I guess that wasn't very clear
[12:26:58] <Yuv422> or intuitive
[12:27:04] <Kirben> ah my mistake after all.
[12:27:18] <Yuv422> does the music song alright?
[12:27:32] <Yuv422> hehe it's getting late
[12:27:45] <Yuv422> song/sound
[12:28:05] <Kirben> Yes music sounds ok.
[12:28:10] <Yuv422> :)
[12:28:12] <Kirben> Does music work in SE or MD too ?
[12:28:17] <Yuv422> hehe no
[12:28:23] <Yuv422> they use a different format
[12:28:34] <Yuv422> well at least the container format is different
[12:28:43] <Yuv422> I haven't looked into it in much detail
[12:29:08] <Yuv422> hopefully they are just .m files packed into a single library file
[12:29:38] <Yuv422> could you play MD/SE music on an adlib board?
[12:30:22] <Yuv422> time for bed
[12:30:27] <Yuv422> cya
[12:30:34] <-- Yuv422 has left IRC ("[BX] OH SHIT!\13")
[12:36:22] <Kirben> Yes adlib was an option in installer of both SE and MD.
[12:36:36] <Kirben> Seems like they had better sfx too.
[12:36:45] <Kirben> Not just pc speaker.
[15:18:05] --> laxdragon has joined #nuvie
[15:21:12] <-- Kirben has left IRC ("System Meltdown")
[22:16:24] --> Kirben has joined #nuvie