[Back to Index]

  
[01:06] --> dreammaster joined #scummvm.
[01:06] #scummvm: mode change '+o dreammaster' by ChanServ!ChanServ@services.
[01:21] --> JohnnyonFlame joined #scummvm.
[01:25] --> rsn8887_ joined #scummvm.
[01:38] --> DominusExult joined #scummvm.
[01:38] <-- DominusExult left irc: Changing host
[01:38] --> DominusExult joined #scummvm.
[01:41] <-- Dominus left irc: Ping timeout: 245 seconds
[01:41] Nick change: DominusExult -> Dominus
[01:43] <-- Tareon left irc: Read error: Connection reset by peer
[02:47] <-- ignalina left irc: Quit: Textual IRC Client: www.textualapp.com
[02:48] --> Stormkeeper joined #scummvm.
[02:51] --> ignalina joined #scummvm.
[02:57] <-- P2E_ left irc: Ping timeout: 245 seconds
[03:00] <-- ignalina left irc: Remote host closed the connection
[03:00] --> ignalina joined #scummvm.
[03:01] --> P2E joined #scummvm.
[03:25] <-- ignalina left irc: Quit: Textual IRC Client: www.textualapp.com
[03:49] <-- dreammaster left irc:
[03:54] --> whiterandrek joined #scummvm.
[03:54] #scummvm: mode change '+o whiterandrek' by ChanServ!ChanServ@services.
[04:06] <-- SylvainTV left irc: Ping timeout: 258 seconds
[04:11] <-- mataniko left irc: Ping timeout: 272 seconds
[04:23] --> mataniko joined #scummvm.
[04:23] #scummvm: mode change '+o mataniko' by ChanServ!ChanServ@services.
[04:25] <-- cd left irc: Quit: cd
[04:30] <Scummette> [scummvm] sluicebox pushed 1 new commits to master: https://git.io/fjHyn
[04:30] <Scummette> scummvm/master d10c69d sluicebox: SCI: Update SQ4 swimAndShoot workaround
[05:16] --> jamm joined #scummvm.
[05:49] <-- jamm left irc: Ping timeout: 258 seconds
[06:08] <-- rsn8887_ left irc: Remote host closed the connection
[06:10] --> rsn8887_ joined #scummvm.
[06:12] <-- SupSuper left irc: Quit: Rip
[06:18] <-- Drenn left irc: Ping timeout: 245 seconds
[06:23] <-- _sev left irc: Quit: This computer has gone to sleep
[06:48] --> jamm joined #scummvm.
[06:55] --> _sev joined #scummvm.
[06:55] #scummvm: mode change '+o _sev' by ChanServ!ChanServ@services.
[07:01] <Scummette> [scummvm] bluegr pushed 1 new commits to master: https://git.io/fjHS9
[07:01] <Scummette> scummvm/master 8b8fb6d ccawley2011: SDL: Simplify implementation of createLogFile()
[07:01] <Scummette> [scummvm] bluegr closed pull request #1789: SDL: Simplify implementation of createLogFile() (master...createLogFile) https://git.io/fjHPL
[07:05] <Grogbot> <rsn8887> How does gamesscreen shaking work? Just shake the whole displayed screen?
[07:05] <Grogbot> <rsn8887> Including mouse pointer and everything?
[07:20] --> SylvainTV joined #scummvm.
[07:20] #scummvm: mode change '+o SylvainTV' by ChanServ!ChanServ@services.
[07:24] <-- whiterandrek left irc: Read error: Connection reset by peer
[07:29] <-- _sev left irc: Quit: This computer has gone to sleep
[07:30] <-- SylvainTV left irc: Read error: Connection reset by peer
[07:39] <-- rsn8887_ left irc: Remote host closed the connection
[07:40] --> rsn8887_ joined #scummvm.
[07:44] <-- rsn8887_ left irc: Ping timeout: 246 seconds
[08:15] --> DominusExult joined #scummvm.
[08:15] <-- DominusExult left irc: Changing host
[08:15] --> DominusExult joined #scummvm.
[08:16] --> NULUSIOS1 joined #scummvm.
[08:16] NULUSIOS1 (nls@mail2.termoil.com) left #scummvm.
[08:19] <-- Dominus left irc: Ping timeout: 268 seconds
[08:19] Nick change: DominusExult -> Dominus
[08:24] --> rsn8887_ joined #scummvm.
[08:43] --> vliaskov joined #scummvm.
[09:17] <-- rsn8887_ left irc: Ping timeout: 258 seconds
[09:30] <Scummette> [scummvm] ScummVM-Translations pushed 2 new commits to master: https://git.io/fjHQP
[09:30] <Scummette> scummvm/master f450148 criezy: I18N: Regenerate translations data file
[09:30] <Scummette> scummvm/master 4211060 criezy: I18N: Update translations templates
[10:02] <-- jamm left irc: Ping timeout: 246 seconds
[10:03] --> ignalina joined #scummvm.
[10:07] <-- ignalina left irc: Remote host closed the connection
[10:08] --> ignalina joined #scummvm.
[10:29] --> rsn8887_ joined #scummvm.
[11:02] <-- rsn8887_ left irc: Ping timeout: 268 seconds
[11:10] <-- ignalina left irc: Quit: Textual IRC Client: www.textualapp.com
[12:16] --> jamm joined #scummvm.
[12:20] --> rsn8887_ joined #scummvm.
[12:53] <-- rsn8887_ left irc: Ping timeout: 245 seconds
[13:36] --> Harekiet_ joined #scummvm.
[13:37] <-- Harekiet left irc: Ping timeout: 276 seconds
[13:50] --> rsn8887_ joined #scummvm.
[13:58] <-- rsn8887_ left irc: Remote host closed the connection
[13:59] --> rsn8887_ joined #scummvm.
[14:17] <-- rsn8887_ left irc: Remote host closed the connection
[14:18] --> rsn8887_ joined #scummvm.
[14:37] <Scummette> [scummvm] ScummVM-Translations pushed 1 new commits to master: https://git.io/fjHN9
[14:37] <Scummette> scummvm/master 0b0f803 lotharsm: I18N: Update translation (German)
[14:38] <-- JohnnyonFlame left irc: Read error: Connection reset by peer
[15:00] --> cd joined #scummvm.
[15:45] --> _sev joined #scummvm.
[15:45] <-- _sev left irc: Changing host
[15:45] --> _sev joined #scummvm.
[15:45] #scummvm: mode change '+o _sev' by ChanServ!ChanServ@services.
[15:49] <-- _sev left irc: Client Quit
[15:50] --> _sev joined #scummvm.
[15:50] <-- _sev left irc: Changing host
[15:50] --> _sev joined #scummvm.
[15:50] #scummvm: mode change '+o _sev' by ChanServ!ChanServ@services.
[16:08] --> Drenn joined #scummvm.
[16:10] --> ny00123 joined #scummvm.
[16:13] <-- rsn8887_ left irc: Remote host closed the connection
[16:17] <-- _sev left irc: Quit: This computer has gone to sleep
[16:18] --> rsn8887_ joined #scummvm.
[16:26] <-- rsn8887_ left irc: Remote host closed the connection
[16:29] --> rsn8887_ joined #scummvm.
[16:31] --> JohnnyonFlame joined #scummvm.
[16:35] <Grogbot> <rsn8887> What does "script 0 not found" error mean when I try to loaf QFG2 on Switch?
[16:36] <Grogbot> <rsn8887> It works fine on Vita using the same data file.s
[16:38] <Grogbot> <rsn8887> All other games seem to work fine, just that one.
[16:45] <-- rsn8887_ left irc: Remote host closed the connection
[16:46] <Grogbot> <waltervn> script 0 is the first thing that's loaded, so that appears to be a serious problem with locating the data
[16:46] --> rsn8887_ joined #scummvm.
[16:46] <Grogbot> <rsn8887> Funny because the game detection found it.
[16:47] <Grogbot> <waltervn> maybe a directory issue of some sort?
[16:47] <Grogbot> <rsn8887> Maybe something weird happened on FTP transfer...
[16:47] <Grogbot> <rsn8887> Probably case of the filenames? Upper/Lowercase?
[16:47] <Grogbot> <rsn8887> Does that matter?
[16:47] <Grogbot> <waltervn> I don't think that should matter
[16:48] <Grogbot> <rsn8887> Weird. Well all other games work, including other Sierra titles. So it is probably some data corruption.
[17:02] --> BeefEats joined #scummvm.
[17:09] --> _sev joined #scummvm.
[17:09] #scummvm: mode change '+o _sev' by ChanServ!ChanServ@services.
[17:14] Nick change: Harekiet_ -> Harekiet
[17:16] <Grogbot> <rsn8887> 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] <Grogbot> <rsn8887> The other QFG titles work
[17:17] <Grogbot> <rsn8887> Although looks like nobody tested QFG 3 with on-screen keyboard.
[17:18] <Grogbot> <Strangerke> hi guys
[17:20] <Grogbot> <rsn8887> Hello
[17:26] <-- DJW|Home left irc: Read error: Connection reset by peer
[17:27] <-- jamm left irc: Ping timeout: 244 seconds
[17:27] --> SylvainTV joined #scummvm.
[17:27] #scummvm: mode change '+o SylvainTV' by ChanServ!ChanServ@services.
[17:28] --> ajax16384 joined #scummvm.
[17:28] #scummvm: mode change '+o ajax16384' by ChanServ!ChanServ@services.
[17:43] --> SupSuper joined #scummvm.
[18:03] --> yuv422_ joined #scummvm.
[18:04] <-- yuv422 left irc: Ping timeout: 245 seconds
[18:57] <Grogbot> <SupSuper> @rsn8887 endianness issues maybe?
[18:58] <-- Lightkey left irc: Ping timeout: 264 seconds
[19:11] --> Lightkey joined #scummvm.
[19:17] <-- heroux left irc: Ping timeout: 245 seconds
[19:23] --> heroux joined #scummvm.
[20:01] <-- |Cable| left irc: Ping timeout: 244 seconds
[20:03] --> criezy joined #scummvm.
[20:03] #scummvm: mode change '+o criezy' by ChanServ!ChanServ@services.
[20:10] <Scummette> [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| joined #scummvm.
[20:18] <-- ny00123 left irc: Quit: Leaving
[20:19] --> ny00123 joined #scummvm.
[20:48] <-- ny00123 left irc: Quit: Leaving
[21:11] <-- _sev left irc: Ping timeout: 244 seconds
[21:13] <-- ajax16384 left irc: Quit: Leaving
[21:14] --> _sev joined #scummvm.
[21:14] <-- _sev left irc: Changing host
[21:14] --> _sev joined #scummvm.
[21:14] #scummvm: mode change '+o _sev' by ChanServ!ChanServ@services.
[21:18] --> DJWillis joined #scummvm.
[21:18] #scummvm: mode change '+o DJWillis' by ChanServ!ChanServ@services.
[21:43] <-- vliaskov left irc: Remote host closed the connection
[21:49] <Grogbot> <rsn8887> Maybe
[21:49] <Grogbot> <rsn8887> How can I programmatically define an array of structs inside another struct?
[21:49] <Grogbot> <rsn8887> e.g.```
[21:50] <Grogbot> <rsn8887> Hmm
[21:50] <Grogbot> <rsn8887> Or even simpler
[21:50] <Grogbot> <rsn8887> I can define by hand:
[21:51] <Grogbot> <rsn8887> char array[3][2] = { { "a" , NULL }, { "b", NULL }, { "c", NULL } };
[21:51] <Grogbot> <rsn8887> Is there a way to do this programattically e.g.:
[21:52] <Grogbot> <rsn8887> char a[2] = { "a", NULL }; char b[2] = { "b", NULL }; char c[2] = { "c", NULL }; char arrary [3][2] = { a, b, c };
[21:53] <Grogbot> <SupSuper> what do you mean by "programatically"?
[21:53] <Grogbot> <rsn8887> I mean without writing each line.
[21:53] <Grogbot> <rsn8887> I want to use a loop
[21:56] <Grogbot> <rsn8887> Are arrays in definitions replaced by pointers?
[21:57] <Grogbot> <rsn8887> could I do cpp char *array[3][2] = { { mystring1, NULL}, {mystringb, NULL}, {mystringc, NULL}};
[21:58] <Grogbot> <SupSuper> depends if you need it to be fixed-size or variable-size
[21:58] <Grogbot> <SupSuper> semantically they're the same
[21:59] <Grogbot> <SupSuper> 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] <Grogbot> <SupSuper> since it has more examples
[22:00] <Grogbot> <rsn8887> THis is my question short q3[4][3][2] = { { { 1 }, }, { { 2, 3 }, }, { { 4, 5 }, { 6 }, } };
[22:00] <Grogbot> <rsn8887> Can I replace the { 2, 3 } with b
[22:00] <Grogbot> <rsn8887> where short[2] b = { 2, 3 }?
[22:01] <Grogbot> <rsn8887> e.g. cpp short b[2] = { 2, 3 }; short q3[4][3][2] = { { { 1 }, }, { b, }, { { 4, 5 }, { 6 }, } };
[22:02] <Grogbot> <SupSuper> i don't think so. you can't copy arrays around like you would structs
[22:02] <Grogbot> <rsn8887> So how on earth is one to accomplish this? E.g. not typing everything by hand?
[22:02] <Grogbot> <rsn8887> To me these two should be exactly the same (the one with b and without)
[22:02] <Grogbot> <rsn8887> But c craps out.
[22:03] <Grogbot> <rsn8887> for example I want short b[100]; for (i) b[i] = i;
[22:03] <Grogbot> <rsn8887> THen use that in the above q3 array
[22:03] <Grogbot> <rsn8887> withoug typing 100 values.
[22:04] <Grogbot> <rsn8887> Hm I guess I have to create the array empty and then assign each element in a loop.
[22:04] <Grogbot> <SupSuper> you might be able to do: cpp short q3[4][3][2]; q3[0][0] = {2, 3}; ... or use pointers
[22:06] <Grogbot> <SupSuper> 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] <Grogbot> <SupSuper> with pointers this might work: c short b[2] = { 2, 3 }; short *q3[4][3] = { { a, }, { b, }, { c } };
[22:07] <Grogbot> <SupSuper> but honestly nested references give me a headache 😛
[22:11] <Grogbot> <rsn8887> It bothers me.
[22:11] <Grogbot> <rsn8887> I have a struct that contains a large array.
[22:11] <Grogbot> <rsn8887> To set it I have to loop over each element.
[22:17] <Grogbot> <rsn8887> 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] <Grogbot> <rsn8887> I cannot initialize it with a pointer? I have to fill in all 128 values?
[22:18] <Grogbot> <SupSuper> you can have a pointer instead, but then you have to manage it yourself
[22:18] <Grogbot> <rsn8887> And I have to change the struct
[22:18] <Grogbot> <rsn8887> hmmm
[22:18] <Grogbot> <SupSuper> right
[22:18] <Grogbot> <SupSuper> you don't have to initialize all 128 values if you don't need them. they'll just be filled with trash
[22:19] <Grogbot> <SupSuper> you can also memcpy
[22:19] <Grogbot> <rsn8887> So I would create an object struct a mystuff = { 1, { 0 }};
[22:19] <Grogbot> <rsn8887> Since I don't want to type 128 values.
[22:20] <Grogbot> <rsn8887> THen, do for (i) mystuff.mystring[1] = i;
[22:20] <Grogbot> <rsn8887> to fill them in by hand
[22:26] <Grogbot> <SupSuper> right
[22:26] <Grogbot> <SupSuper> 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] <Grogbot> <SupSuper> 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] <Scummette> [scummvm] criezy pushed 1 new commits to master: https://git.io/fjQTU
[22:50] <Scummette> scummvm/master 8666e95 criezy: CRYOMNI3D: Add detection for French DOS version from ticket #11035
[22:54] <-- criezy left irc: Quit: criezy
[22:58] --> criezy joined #scummvm.
[22:58] #scummvm: mode change '+o criezy' by ChanServ!ChanServ@services.
[23:16] <-- criezy left irc: Quit: criezy
[23:49] <-- _sev left irc: Ping timeout: 268 seconds
[00:00] --- Tue Aug 6 2019