#exult@irc.freenode.net logs for 16 Dec 2013 (GMT)

Archive Today Yesterday Tomorrow
Exult homepage

[00:18:49] --> cocochanel has joined #exult
[00:19:46] <-- cocochanel has left IRC (Remote host closed the connection)
[00:23:18] --> rakeoff has joined #exult
[00:24:43] <-- rakeoff has left IRC (Remote host closed the connection)
[00:39:16] --> Rottingbeef has joined #exult
[00:42:25] --> Baastuul has joined #exult
[00:45:55] <-- Rottingbeef has left IRC (Ping timeout: 260 seconds)
[00:57:32] <-- Baastuul has left IRC ()
[00:57:41] --> Rottingbeef has joined #exult
[01:04:24] <-- Rottingbeef has left IRC (Ping timeout: 252 seconds)
[01:10:56] --> Rottingbeef has joined #exult
[01:43:36] <-- Rottingbeef has left IRC (Ping timeout: 245 seconds)
[09:37:27] --> Matt_O1 has joined #exult
[09:40:28] <-- Matt_O has left IRC (Ping timeout: 240 seconds)
[14:08:50] <sh4rm4> i wonder why the walking speed in exult is so slow
[14:09:11] <sh4rm4> can it be due to too little fps ?
[14:09:25] <sh4rm4> however, the exult process uses only like 10% CPU
[14:23:52] <-- Dominus has left IRC (*.net *.split)
[14:25:37] --> Dominus has joined #exult
[14:25:47] --- ChanServ gives channel operator status to Dominus
[14:27:06] <Dominus> sh4rm4: no idea, for me the walking speed is very fast
[14:27:40] <Dominus> yo could adjust fps and make sure the green distance arrow is long when walking to walk fast
[14:27:53] <Dominus> (cursor needs to be far away from the Avatar)
[14:28:00] <sh4rm4> how can i adjust fps ?
[14:28:09] <sh4rm4> yes i know that i need the long cursor
[14:28:15] <Dominus> in the gameplay settings
[14:28:43] <Dominus> sh4rm4: Exult has *easy peasy" settings menu when you press Esc
[14:30:12] <Dominus> So when you wonder how to adjust something, hit Esc, and then when you want to asjust audio, select audio settings, when you want to adjust video options
[14:31:42] <sh4rm4> hmm why is 10 the max for fps ?
[14:32:51] <-- Marzo has left IRC (Ping timeout: 260 seconds)
[14:34:07] <sh4rm4> that you have to adjust the FPS manually to a reasonable value is not something you would except
[14:35:09] <sh4rm4> the game should basically say: "i need 24 FPS that everything runs smooth so i try my best to achieve that framerate. if not, the computer is too slow and the user has to live with a bad speed"
[14:39:07] --> Marzo has joined #exult
[14:40:03] <sh4rm4> "gumps pause game" should also be enabled by default
[14:48:05] <Dominus> sh4rm4: AFAIK gumps pause game is the default, and fps should be on the highest setting (10fps)
[14:48:47] <Dominus> but for some people the speed of 10fps was too fast that's why you can adjust it
[14:49:15] <Dominus> again, the defaults should be fine, if people have a problem, they shoudl read the manual
[14:50:00] <Dominus> why it is 10fps, no idea, no idea how that is measured, you can read code, you should be better quipped to find out
[14:51:06] <Dominus> I see that 5fps is the default
[14:51:20] <Dominus> but Gumps pause game is set to enabled by default
[15:06:54] <sh4rm4> i see
[15:07:03] <sh4rm4> 5 fps is like one step per second
[15:07:14] <sh4rm4> extrem z*h
[15:27:20] <-- RaDo has left IRC (Ping timeout: 264 seconds)
[15:27:20] <-- Dominus has left IRC (Ping timeout: 264 seconds)
[15:27:21] --> RaDo has joined #exult
[15:27:23] <-- RaDo has left IRC (Changing host)
[15:27:23] --> RaDo has joined #exult
[15:27:23] --- RaDo is now known as RadoS
[15:27:43] --> Dominus has joined #exult
[15:27:56] --- ChanServ gives channel operator status to Dominus
[15:50:43] --> Sev has joined #exult
[15:52:55] <sh4rm4> F2 opens the official cheat menu, right ?
[15:53:15] <sh4rm4> because it says "colourless advanced cheat screen"
[15:53:40] <sh4rm4> but it seems to lack basic functionality like [T]eleport to NPC
[15:56:03] <sh4rm4> the F5 (execute spell) cheat seems to be missing as well...
[15:57:34] <-- Sevalecan has left IRC (Ping timeout: 248 seconds)
[15:57:35] --- Sev is now known as Sevalecan
[16:15:31] --> Philantrop_ has joined #exult
[16:18:09] --> DominusExult has joined #exult
[16:18:18] --- ChanServ gives channel operator status to DominusExult
[16:18:20] <-- sh4rm4 has left IRC (*.net *.split)
[16:18:20] <-- Philantrop has left IRC (*.net *.split)
[16:18:22] <-- Dominus has left IRC (*.net *.split)
[16:18:42] --- Philantrop_ is now known as Philantrop
[16:18:47] <-- Philantrop has left IRC (Read error: Connection reset by peer)
[16:19:01] --- DominusExult is now known as Dominus
[16:19:02] <Dominus> grrr
[16:19:05] <Dominus> sh4rm4: the oficial cheat menu ishard coded in the original so we have our own official one
[16:19:06] <Dominus> Teleport to NPC is there but you have to choose the NPC first and the teleport option is there
[16:19:07] <Dominus> we don't have the execute spell option
[16:19:09] <Dominus> we have the arch wizard mode which gives you all spells but you need a spellbook
[16:19:10] <Dominus> if you want to add the spell option you will need to hand in a patch (and please a patch file and not a pastebin that loses its data after a while)
[16:19:25] <Dominus> I was missing that option myself 😊
[16:19:32] <Dominus> should be easy, open a full spellbook on a certain input
[16:25:16] --> Philantrop has joined #exult
[16:27:14] --> DominusExult has joined #exult
[16:27:24] <-- Dominus has left IRC (Ping timeout: 264 seconds)
[16:27:24] <-- RadoS has left IRC (Ping timeout: 264 seconds)
[16:27:27] --- ChanServ gives channel operator status to DominusExult
[16:27:48] --> RadoS has joined #exult
[16:28:05] --- DominusExult is now known as Dominus
[16:30:10] --> sh4rm4 has joined #exult
[16:30:33] <sh4rm4> hmm there's something fishy in the sound settings
[16:30:51] <sh4rm4> when i choose anything else than FMOPL, i get the message that starting forked_player failed
[16:33:27] <Dominus> sh4rm4: http://log.usecode.org/exultlog.php reply to your cheat questions... net split ate it
[16:34:00] <Dominus> as for forked player, maybe your audio something patch ate it :)
[16:35:09] <sh4rm4> no, that one just removes the broken SIGCHLD handler
[16:35:22] <sh4rm4> without the patch the game crashes as soon as i change the driver
[16:35:53] <wjp> it might be trying the selected driver, failing, and at some point trying forked as a fallback
[16:38:38] <-- Philantrop has left IRC (Ping timeout: 250 seconds)
[16:39:28] --> Philantrop has joined #exult
[17:01:29] --> ShamblerDK has joined #exult
[17:09:27] <-- Marzo has left IRC (Read error: Connection reset by peer)
[17:09:34] --> Marzo1 has joined #exult
[17:09:34] --- Marzo1 is now known as Marzo
[17:16:26] <-- Marzo has left IRC (Ping timeout: 264 seconds)
[17:17:23] --> Malignant_Manor has joined #exult
[17:17:38] <-- ShamblerDK has left IRC (Ping timeout: 264 seconds)
[17:17:47] <Malignant_Manor> You can add spells to the spellbook using Exult Studio.
[17:19:35] <Dominus> hi Malignant_Manor
[17:19:50] --> ShamblerDK has joined #exult
[17:20:10] <Dominus> I think the point is to have the spell cheat *without* neding the spellbook in your backpack
[17:20:26] <Dominus> Arch Wizard only gives you all spells when you have the spellbook
[17:24:02] --> ppolymer has joined #exult
[17:26:12] <-- ppolymer has left IRC (Remote host closed the connection)
[17:38:25] --> Marzo has joined #exult
[17:38:55] <sh4rm4> also cheat spelling (F5) doesnt cost mana and reagents
[17:45:43] <-- Malignant_Manor has left IRC (Quit: ChatZilla [Firefox 25.0.1/20131112160018])
[17:48:29] <Dominus> sh4rm4: arch wizard mode doesn't cost mana and reagents as well.
[17:49:06] <Dominus> probably just needs a check removed to make it work without a spellbook
[18:56:05] <-- Marzo has left IRC (Ping timeout: 248 seconds)
[19:28:11] <Dominus> sh4rm4: at third glance and coming to my coding limits, to allow the spell cheat through the normal spellbook gump in Archwizard mode without actually having a spellbook, You probably need to add a special case in keyactions.cc for ActionUseItem when the item you want to use is #761
[19:29:16] <Dominus> then check for cheat.in_wizard_mode() and bring up the spellgump
[19:29:48] <Dominus> I'd happily allow a patch for that :)
[19:29:55] <sh4rm4> :)
[21:55:59] <sh4rm4> perr << "FluidSynth requires a 'fluidsynth_soundfont' setting" << std::endl;
[21:56:05] <sh4rm4> i'm getting this error
[21:56:22] <sh4rm4> how am i supposed to set the soundfont ?
[21:57:29] * Dominus points to the docs
[21:58:01] <Dominus> search for that setting...
[21:58:32] <sh4rm4> could you put the URL for the docs into the topic ?
[21:58:47] <sh4rm4> i always have to scroll several pages of IRC log to find it
[21:59:15] <Dominus> you are unbelievable...
[21:59:34] <Dominus> you put the source on github - the docs are there
[21:59:43] <Dominus> or you go to our homepage
[21:59:52] <Dominus> that url is up there
[22:02:34] <Epitrope> sh4rm4: http://catb.org/~esr/faqs/smart-questions.html
[22:12:42] <sh4rm4> fluidsynth works now, but it still displays the mt32 stuff:
[22:12:44] <sh4rm4> Audio subsystem request: Music track # 67 in <STATIC>/mt32mus.dat
[22:12:45] <sh4rm4> Audio subsystem request: Music track # 68 in <STATIC>/mt32mus.dat
[22:13:02] <sh4rm4> and it seems those 2 tracks contain junk
[22:13:13] <sh4rm4> maybe they were never intended to be played ?
[22:13:41] <sh4rm4> the last meaningful tune number is 65
[22:24:06] <Dominus> curiosly I don't get that
[22:25:07] <Dominus> which could be the fault of me disabling music :)
[22:25:09] <Dominus> he he
[22:27:22] <Dominus> sh4rm4: where do you get that music track request? I only get request #63 in the crematory
[22:30:39] <Dominus> hmm, anyway for it to be demanded when you have the fmopl device is strange
[22:32:44] <Dominus> nah, that seems ok
[22:39:03] <sh4rm4> you get it outside of the crematory
[22:39:08] <sh4rm4> i.e. step out, wait a bit
[22:39:37] <Dominus> yeah, I see it. got an idea
[22:42:00] <sh4rm4> it's playing 67/68 for you now ? does it sound like garbage or like a tune ?
[22:42:52] <Dominus> no, kind of garbage but it is the ambient music tracks I think. bird chirping and so... didn't I mess with this "lately"?
[22:43:50] <sh4rm4> the ogg file name suggests that it's some bg music
[22:44:04] <sh4rm4> so it may be possible that it just plays with the wrong instruments
[22:44:21] <sh4rm4> i.e. instead of "birdvoice" it plays piano oslt
[22:44:34] <sh4rm4> and that sounds pretty strange
[22:46:16] <Dominus> sh4rm4: do this, in the audio settings, change audio to some midi driver that allows changing device type. then change device type to GM (it's probably set to fakemt32 or mt32)
[22:46:26] <Dominus> then go back to fluidsynth or fmopl
[22:47:58] <sh4rm4> fluidsynth has those options as well
[22:48:06] <sh4rm4> anyway i set it to GM
[22:48:14] <sh4rm4> but: Audio subsystem request: Music track # 68 in <STATIC>/mt32mus.dat
[22:48:16] <Dominus> was it to mt32 or fakemt32?
[22:48:22] <sh4rm4> no, GS
[22:48:51] <sh4rm4> what does it print for you instead of /mt32mus.dat ?
[22:49:47] <sh4rm4> i suspect the debug info just always prints that...
[22:54:27] <Dominus> yes, the debug does that I think
[22:55:09] <sh4rm4> hmm it seems with sfx disabled it doesnt play those tracks
[22:55:09] <Dominus> sh4rm4: can you do the midi device thing, set midi driver to fmopl and restart Exult?
[22:55:57] <Dominus> I think it doesn't flush the things correctly when changing drivers and keeps the option to play those ambient sfx
[22:56:46] <Dominus> these sfx are only playable with mt32 or fakemt32 devices *AND* the digital music (since that is recorded from a real mt32)
[22:57:04] <Dominus> so they *should* only play when those are set
[22:57:46] <Dominus> I probably messed something up in rev 7381 or made something worse
[22:58:41] <sh4rm4> i switched to FMOpl as you said, SFX are off and now it tries to play the noise again (#68)
[22:58:56] <Dominus> did you restart Exult?
[22:59:00] <sh4rm4> yes
[22:59:25] <Dominus> and you have switched the midi device in the settings to gm?
[22:59:32] <sh4rm4> yes
[23:00:01] <sh4rm4> ok it tries to play #68 as well with fluid
[23:00:08] <sh4rm4> (SFX still off)
[23:02:20] <Dominus> that's strange, I *only* get this when I mucked with the audio settings, e.g. switched to the default midi driver, then switch back to fmopl
[23:04:28] <sh4rm4> yes, your commit looks as if it could be responsible
[23:06:26] <sh4rm4> Audio subsystem request: Music track # 68 in <STATIC>/mt32mus.dat comes before the first call to Background_noise::handle_event tho
[23:08:44] <sh4rm4> the code here: https://github.com/rofl0r/exult/blob/cf4cc39c1e83b1fc13744201c55c338826158e88/gamewin.cc#L203 is not executed
[23:10:07] <sh4rm4> the rest of the function seems black-gate only
[23:16:24] <Dominus> hmm
[23:16:31] <Dominus> seriously with <convert>
[23:16:31] <Dominus> gm
[23:16:31] <Dominus> </convert>
[23:16:54] <Dominus> in exult.cfg and midi driver fmopl you shouldn't get those tracks played
[23:19:57] <-- ShamblerDK has left IRC (Remote host closed the connection)
[23:20:02] <Dominus> or if you messed around with the midi drivers and then return to a good one, you need to reload the savegame
[23:20:21] <Dominus> as per https://github.com/rofl0r/exult/blob/cf4cc39c1e83b1fc13744201c55c338826158e88/gamewin.cc#L254
[23:22:25] <sh4rm4> so "jounrey onward" is not sufficient ?
[23:22:59] <Dominus> it should but if it is still trying to play the sfx when you are on fmopl I need to see the <midi> section of your exult.cfg
[23:23:02] <sh4rm4> #0 MyMidiPlayer::start_music (this=0x8e0a40, num=68, repeat=true, flex=...) at Midi.cc:102
[23:23:02] <sh4rm4> #1 0x000000000049a588 in Audio::start_music (this=0x8e0740, num=68, continuous=true, flex=...) at Audio.cc:554
[23:23:02] <sh4rm4> #2 0x0000000000463de9 in Game_window::read_gwin (this=0x8dbf60) at gamewin.cc:1463
[23:23:17] <sh4rm4> that's where the call to play #68 comes from
[23:28:49] <sh4rm4> <convert>gm</convert> is there, btw
[23:30:21] <sh4rm4> http://pastie.org/private/ncnzh3rtrchjny8gg35muw
[23:30:48] <Dominus> can you set to fmopl, please for testing
[23:32:42] <sh4rm4> http://pastie.org/private/l61jy0idbj4i5ur6aybhmg
[23:33:21] <sh4rm4> btw: the xml config file has an understandable name for the "digital music" option
[23:33:27] <sh4rm4> use_ogg is clear as water
[23:33:37] <sh4rm4> while "digital music" can mean anything
[23:33:48] <Dominus> and with this setting outside of the crematory these tracks do still play?
[23:33:56] <sh4rm4> yes, they still play
[23:34:13] <Dominus> please stop beating a dead horse that no one cares about (digital music)
[23:34:36] <Dominus> and you did restart Exult?
[23:34:54] <sh4rm4> sure
[23:35:34] <sh4rm4> as soon as i click journey onward, the #68 track is played
[23:35:43] <sh4rm4> while standing somewhere on monitorian roads
[23:36:10] <Dominus> ah, let me test if that will happen if I save while it is being played
[23:36:26] <sh4rm4> https://github.com/rofl0r/exult/blob/master/gamewin.cc#L1463
[23:36:46] <sh4rm4> that's what starts the music, it seems like it's being read straight off some file
[23:40:41] <Dominus> sh4rm4: when you reload Exult with that fmopl setting and then start the sound tester (alt-1) and then hit s for stop and esc to exit the tester, does the sfx return?
[23:42:11] <sh4rm4> s stops it, and it doesnt seem to return immediately
[23:42:33] <Dominus> ok, that confirms this so far.
[23:44:18] <Dominus> what happens: Exult saves the last played track so that's why those get played nethertheless when you reload while they are playing :(
[23:44:44] <sh4rm4> ah
[23:45:11] <sh4rm4> and having mt32 active at any point (even when the driver doesnt use it) is triggering those tunes
[23:45:27] <Dominus> *AND* in that revision I messed up because all those https://github.com/rofl0r/exult/blob/cf4cc39c1e83b1fc13744201c55c338826158e88/gamewin.cc#L197 should most likely have the addition of !fmopl
[23:45:59] <sh4rm4> yes, that makes sense
[23:46:52] <Dominus> all other, including the fluidsynth one should be fine after reload and/or playing a different track
[23:46:53] <sh4rm4> btw i believe that the fluidsynth isnt capable of mt32 either
[23:47:16] <Dominus> no, it isn't but it is capable of fake_mt32
[23:47:44] <sh4rm4> showing those settings with fluidsynth doesnt make sense, because you need to hardcode the sound_font, not ?
[23:48:19] <Dominus> you could disable mt32 but need to have the other options available for fluidsynth
[23:48:20] <Dominus> http://exult.sourceforge.net/docs.php#midi_music
[23:49:21] <Dominus> mt32 is only for real devices or if you have the munt external drivers with the nice qt-gui :)
[23:50:21] <sh4rm4> i like plain fmopl best anyway
[23:50:33] <sh4rm4> that sounds like sounded in my youth
[23:51:15] <Dominus> so back to the problem, Exult should flush those ambient tracks when changing audio devices and on reloading a game. no idea how to do that while keeping normal tracks
[23:52:44] --- RadoS is now known as RaDo
[23:53:41] <sh4rm4> wjp may know...
[23:59:23] <Dominus> added two bug reports about this and a featue request for the archwizard mode without spellbook
[23:59:40] <Dominus> good night - thanks for bugging about those noises
[23:59:59] <sh4rm4> would be nice if that one could be invoked via F5 when cheats are enabled