#jsmess 2018-08-31,Fri

↑back Search

Time Nickname Message
00:37 🔗 Sgeo_ bai, is there an easy way to see from Javascript what C functions an Emscripten thing exposes to Javascript?
01:26 🔗 bai Sgeo_: yeah, there are compile-time options to disable the name mangl8ng, one sec
01:29 🔗 bai Sgeo_: https://kripken.github.io/emscripten-site/docs/tools_reference/emcc.html - the -O and -g options are most of them
01:29 🔗 * Sgeo_ may have been hoping to get the information without a recompile
01:33 🔗 Sgeo_ Looks like there may be a function called "set_playback_enabled
01:34 🔗 Sgeo_ Found the vice code. Seems to take an argument that shouldn't be necessary
01:39 🔗 Sgeo_ ...Looks like it's actually Emularity code that's faulty. It fails to set up SDL_PauseAudio properly
01:40 🔗 Sgeo_ So both set_playback_enabled and SDL_PauseAudio work properly, but if I use the latter, the sound seems to wait to burst, so to speak
01:40 🔗 Sgeo_ Sounds a bit better with the former, should I special case this?
01:41 🔗 Sgeo_ Also I need to test my current belief that mute on DOSBox is broken too due to bug, what's a good DOS item to test that with? Lemme look for a MIDI player
01:43 🔗 DFJustin https://archive.org/details/msdos_Laser_Light_1994 plays music basically nonstop
01:44 🔗 Sgeo_ ty
01:44 🔗 Sgeo_ https://archive.org/details/win3_MidMM211 also works
01:44 🔗 Sgeo_ Confirmed presence of bug in DOSBox, will push fix soon.
01:45 🔗 Sgeo_ DFJustin, omg is this like a DOS version of Aargon?
01:47 🔗 Sgeo_ Hmm, less of a grid :(
01:51 🔗 Sgeo_ .....DOSBox isn't compatible with SDL_PauseAudio
01:51 🔗 Sgeo_ or something
02:00 🔗 Sgeo_ https://i.imgur.com/02Achlz.png
02:00 🔗 Sgeo_ Think I do need that special case for VICE after all
02:08 🔗 DFJustin lol nice error
02:08 🔗 DFJustin didn't know vice was finnish
02:21 🔗 Sgeo_ I'm fixing VICE audio muting before I think about DOSBox audio muting
02:28 🔗 Sgeo_ What's an example of a MAME game that plays sound?
02:32 🔗 Sgeo_ I, uh, will save the sound stuff for another dya
02:32 🔗 Sgeo_ *day
02:52 🔗 Sgeo_ So, what's the current approach for games that require joysticks on IA?
03:12 🔗 godane has quit IRC (Ping timeout: 506 seconds)
03:26 🔗 godane has joined #jsmess
03:41 🔗 davidar has joined #jsmess
04:32 🔗 Sgeo_ Maybe I'll have more success with joysticks. Is 5 metadata entries (one per direction + one for fire) too much?
04:43 🔗 bai the joysticks are mostly handled by emscripten, at least with sdl
04:52 🔗 Sgeo_ Hmm, do you mean for programs that expect joystick input directly?
04:54 🔗 Sgeo_ VICE typically needs to be told how to emulate a joystick. Real joystick is one option but not default. And I don't think we want to force users to use a real joystick most of the time
05:08 🔗 bai ah, yeah, I forget how the virtual joystick works...do we have one?
06:02 🔗 Sgeo_ In theory the user should be deciding what mapping to use, although at least having a default makes sense sometimes, e.g. arrow keys for Iceblox, no keyboard for bare BASIC
06:02 🔗 Sgeo_ *no joystick for bare BASIC
06:43 🔗 balrog has quit IRC (Read error: Operation timed out)
06:43 🔗 balrog has joined #jsmess
06:53 🔗 logchfoo3 starts logging #jsmess at Fri Aug 31 06:53:58 2018
06:53 🔗 logchfoo3 has joined #jsmess
06:54 🔗 datajerk has quit IRC (Ping timeout: 600 seconds)
06:55 🔗 shattere1 has joined #jsmess
07:04 🔗 shattered has quit IRC (Ping timeout: 600 seconds)
07:38 🔗 datajerk has joined #jsmess
12:52 🔗 SketchCow Sgeo_: Just to bring you up to speed
12:52 🔗 SketchCow We used to have muting working
12:52 🔗 SketchCow And then IA changed things and we never accounted.
12:52 🔗 SketchCow Same with issues regarding how the screen plays at different sizes based on the browser
13:34 🔗 Sgeo_ SketchCow, huh, ty. Do we have copies of archive.js from before and after muting stopped working?
13:36 🔗 Sgeo_ (Well, current one is probably fine for after)
14:07 🔗 SketchCow I don't think so
14:29 🔗 SketchCow Sgeo_: Did you make the vice.js item by comnpiling it or using a pre-made JS?
18:44 🔗 arkiver has quit IRC (Ping timeout: 360 seconds)
18:44 🔗 Sgeo has joined #jsmess
18:46 🔗 Sgeo_ has quit IRC (Read error: Operation timed out)
18:51 🔗 arkiver has joined #jsmess
19:13 🔗 godane has quit IRC (Read error: Connection reset by peer)
19:13 🔗 godane has joined #jsmess
21:33 🔗 azakai has quit IRC (Ping timeout: 255 seconds)
22:28 🔗 azakai has joined #jsmess
23:33 🔗 Sgeo SketchCow, I'm vaguely under the impression things are supposed to default to muted? Is that a correct impression?

irclogger-viewer