[01:06] dreammaster (~dreammast@c-73-241-66-252.hsd1.ca.comcast.net) joined #scummvm. [01:06] #scummvm: mode change '+o dreammaster' by ChanServ!ChanServ@services. [01:21] JohnnyonFlame (~quassel@179.222.243.167) joined #scummvm. [01:25] rsn8887_ (~rsn8887@ip68-97-1-62.ok.ok.cox.net) joined #scummvm. [01:38] DominusExult (~dominus@port-92-194-6-143.dynamic.qsc.de) joined #scummvm. [01:38] DominusExult (~dominus@port-92-194-6-143.dynamic.qsc.de) left irc: Changing host [01:38] DominusExult (~dominus@unaffiliated/dominus) joined #scummvm. [01:41] Dominus (~dominus@unaffiliated/dominus) left irc: Ping timeout: 245 seconds [01:41] Nick change: DominusExult -> Dominus [01:43] Tareon (~Tareon@p5484CDDD.dip0.t-ipconnect.de) left irc: Read error: Connection reset by peer [02:47] ignalina (~ignalina@h-238-91.A639.priv.bahnhof.se) left irc: Quit: Textual IRC Client: www.textualapp.com [02:48] Stormkeeper (~kvirc@cpc96296-lewi18-2-0-cust121.2-4.cable.virginm.net) joined #scummvm. [02:51] ignalina (~ignalina@h-238-91.A639.priv.bahnhof.se) joined #scummvm. [02:57] P2E_ (~tgz@209.251.45.7) left irc: Ping timeout: 245 seconds [03:00] ignalina (~ignalina@h-238-91.A639.priv.bahnhof.se) left irc: Remote host closed the connection [03:00] ignalina (~ignalina@h-238-91.A639.priv.bahnhof.se) joined #scummvm. [03:01] P2E (~tgz@209.251.45.7) joined #scummvm. [03:25] ignalina (~ignalina@h-238-91.A639.priv.bahnhof.se) left irc: Quit: Textual IRC Client: www.textualapp.com [03:49] dreammaster (~dreammast@c-73-241-66-252.hsd1.ca.comcast.net) left irc: [03:54] whiterandrek (~CVoltage@ppp-109-104-179-20.wildpark.net) joined #scummvm. [03:54] #scummvm: mode change '+o whiterandrek' by ChanServ!ChanServ@services. [04:06] SylvainTV (~Sylvain@alille-658-1-80-66.w92-147.abo.wanadoo.fr) left irc: Ping timeout: 258 seconds [04:11] mataniko (~mataniko@unaffiliated/mataniko) left irc: Ping timeout: 272 seconds [04:23] mataniko (~mataniko@unaffiliated/mataniko) joined #scummvm. [04:23] #scummvm: mode change '+o mataniko' by ChanServ!ChanServ@services. [04:25] cd (~cd@unaffiliated/cd) left irc: Quit: cd [04:30] [scummvm] sluicebox pushed 1 new commits to master: https://git.io/fjHyn [04:30] scummvm/master d10c69d sluicebox: SCI: Update SQ4 swimAndShoot workaround [05:16] jamm (~jam@unaffiliated/jamm) joined #scummvm. [05:49] jamm (~jam@unaffiliated/jamm) left irc: Ping timeout: 258 seconds [06:08] rsn8887_ (~rsn8887@ip68-97-1-62.ok.ok.cox.net) left irc: Remote host closed the connection [06:10] rsn8887_ (~rsn8887@ip68-97-1-62.ok.ok.cox.net) joined #scummvm. [06:12] SupSuper (~SupSuper@openxcom/dev/supsuper) left irc: Quit: Rip [06:18] Drenn (~Drenn@bas6-toronto01-70-52-223-40.dsl.bell.ca) left irc: Ping timeout: 245 seconds [06:23] _sev (~sev@scummvm/undead/sev) left irc: Quit: This computer has gone to sleep [06:48] jamm (~jamm@unaffiliated/jamm) joined #scummvm. [06:55] _sev (~sev@scummvm/undead/sev) joined #scummvm. [06:55] #scummvm: mode change '+o _sev' by ChanServ!ChanServ@services. [07:01] [scummvm] bluegr pushed 1 new commits to master: https://git.io/fjHS9 [07:01] scummvm/master 8b8fb6d ccawley2011: SDL: Simplify implementation of createLogFile() [07:01] [scummvm] bluegr closed pull request #1789: SDL: Simplify implementation of createLogFile() (master...createLogFile) https://git.io/fjHPL [07:05] How does gamesscreen shaking work? Just shake the whole displayed screen? [07:05] Including mouse pointer and everything? [07:20] SylvainTV (~Sylvain@alille-658-1-80-66.w92-147.abo.wanadoo.fr) joined #scummvm. [07:20] #scummvm: mode change '+o SylvainTV' by ChanServ!ChanServ@services. [07:24] whiterandrek (~CVoltage@ppp-109-104-179-20.wildpark.net) left irc: Read error: Connection reset by peer [07:29] _sev (~sev@scummvm/undead/sev) left irc: Quit: This computer has gone to sleep [07:30] SylvainTV (~Sylvain@alille-658-1-80-66.w92-147.abo.wanadoo.fr) left irc: Read error: Connection reset by peer [07:39] rsn8887_ (~rsn8887@ip68-97-1-62.ok.ok.cox.net) left irc: Remote host closed the connection [07:40] rsn8887_ (~rsn8887@ip68-97-1-62.ok.ok.cox.net) joined #scummvm. [07:44] rsn8887_ (~rsn8887@ip68-97-1-62.ok.ok.cox.net) left irc: Ping timeout: 246 seconds [08:15] DominusExult (~dominus@port-92-194-6-143.dynamic.qsc.de) joined #scummvm. [08:15] DominusExult (~dominus@port-92-194-6-143.dynamic.qsc.de) left irc: Changing host [08:15] DominusExult (~dominus@unaffiliated/dominus) joined #scummvm. [08:16] NULUSIOS1 (~nls@mail2.termoil.com) joined #scummvm. [08:16] NULUSIOS1 (nls@mail2.termoil.com) left #scummvm. [08:19] Dominus (~dominus@unaffiliated/dominus) left irc: Ping timeout: 268 seconds [08:19] Nick change: DominusExult -> Dominus [08:24] rsn8887_ (~rsn8887@ip68-97-1-62.ok.ok.cox.net) joined #scummvm. [08:43] vliaskov (~vliaskov@x4e36b12e.dyn.telefonica.de) joined #scummvm. [09:17] rsn8887_ (~rsn8887@ip68-97-1-62.ok.ok.cox.net) left irc: Ping timeout: 258 seconds [09:30] [scummvm] ScummVM-Translations pushed 2 new commits to master: https://git.io/fjHQP [09:30] scummvm/master f450148 criezy: I18N: Regenerate translations data file [09:30] scummvm/master 4211060 criezy: I18N: Update translations templates [10:02] jamm (~jamm@unaffiliated/jamm) left irc: Ping timeout: 246 seconds [10:03] ignalina (~ignalina@h-238-91.A639.priv.bahnhof.se) joined #scummvm. [10:07] ignalina (~ignalina@h-238-91.A639.priv.bahnhof.se) left irc: Remote host closed the connection [10:08] ignalina (~ignalina@h-238-91.A639.priv.bahnhof.se) joined #scummvm. [10:29] rsn8887_ (~rsn8887@ip68-97-1-62.ok.ok.cox.net) joined #scummvm. [11:02] rsn8887_ (~rsn8887@ip68-97-1-62.ok.ok.cox.net) left irc: Ping timeout: 268 seconds [11:10] ignalina (~ignalina@h-238-91.A639.priv.bahnhof.se) left irc: Quit: Textual IRC Client: www.textualapp.com [12:16] jamm (~jam@unaffiliated/jamm) joined #scummvm. [12:20] rsn8887_ (~rsn8887@ip68-97-1-62.ok.ok.cox.net) joined #scummvm. [12:53] rsn8887_ (~rsn8887@ip68-97-1-62.ok.ok.cox.net) left irc: Ping timeout: 245 seconds [13:36] Harekiet_ (harekiet@2001:41d0:a:37e5::4adc:4c6a) joined #scummvm. [13:37] Harekiet (harekiet@2001:41d0:a:37e5::4adc:4c6a) left irc: Ping timeout: 276 seconds [13:50] rsn8887_ (~rsn8887@ip68-97-1-62.ok.ok.cox.net) joined #scummvm. [13:58] rsn8887_ (~rsn8887@ip68-97-1-62.ok.ok.cox.net) left irc: Remote host closed the connection [13:59] rsn8887_ (~rsn8887@ip68-97-1-62.ok.ok.cox.net) joined #scummvm. [14:17] rsn8887_ (~rsn8887@ip68-97-1-62.ok.ok.cox.net) left irc: Remote host closed the connection [14:18] rsn8887_ (~rsn8887@ip68-97-1-62.ok.ok.cox.net) joined #scummvm. [14:37] [scummvm] ScummVM-Translations pushed 1 new commits to master: https://git.io/fjHN9 [14:37] scummvm/master 0b0f803 lotharsm: I18N: Update translation (German) [14:38] JohnnyonFlame (~quassel@179.222.243.167) left irc: Read error: Connection reset by peer [15:00] cd (~cd@unaffiliated/cd) joined #scummvm. [15:45] _sev (~sev@243.254.71.37.rev.sfr.net) joined #scummvm. [15:45] _sev (~sev@243.254.71.37.rev.sfr.net) left irc: Changing host [15:45] _sev (~sev@scummvm/undead/sev) joined #scummvm. [15:45] #scummvm: mode change '+o _sev' by ChanServ!ChanServ@services. [15:49] _sev (~sev@scummvm/undead/sev) left irc: Client Quit [15:50] _sev (~sev@243.254.71.37.rev.sfr.net) joined #scummvm. [15:50] _sev (~sev@243.254.71.37.rev.sfr.net) left irc: Changing host [15:50] _sev (~sev@scummvm/undead/sev) joined #scummvm. [15:50] #scummvm: mode change '+o _sev' by ChanServ!ChanServ@services. [16:08] Drenn (~Drenn@bas6-toronto01-70-52-223-40.dsl.bell.ca) joined #scummvm. [16:10] ny00123 (~ny00123@85-250-143-142.bb.netvision.net.il) joined #scummvm. [16:13] rsn8887_ (~rsn8887@ip68-97-1-62.ok.ok.cox.net) left irc: Remote host closed the connection [16:17] _sev (~sev@scummvm/undead/sev) left irc: Quit: This computer has gone to sleep [16:18] rsn8887_ (~rsn8887@ip68-97-1-62.ok.ok.cox.net) joined #scummvm. [16:26] rsn8887_ (~rsn8887@ip68-97-1-62.ok.ok.cox.net) left irc: Remote host closed the connection [16:29] rsn8887_ (~rsn8887@ip68-97-1-62.ok.ok.cox.net) joined #scummvm. [16:31] JohnnyonFlame (~quassel@179.222.243.167) joined #scummvm. [16:35] What does "script 0 not found" error mean when I try to loaf QFG2 on Switch? [16:36] It works fine on Vita using the same data file.s [16:38] All other games seem to work fine, just that one. [16:45] rsn8887_ (~rsn8887@ip68-97-1-62.ok.ok.cox.net) left irc: Remote host closed the connection [16:46] script 0 is the first thing that's loaded, so that appears to be a serious problem with locating the data [16:46] rsn8887_ (~rsn8887@ip68-97-1-62.ok.ok.cox.net) joined #scummvm. [16:46] Funny because the game detection found it. [16:47] maybe a directory issue of some sort? [16:47] Maybe something weird happened on FTP transfer... [16:47] Probably case of the filenames? Upper/Lowercase? [16:47] Does that matter? [16:47] I don't think that should matter [16:48] Weird. Well all other games work, including other Sierra titles. So it is probably some data corruption. [17:02] BeefEats (~BeefEats@unaffiliated/beefeats) joined #scummvm. [17:09] _sev (~sev@scummvm/undead/sev) joined #scummvm. [17:09] #scummvm: mode change '+o _sev' by ChanServ!ChanServ@services. [17:14] Nick change: Harekiet_ -> Harekiet [17:16] Quest for Glory 1 crashes back to OS on Switch, QFG 2 gives that script 0 error, re-copied filed from gog release. [17:16] The other QFG titles work [17:17] Although looks like nobody tested QFG 3 with on-screen keyboard. [17:18] hi guys [17:20] Hello [17:26] DJW|Home (~djwillis@cpc123798-trow7-2-0-cust28.18-1.cable.virginm.net) left irc: Read error: Connection reset by peer [17:27] jamm (~jam@unaffiliated/jamm) left irc: Ping timeout: 244 seconds [17:27] SylvainTV (~Sylvain@lfbn-lil-1-423-10.w81-49.abo.wanadoo.fr) joined #scummvm. [17:27] #scummvm: mode change '+o SylvainTV' by ChanServ!ChanServ@services. [17:28] ajax16384 (~User@109.60.130.33) joined #scummvm. [17:28] #scummvm: mode change '+o ajax16384' by ChanServ!ChanServ@services. [17:43] SupSuper (~SupSuper@openxcom/dev/supsuper) joined #scummvm. [18:03] yuv422_ (~yuv422@119-18-0-84.771200.syd.nbn.aussiebb.net) joined #scummvm. [18:04] yuv422 (~yuv422@119-18-0-84.771200.syd.nbn.aussiebb.net) left irc: Ping timeout: 245 seconds [18:57] @rsn8887 endianness issues maybe? [18:58] Lightkey (~Darklock@p200300F693D1234322CF30FFFE083718.dip0.t-ipconnect.de) left irc: Ping timeout: 264 seconds [19:11] Lightkey (~Darklock@p200300F693D1230822CF30FFFE083718.dip0.t-ipconnect.de) joined #scummvm. [19:17] heroux (sandroco@gateway/shell/insomnia247/x-wxwsqbbqbxndbnvp) left irc: Ping timeout: 245 seconds [19:23] heroux (sandroco@gateway/shell/insomnia247/x-kxodpquqwkshixjg) joined #scummvm. [20:01] |Cable| (~cable@251.154.165.83.dynamic.reverse-mundo-r.com) left irc: Ping timeout: 244 seconds [20:03] criezy (~criezy@host109-146-210-82.range109-146.btcentralplus.com) joined #scummvm. [20:03] #scummvm: mode change '+o criezy' by ChanServ!ChanServ@services. [20:10] [scummvm] bluegr closed pull request #1734: COMMON: Last character of some TTF texts was cropped (do not merge) (master...wme_ritter_text) https://git.io/fjKbo [20:17] |Cable| (~cable@251.154.165.83.dynamic.reverse-mundo-r.com) joined #scummvm. [20:18] ny00123 (~ny00123@85-250-143-142.bb.netvision.net.il) left irc: Quit: Leaving [20:19] ny00123 (~ny00123@85-250-143-142.bb.netvision.net.il) joined #scummvm. [20:48] ny00123 (~ny00123@85-250-143-142.bb.netvision.net.il) left irc: Quit: Leaving [21:11] _sev (~sev@scummvm/undead/sev) left irc: Ping timeout: 244 seconds [21:13] ajax16384 (~User@109.60.130.33) left irc: Quit: Leaving [21:14] _sev (~sev@243.254.71.37.rev.sfr.net) joined #scummvm. [21:14] _sev (~sev@243.254.71.37.rev.sfr.net) left irc: Changing host [21:14] _sev (~sev@scummvm/undead/sev) joined #scummvm. [21:14] #scummvm: mode change '+o _sev' by ChanServ!ChanServ@services. [21:18] DJWillis (~djwillis@cpc123798-trow7-2-0-cust28.18-1.cable.virginm.net) joined #scummvm. [21:18] #scummvm: mode change '+o DJWillis' by ChanServ!ChanServ@services. [21:43] vliaskov (~vliaskov@x4e36b12e.dyn.telefonica.de) left irc: Remote host closed the connection [21:49] Maybe [21:49] How can I programmatically define an array of structs inside another struct? [21:49] e.g.``` [21:50] Hmm [21:50] Or even simpler [21:50] I can define by hand: [21:51] char array[3][2] = { { "a" , NULL }, { "b", NULL }, { "c", NULL } }; [21:51] Is there a way to do this programattically e.g.: [21:52] char a[2] = { "a", NULL }; char b[2] = { "b", NULL }; char c[2] = { "c", NULL }; char arrary [3][2] = { a, b, c }; [21:53] what do you mean by "programatically"? [21:53] I mean without writing each line. [21:53] I want to use a loop [21:56] Are arrays in definitions replaced by pointers? [21:57] could I do cpp char *array[3][2] = { { mystring1, NULL}, {mystringb, NULL}, {mystringc, NULL}}; [21:58] depends if you need it to be fixed-size or variable-size [21:58] semantically they're the same [21:59] i'm still not sure what you're doing so i'm just gonna link this: https://en.cppreference.com/w/c/language/array_initialization [21:59] since it has more examples [22:00] THis is my question short q3[4][3][2] = { { { 1 }, }, { { 2, 3 }, }, { { 4, 5 }, { 6 }, } }; [22:00] Can I replace the { 2, 3 } with b [22:00] where short[2] b = { 2, 3 }? [22:01] e.g. cpp short b[2] = { 2, 3 }; short q3[4][3][2] = { { { 1 }, }, { b, }, { { 4, 5 }, { 6 }, } }; [22:02] i don't think so. you can't copy arrays around like you would structs [22:02] So how on earth is one to accomplish this? E.g. not typing everything by hand? [22:02] To me these two should be exactly the same (the one with b and without) [22:02] But c craps out. [22:03] for example I want short b[100]; for (i) b[i] = i; [22:03] THen use that in the above q3 array [22:03] withoug typing 100 values. [22:04] Hm I guess I have to create the array empty and then assign each element in a loop. [22:04] you might be able to do: cpp short q3[4][3][2]; q3[0][0] = {2, 3}; ... or use pointers [22:06] to use arrays programatically you always have to access elements one by one, since an array isn't a type, just a grouping (which is why you can only assign them in an initializer) [22:07] with pointers this might work: c short b[2] = { 2, 3 }; short *q3[4][3] = { { a, }, { b, }, { c } }; [22:07] but honestly nested references give me a headache 😛 [22:11] It bothers me. [22:11] I have a struct that contains a large array. [22:11] To set it I have to loop over each element. [22:17] So inside a struct or an array, if it is defined with a fixed size e.g. struct a = { int b, char mystring c[128] } [22:17] I cannot initialize it with a pointer? I have to fill in all 128 values? [22:18] you can have a pointer instead, but then you have to manage it yourself [22:18] And I have to change the struct [22:18] hmmm [22:18] right [22:18] you don't have to initialize all 128 values if you don't need them. they'll just be filled with trash [22:19] you can also memcpy [22:19] So I would create an object struct a mystuff = { 1, { 0 }}; [22:19] Since I don't want to type 128 values. [22:20] THen, do for (i) mystuff.mystring[1] = i; [22:20] to fill them in by hand [22:26] right [22:26] if you wanna zero-out everything first before you fill it in later, i think you can memset, or use some c99 zero initializers [22:27] or you can play with memcpy if you don't mind the cost of copying, just be careful not to corrupt your memory 😛 [22:50] [scummvm] criezy pushed 1 new commits to master: https://git.io/fjQTU [22:50] scummvm/master 8666e95 criezy: CRYOMNI3D: Add detection for French DOS version from ticket #11035 [22:54] criezy (~criezy@host109-146-210-82.range109-146.btcentralplus.com) left irc: Quit: criezy [22:58] criezy (~criezy@host109-146-210-82.range109-146.btcentralplus.com) joined #scummvm. [22:58] #scummvm: mode change '+o criezy' by ChanServ!ChanServ@services. [23:16] criezy (~criezy@host109-146-210-82.range109-146.btcentralplus.com) left irc: Quit: criezy [23:49] _sev (~sev@scummvm/undead/sev) left irc: Ping timeout: 268 seconds [00:00] --- Tue Aug 6 2019