[00:00] so i think this becomes color = a[red + 8448] | a[green + 4224] | a[blue] [00:01] which is weird [00:01] are you sure about the length for a? [00:01] it could be three arrays stored sequentially [00:02] or a 2d array with hardcoded high rank indexes [00:05] Interesting idea. The 8488 is double that of 4224, so you could be looking at some form of array for a with 3 "rows", 0 to 4223, 4224 to 8447, and 8448 to (8448+4223) [00:06] Or, as Henke37 says, three separate arrays [00:09] it gets worse. a is itself another array. so it's something like color = a[x * 128][red + 8448] | a[x * 128][green + 4224] | a[x * 128][blue] [00:12] ๐Ÿ˜ฎ [00:13] looks like it could be scaling based on the alpha value [00:13] Gotta go AFK for a while. Be back later in the evening [00:13] it's 2 am [00:14] he's in the us ๐Ÿ˜› [00:14] @Henke37 yeah i'm guessing they have some master table of RGB565 * darkness = RGB565 [00:16] or at least, rgb components precalculated and preshifted since they just OR the result together [00:25] SylvainTV (~Sylvain@lfbn-lil-1-811-bdcst.w92-148.abo.wanadoo.fr) left irc: Read error: Connection reset by peer [00:25] i think i'm just gonna file this under TODO and just use a standard darken algorithm. i can mimic the bevels at least [00:26] the game isn't even playable and here i am sinking my time into color blends [00:36] Littleboy (~littleboy@pool-71-162-119-10.bstnma.fios.verizon.net) left irc: Quit: สtre dans le vent, une ambition de feuille morte. [00:59] [scummvm] sluicebox pushed 1 new commits to master: https://git.io/fj2g3 [00:59] scummvm/master d29727d sluicebox: SCI: Add FPFP message workarounds [02:38] cd (~none@gateway/tor-sasl/cd) left irc: Quit: cd [03:01] tsoliman (~tsoliman@scummvm/undead/tsoliman) left irc: Quit: I've been banished! [03:02] tsoliman (~tsoliman@scummvm/undead/tsoliman) joined #scummvm. [03:02] #scummvm: mode change '+o tsoliman' by ChanServ!ChanServ@services. [03:09] dreammaster (~dreammast@c-73-241-66-252.hsd1.ca.comcast.net) joined #scummvm. [03:09] #scummvm: mode change '+o dreammaster' by ChanServ!ChanServ@services. [03:13] Grogbot (~Grogbot@vm2.scummvm.org) left irc: Remote host closed the connection [03:13] Grogbot (~Grogbot@vm2.scummvm.org) joined #scummvm. [03:22] phyber (phyber@unaffiliated/phyber) got netsplit. [03:22] LePhilousophe (valemboi20@amsn/developer/lephilousophe) got netsplit. [03:22] ced117 (~ced117@opensuse/member/ced117) got netsplit. [03:22] Lightkey (~Darklock@p200300F693C83E5222CF30FFFE083718.dip0.t-ipconnect.de) got netsplit. [03:22] DJWillis (~djwillis@cpc123798-trow7-2-0-cust28.18-1.cable.virginm.net) got netsplit. [03:22] enthusi (pi@pc8-155.physik.uni-potsdam.de) got netsplit. [03:22] mlk1 (~mlk@93-160-21-209-cable.dk.customer.tdc.net) got netsplit. [03:22] noobineer (~noobineer@c-68-55-196-120.hsd1.mi.comcast.net) got netsplit. [03:22] Endy (ender@sand.enderboi.com) got netsplit. [03:33] LePhilousophe (valemboi20@amsn/developer/lephilousophe) got lost in the net-split. [03:33] phyber (phyber@unaffiliated/phyber) got lost in the net-split. [03:33] Endy (ender@sand.enderboi.com) got lost in the net-split. [03:33] noobineer (~noobineer@c-68-55-196-120.hsd1.mi.comcast.net) got lost in the net-split. [03:33] mlk1 (~mlk@93-160-21-209-cable.dk.customer.tdc.net) got lost in the net-split. [03:33] enthusi (pi@pc8-155.physik.uni-potsdam.de) got lost in the net-split. [03:33] DJWillis (~djwillis@cpc123798-trow7-2-0-cust28.18-1.cable.virginm.net) got lost in the net-split. [03:33] Lightkey (~Darklock@p200300F693C83E5222CF30FFFE083718.dip0.t-ipconnect.de) got lost in the net-split. [03:33] ced117 (~ced117@opensuse/member/ced117) got lost in the net-split. [03:37] SupSuper (~SupSuper@openxcom/dev/supsuper) left irc: Quit: Rip [03:38] phyber (phyber@unaffiliated/phyber) joined #scummvm. [03:38] LePhilousophe (valemboi20@amsn/developer/lephilousophe) joined #scummvm. [03:38] Lightkey (~Darklock@p200300F693C83E3522CF30FFFE083718.dip0.t-ipconnect.de) joined #scummvm. [03:38] ced117 (~ced117@opensuse/member/ced117) joined #scummvm. [03:38] DJWillis (~djwillis@cpc123798-trow7-2-0-cust28.18-1.cable.virginm.net) joined #scummvm. [03:38] enthusi (pi@pc8-155.physik.uni-potsdam.de) joined #scummvm. [03:38] mlk1 (~mlk@93-160-21-209-cable.dk.customer.tdc.net) joined #scummvm. [03:38] noobineer (~noobineer@c-68-55-196-120.hsd1.mi.comcast.net) joined #scummvm. [03:38] Endy (ender@sand.enderboi.com) joined #scummvm. [03:38] #scummvm: mode change '+oo DJWillis Endy ' by card.freenode.net [03:51] default__ (~ldevulder@176.164.204.66) joined #scummvm. [03:54] yuv422 (~yuv422@119-18-0-84.771200.syd.nbn.aussiebb.net) joined #scummvm. [03:55] ldevulder_ (~ldevulder@i15-lef02-th2-89-83-214-96.ft.lns.abo.bbox.fr) left irc: Ping timeout: 245 seconds [03:58] yuv422 (~yuv422@119-18-0-84.771200.syd.nbn.aussiebb.net) left irc: Ping timeout: 245 seconds [04:35] vyzigold (~jarda@39.129.broadband4.iol.cz) joined #scummvm. [04:38] emmalyn (~emmalyn@c-98-210-124-136.hsd1.ca.comcast.net) left irc: Quit: Leaving [04:42] [scummvm] dreammaster pushed 3 new commits to master: https://git.io/fj22a [04:42] scummvm/master 8759a9e dreammaster: GLK: ADVSYS: Added readLine method [04:42] scummvm/master 4f7c989 dreammaster: GLK: ADVSYS: Initialization fixes [04:42] scummvm/master c151020 dreammaster: GLK: ADVSYS: Fix data reads from gamefile [05:19] dreammaster (~dreammast@c-73-241-66-252.hsd1.ca.comcast.net) left irc: [05:47] eriktorbjorn (~d91tan@213-65-60-100-no2480.tbcn.telia.com) left irc: Quit: Leaving. [05:56] yuv422 (~yuv422@119-18-0-84.771200.syd.nbn.aussiebb.net) joined #scummvm. [06:00] yuv422 (~yuv422@119-18-0-84.771200.syd.nbn.aussiebb.net) left irc: Ping timeout: 268 seconds [06:18] Begasus (~begasus@ptr-4qba4e8w0w4yxkjwisc.18120a2.ip6.access.telenet.be) joined #scummvm. [06:23] Begas_VBox (~Begasus@d54C05BEA.access.telenet.be) joined #scummvm. [06:49] g'day peeps [06:54] _sev_ (~sev@scummvm/undead/sev) left irc: Quit: This computer has gone to sleep [06:55] hi folks [06:59] _sev_ (~sev@scummvm/undead/sev) joined #scummvm. [06:59] #scummvm: mode change '+o _sev_' by ChanServ!ChanServ@services. [07:00] _sev_ (~sev@scummvm/undead/sev) left irc: Client Quit [07:01] Good morning [07:03] Welcome! [07:04] hey there [07:06] ny00123 (~ny00123@213.137.91.167) joined #scummvm. [07:17] General Kenobi!! [07:19] _sev_ (~sev@scummvm/undead/sev) joined #scummvm. [07:19] #scummvm: mode change '+o _sev_' by ChanServ!ChanServ@services. [07:29] whiterandrek (~CVoltage@ppp-109-104-179-20.wildpark.net) joined #scummvm. [07:29] #scummvm: mode change '+o whiterandrek' by ChanServ!ChanServ@services. [07:31] Drenn (~Drenn@bas6-toronto01-70-52-223-40.dsl.bell.ca) left irc: Ping timeout: 245 seconds [07:56] yuv422 (~yuv422@119-18-0-84.771200.syd.nbn.aussiebb.net) joined #scummvm. [07:58] [scummvm] sluicebox opened pull request #1662: SCI: Fix FPFP reappearing items, bug #10975 (master...fpfpreappearingitems) https://git.io/fj2V0 [08:01] yuv422 (~yuv422@119-18-0-84.771200.syd.nbn.aussiebb.net) left irc: Ping timeout: 246 seconds [08:21] Hi LePhilousophe [08:35] Nick change: default__ -> ldevulder [08:44] vliaskov (~vliaskov@x4db78003.dyn.telefonica.de) joined #scummvm. [09:14] girafe (~girafe@lfbn-lyo-1-450-7.w2-7.abo.wanadoo.fr) left irc: Read error: Connection reset by peer [09:42] Begasus_ (~begasus@ptr-4qba4e8w0w4yxkjwisc.18120a2.ip6.access.telenet.be) joined #scummvm. [09:42] Begasus_ (~begasus@ptr-4qba4e8w0w4yxkjwisc.18120a2.ip6.access.telenet.be) left irc: Client Quit [09:43] whiterandrek (~CVoltage@ppp-109-104-179-20.wildpark.net) left irc: Read error: Connection reset by peer [09:54] vyzigold (~jarda@39.129.broadband4.iol.cz) left irc: Ping timeout: 248 seconds [10:16] NULUSIOS1 (~nls@mail2.termoil.com) joined #scummvm. [10:16] NULUSIOS1 (nls@mail2.termoil.com) left #scummvm. [10:16] ST1 (~ScottT@61-245-158-3.3df59e.adl.nbn.aussiebb.net) joined #scummvm. [10:16] ST (~ScottT@61-245-158-3.3df59e.adl.nbn.aussiebb.net) left irc: Disconnected by services [10:51] emmalyn (~emmalyn@c-98-210-124-136.hsd1.ca.comcast.net) joined #scummvm. [11:22] good morning! [11:29] vyzigold (~jarda@39.129.broadband4.iol.cz) joined #scummvm. [11:47] morning Praetorian [11:48] Littleboy (~littleboy@pool-71-162-119-10.bstnma.fios.verizon.net) joined #scummvm. [11:48] #scummvm: mode change '+o Littleboy' by ChanServ!ChanServ@services. [11:58] yuv422 (~yuv422@119-18-0-84.771200.syd.nbn.aussiebb.net) joined #scummvm. [12:01] Hi JoeFish [12:02] yuv422 (~yuv422@119-18-0-84.771200.syd.nbn.aussiebb.net) left irc: Ping timeout: 244 seconds [12:38] cd (~none@gateway/tor-sasl/cd) joined #scummvm. [13:29] vliaskov (~vliaskov@x4db78003.dyn.telefonica.de) left irc: Ping timeout: 245 seconds [13:50] Drenn (~Drenn@bas6-toronto01-70-52-223-40.dsl.bell.ca) joined #scummvm. [14:03] Drenn (~Drenn@bas6-toronto01-70-52-223-40.dsl.bell.ca) left irc: Ping timeout: 248 seconds [14:29] Tkachov (~q@84.237.53.198) left irc: Ping timeout: 268 seconds [14:31] ny00123 (~ny00123@213.137.91.167) left irc: Quit: Leaving [14:33] Tkachov (~q@84.237.53.198) joined #scummvm. [14:33] #scummvm: mode change '+o Tkachov' by ChanServ!ChanServ@services. [14:35] girafe (~girafe@lfbn-lyo-1-450-7.w2-7.abo.wanadoo.fr) joined #scummvm. [14:45] @SupSuper if you convert those decimal values to hex, it will make much more sense [14:46] 8448 = 0x2100 [14:46] 4224 = 0x1080 [14:52] [scummvm] bluegr closed pull request #1662: SCI: Fix FPFP reappearing items, bug #10975 (master...fpfpreappearingitems) https://git.io/fj2V0 [14:52] [scummvm] bluegr pushed 1 new commits to master: https://git.io/fj2Xb [14:52] scummvm/master 23c6c13 sluicebox: SCI: Fix FPFP reappearing items, bug #10975 [15:30] SupSuper (~SupSuper@openxcom/dev/supsuper) joined #scummvm. [15:30] omer_mor (~Omer@5.29.118.79) left irc: Ping timeout: 245 seconds [15:41] @sev it does? [15:41] yes, the color is 565 [15:41] so, you may see that they're just adding values to specific colors [15:42] eriktorbjorn (~d91tan@213-65-60-100-no2480.tbcn.telia.com) joined #scummvm. [15:42] #scummvm: mode change '+o eriktorbjorn' by ChanServ!ChanServ@services. [15:50] Drenn (~Drenn@toroon0717w-lp130-07-70-52-223-40.dsl.bell.ca) joined #scummvm. [16:00] yuv422 (~yuv422@119-18-0-84.771200.syd.nbn.aussiebb.net) joined #scummvm. [16:04] yuv422 (~yuv422@119-18-0-84.771200.syd.nbn.aussiebb.net) left irc: Ping timeout: 268 seconds [16:19] vyzigold (~jarda@39.129.broadband4.iol.cz) left irc: Quit: Lost terminal [16:24] DominusExult (~dominus@port-92-194-9-89.dynamic.qsc.de) joined #scummvm. [16:24] DominusExult (~dominus@port-92-194-9-89.dynamic.qsc.de) left irc: Changing host [16:24] DominusExult (~dominus@unaffiliated/dominus) joined #scummvm. [16:27] Dominus (~dominus@unaffiliated/dominus) left irc: Ping timeout: 268 seconds [16:27] Nick change: DominusExult -> Dominus [16:42] interesting. well for now this looks close enough: https://i.imgur.com/7zJcC4r.gifv [16:56] Agreed. Looks good ๐Ÿ‘ [17:08] graphics code is my least favorite thing. this is all gonna have to be rewritten later anyways since i'm just drawing every frame instead of using dirty rects and stuff, but for now "works on my computer" ๐Ÿ˜› [17:08] Implementing new engines will always remain pure wizardry for me. [17:10] For me, it's dealing with sound code. Shudder. So many sound drivers I've had to disassemble.. so much time spent with DosBox trying to capture the raw port outputs of the original games, and comparing to ScummVM, trying to hunt down incorrect state changes that might not affect the output bytes until dozens of sound output frames later on ๐Ÿ˜› [17:13] Command sent by SupSuper [17:13] ...ok, make graphics my second least favorite thing ๐Ÿ˜‰ i got lucky with audio because they left the name of the codecs they used in the exe [17:14] and the game's too recent for midi sound driver madness [17:16] Ah, you're indeed lucky then [17:16] @rootfather if it makes you feel better, i still have no idea how i got this far [17:21] this is a 90s 32-bit high-res digital-audio game, so that alone clears a lot of difficulties. and whoever did the windows port saved me from all the dos arcane magic [17:21] Begas_VBox (~Begasus@d54C05BEA.access.telenet.be) left irc: Quit: Vision[0.10.3]: i've been blurred! [17:21] shame i can't debug it on windows though [17:22] Begasus (~begasus@ptr-4qba4e8w0w4yxkjwisc.18120a2.ip6.access.telenet.be) left irc: Quit: Ex-Chat [17:32] Can't you? If you have multiple monitors, I've had some success using Visual Studio's Attach to Process when I wanted to do debugging of the original game executable. Though I also had to use DXWnd to let me force the originally full-screen game into a window so I could still use the VIsual Studio window [18:04] whiterandrek (~CVoltage@ppp-109-104-179-20.wildpark.net) joined #scummvm. [18:04] #scummvm: mode change '+o whiterandrek' by ChanServ!ChanServ@services. [18:04] Can I delete wiki pages? [18:05] Nevermind [18:05] Is there a way to convert a wiki table to github markdown (sic) [18:06] find&replace? ๐Ÿ˜› [18:06] i could probably regex one for you [18:07] @DreamMaster well i tried with ida and it just crashed, haven't tried visual studio. guessing i would have to manually map between both [18:11] Yes. I used it for Starship Titanic, so had to manually get addresses from IDA to put breakpoints for in Visual Studio. I too wasn't able to properly use IDA at the time to debug it. [18:20] hope ghidra catches up. when ida works, it's great, when it doesn't, it's undecipherable [18:22] I agree. I installed it, but really haven't had the time to play around with it much. I'll likely stick to IDA for some time to come, but I will be intrigued to see how good the autogenerated C code is when I export an IDA IDB to it [18:24] yeah i just had a quick look around, after having to learn ida by rote memorization, it's hard to try anything else. it's slower than ida, but the pseucode is appealing. and it has an undo button ๐Ÿ˜› [18:36] @SupSuper : I think I got it, just required replacing some || with | etc. [18:36] I think I have that firstPerson controls mode ready. Since it affects all SDL2 backend users, I will make a PR. [18:38] ajax16384 (~User@109.60.130.33) joined #scummvm. [18:38] #scummvm: mode change '+o ajax16384' by ChanServ!ChanServ@services. [18:38] Hmm I must have made a mistake... how do I enable all kyra engines via configure? [18:39] I used --enable-engine=kyra , but Lands of Lore and EOTB are still disabled. [18:40] Try using --enable-engine=kyra --enable-engine=lol --enable-engine=eob [18:41] Ok that works [18:41] You can generally see the engine Id(s) an engine supports by looking at the engine's configure.engine file [18:41] Thanks [18:41] Perfect. I just saw that configure --help does spit out the separate lol engine [18:42] I just didn't see it. [18:42] You can also do --enable-engines=kira,lol,eob I think. [18:43] I just did --enable-engines=lol and it automatically included kyre. [18:43] Right. I only just realized that after I posted the line. I'm just too used to doing --disable-all-engines --enable-engine= when I'm doing development ๐Ÿ˜‰ [18:43] I am doing that, reduces build time by like 15 minutes. [18:43] wouldn't an engine implicitly include subengines? [18:43] build time is loong. [18:44] Building ScummVM drains my Macbook battery in 1 hour. [18:44] Tell me about it. We're getting close to a million lines of code, and over 50 distinct engines. With more appearing all the time ๐Ÿ˜ƒ [18:44] executable size is also heavy: static build is 54 MB on Swtich. [18:44] Or so [18:45] Definitely a reason to only have a subset enabled when you're doing development. All too easy to accidentally click Rebuild All in Visual Studio.. and then have to wait, when what I wanted was simply to build the changes [18:45] That reminds me: Is there a way of showing a pop-up notification like "First Person Control Scheme activated, press R+L+X to deactivate" [18:46] The overlay manager is probably your friend in situations like this. It allows for things like on screen displays to be overlayed on top of the game screen [18:47] I don't have visual studio at work, so can't easily search the ScummVM codebase, but as I recall, there's methods in the g_system system class for getting an overlay surface you can render stuff to, and a method for turning the overlay on or off [18:48] i think there's gui for popups too, so you don't have to do your own rendering [18:49] assuming you can reach the gui, see TimedMessageDialog [18:50] In this context, the function "displayMessageOnOSD()" is probably what you're after. [18:50] Yes that is perfect. [18:50] Thanks [18:54] What ccawley2011 wrote, or if you are not in the main thread OSDMessageQueue ::addMessage(). [19:10] this might be relevant. https://www.gog.com/game/toonstruck [19:15] emmalyn (~emmalyn@c-98-210-124-136.hsd1.ca.comcast.net) left irc: Quit: Leaving [19:20] It is on main thread. [19:20] SDL PollEvent loop has to be done on main thread according to SDL docs. [19:21] Awesome. Nice gift for adventure fans that don't already have it. And supported by ScummVM too [19:37] wow they spoil the solution in the screenshots ๐Ÿ˜› [19:56] SylvainTV (~Sylvain@alille-658-1-112-217.w92-155.abo.wanadoo.fr) joined #scummvm. [19:56] #scummvm: mode change '+o SylvainTV' by ChanServ!ChanServ@services. [20:01] yuv422 (~yuv422@119-18-0-84.771200.syd.nbn.aussiebb.net) joined #scummvm. [20:05] yuv422 (~yuv422@119-18-0-84.771200.syd.nbn.aussiebb.net) left irc: Ping timeout: 244 seconds [20:06] Riven had some spoilers about its puzzles in its trailers ๐Ÿ˜ƒ [20:06] Praetorian|str (~antoniou@2a02:587:790d:3f00:9144:d528:2652:fa66) joined #scummvm. [20:25] [scummvm] rsn8887 opened pull request #1663: SDL: Implement first person gamepad mode, toggle with R+L (master...master) https://git.io/fj29p [20:25] Ok done. https://github.com/scummvm/scummvm/pull/1663 [20:27] bot was faster than you ๐Ÿ˜› [20:28] JohnnyonFlame (~quassel@179.191.209.88) joined #scummvm. [20:34] whiterandrek (~CVoltage@ppp-109-104-179-20.wildpark.net) left irc: Read error: Connection reset by peer [20:41] Praetorian|str (~antoniou@2a02:587:790d:3f00:9144:d528:2652:fa66) left irc: Quit: Leaving [20:42] reviews welcome. [20:43] would it be reasonable to detect from the game state which input mode to use? [20:43] ajax16384 (~User@109.60.130.33) left irc: Read error: Connection reset by peer [20:44] I'd rather not. It would be confusing and both modes can be used. [20:44] It is more a matter of preference. [20:46] If someone is really familiar with the regular controls, for example, they might use R+dpad left and R+dpad right to turn. [20:47] maybe i should rephrase: would the game be fully playable if the control method switched automatically as needed? [20:48] It would be I think. [20:50] The problem is that people will be really confused if suddenly the controls were switched on them per game. For example the slow mouse modifier by default is R. In first person it is the left button (Y on Switch). [20:50] So people will launch the game and be upset that they cannot slow down the mouse anymore. [20:51] I consider the 1st person mode more as an expert feature that will be ignored by most users, but will help the experts to control Lands of Lore a bit faster. [20:59] Deledrius (~Deledrius@68.118.139.214) left irc: Read error: Connection reset by peer [21:00] Deledrius (~Deledrius@68.118.139.214) joined #scummvm. [21:21] Drenn (~Drenn@toroon0717w-lp130-07-70-52-223-40.dsl.bell.ca) left irc: Ping timeout: 246 seconds [21:53] Drenn (~Drenn@toroon0717w-lp130-07-70-52-223-40.dsl.bell.ca) joined #scummvm. [21:57] emmalyn (~emmalyn@c-98-210-124-136.hsd1.ca.comcast.net) joined #scummvm. [21:57] Littleboy (~littleboy@pool-71-162-119-10.bstnma.fios.verizon.net) left irc: Quit: สtre dans le vent, une ambition de feuille morte. [22:10] Littleboy (~littleboy@pool-71-162-119-10.bstnma.fios.verizon.net) joined #scummvm. [22:10] #scummvm: mode change '+o Littleboy' by ChanServ!ChanServ@services. [22:14] ccawley2011 (6d9bb138@gateway/web/freenode/ip.109.155.177.56) joined #scummvm. [22:14] #scummvm: mode change '+o ccawley2011' by ChanServ!ChanServ@services. [22:23] Littleboy (~littleboy@pool-71-162-119-10.bstnma.fios.verizon.net) left irc: Quit: สtre dans le vent, une ambition de feuille morte. [22:36] speaking of gamepads, is there a list or database that spells out which ScummVM games are mostly/fully playable without a keyboard/mouse and only gamepad? [22:58] ccawley2011 (6d9bb138@gateway/web/freenode/ip.109.155.177.56) left irc: Quit: Page closed [23:05] ldevulder_ (~ldevulder@176.167.190.148) joined #scummvm. [23:08] ldevulder (~ldevulder@176.164.204.66) left irc: Ping timeout: 248 seconds [23:54] yuv422 (~yuv422@119-18-0-84.771200.syd.nbn.aussiebb.net) joined #scummvm. [23:58] yuv422 (~yuv422@119-18-0-84.771200.syd.nbn.aussiebb.net) left irc: Ping timeout: 258 seconds [00:00] --- Sat Jun 15 2019