[00:46] Hey gang. [00:46] Where's the new pal [01:10] drk||razi: Was it you? [01:44] *** godane has quit IRC (Read error: Connection reset by peer) [02:01] *** godane has joined #jsmess [02:29] Anyway, bai and DFJustin [02:29] files.korny.cc/reicastjs2/ [02:29] Click on ct.rom [02:30] x and return and c and v are all valid keys [02:49] I'll check it out tonight, I'm on daddy duty until 10pm or so [02:52] *** Sgeo__ has joined #jsmess [02:56] *** Sgeo_ has quit IRC (Read error: Operation timed out) [02:58] *** kripken__ has joined #jsmess [03:11] It's pretty inspiring [03:11] He's revising and revising [03:12] He wants to know if he can join with the archive. [05:36] *** Lord_Nigh has quit IRC (Quit: ZNC - http://znc.in) [05:37] *** Lord_Nigh has joined #jsmess [05:55] *** Sgeo_ has joined #jsmess [05:57] *** Sgeo__ has quit IRC (Read error: Operation timed out) [09:31] *** Sgeo_ has quit IRC (Read error: Connection reset by peer) [10:58] *** dboard420 has quit IRC (irc.efnet.nl efnet.deic.eu) [11:10] *** db421 has joined #jsmess [11:14] *** db421 is now known as dboard420 [12:17] hello! [12:17] yes, that's my teenage-era nick :P [12:17] since this is EFNET and all [12:18] the js2 version has baked in pre-compiled segments of the game, to make sure performance doesn't drop without the JIT [12:18] (20 megs of WASM to compile 10K game blocks) [12:19] * drk||razi waves at Lord_Nigh [14:15] *** SketchCow has quit IRC (Read error: Connection reset by peer) [14:20] *** SketchCow has joined #jsmess [14:38] *** Lord_Nigh has quit IRC (Ping timeout: 258 seconds) [14:45] *** logchfoo1 starts logging #jsmess at Fri Feb 07 14:45:41 2020 [14:45] *** logchfoo1 has joined #jsmess [14:45] *** kripken_ has joined #jsmess [14:46] *** kripken__ has quit IRC (hub.efnet.us irc.Prison.NET) [14:46] *** logchfoo0 has quit IRC (hub.efnet.us irc.Prison.NET) [15:02] *** Sgeo has joined #jsmess [15:21] *** Sgeo_ has joined #jsmess [15:22] *** Sgeo has quit IRC (Read error: Operation timed out) [15:40] *** kripken_ has quit IRC (Read error: Operation timed out) [16:35] drk||razi: So, let's talk about things. [16:35] yes? [16:36] When you say "pre-compiled". What do you mean in this case? More accurately - is the WASM/Javascript emulator you've got there a general emulator or is it compiled per program? [16:36] Like, is it simply a dreamcast emulator, or a crazy taxi emulator [16:36] the last version is per-program [16:36] or rather [16:36] it includes optimizations for crazy-taxi [16:36] (will run everything) [16:37] without implementing a wasm-jit, this is the fastest way we have right now [16:38] here is what we'd be shooting for: [16:38] https://archive.org/details/psxgames [16:40] I would be taking this: https://archive.org/details/tosecdcus20190822 [16:40] And doing similar with it. [16:42] that seems totally do-able [16:42] you might want to optimize per-game, or include a huge binary that optimizes for many games [16:43] Well, So, I'm not against that solution, although it sounds like something only you'd be able to do. [16:45] Usually, we have just one binary and then it kind of does the job, just works. [16:46] It's not a complex procedure, but it does require running the games once on PC [17:02] the files are downloaded every time? [17:13] Yes. [17:13] Oh yeah. [17:21] So, really, it seems like which the work you've done, the non-3d stuff just sizzles. [17:25] Moving forward before I get distracted [17:25] The way it would work with our loader would be a consistent, clear command-line structure. [17:26] i.e. dreamcastemulator.wasm ROMNAME -setting SETTING -setting SETTING [17:26] And so on [17:27] *** balrog_ has joined #jsmess [17:28] *** balrog has quit IRC (Ping timeout: 745 seconds) [17:28] *** balrog_ is now known as balrog [18:16] *** Sgeo__ has joined #jsmess [18:18] *** Sgeo_ has quit IRC (Read error: Operation timed out) [18:25] this already exists [18:25] how do you download the roms though? [18:25] atm I bake them in the data section [18:26] are there some docs / src for the psx page? [18:26] many 3d games like thps2 fly on my machine w/ webgl [18:26] many games will be glitchy though, is that alright? [18:27] I expect they will be. [18:27] The question is how glitchy [18:27] So, to be clear [18:28] mostly texture mixups (teccache invalidation is disabled) [18:28] - I am sure most of this has been done by you already [18:28] it uses segfaults for tracking normally [18:28] - We will move fast AND slow on this, just due to some organization [18:28] but those aren't available [18:34] drk||razi: we usually deliver the app contents up as a .zip and then use BrowserFS to organize that along with some UnionFS and a localStorage backed FS to save changes for each user [18:40] in that case reicast needs to be updated to use that [18:40] instead of the built in fs? [18:40] is there some sync read for the BrowerFS? [18:41] that's the part I'm not 100% clear about, someone else did that work for Emularity, but I don't think the underlying emulator needs to be modified to support it, no [18:42] filesystems in BrowserFS can be either synchronous or asynchronous, in our case we're generally limited to ONLY using synchronous filesystems though [18:42] zip and any of the other in-memory or localstorage-based filesystems are synchronous, but we can't use things like, eg, dropbox [18:45] also reicast is multi threaded [18:45] that means chrome only for now [18:45] firefox and such are working to re-enable multi threading [18:45] ah, dependent on the SharedWorker stuff? [18:45] I thought firefox had unlocked that again but I haven't been following closely [18:48] I don't know how it works on the lower level [18:48] when I did the last port threads were not an option [18:48] and the code diff was quite ugly [18:53] *** Vito`_ has quit IRC (Read error: Connection reset by peer) [18:55] *** Vito`_ has joined #jsmess [19:10] in the future, I can probably make the optimized chunks a separate .wasm [19:10] would that be better @SketchCow ? [19:13] I'd ask bai, he knows better than I [19:13] There is always a possibility we can't do this yet, by the way [19:15] oh, is this about what you said before, you have build that have tweaks for specific games? [19:44] *** balrog has quit IRC (Bye) [19:48] *** balrog has joined #jsmess [20:46] yeah [20:46] well, not tweaks [20:47] just an AOT precompiled cache [20:47] since wasm is hard to jit for [21:57] *** Sgeo_ has joined #jsmess [21:59] *** Sgeo__ has quit IRC (Read error: Operation timed out)