[00:13] man, this simple little GK2 but is turning into my own personal nightmare [00:13] bug* [00:15] Resource locks arent persisted into save games, and the resource manager isnt reset when loading a save game, so the behaviour of a save game being loaded without restarting scummvm can be different than loading the exact same game after restarting scummvm [00:18] Enough hardcoded logic for today... Bye guys! [00:28] GitHub174 (~GitHub174@192.30.252.42) joined #scummvm. [00:28] [scummvm] dreammaster pushed 1 new commit to master: https://git.io/vHwrn [00:28] scummvm/master 13048f2 Paul Gilbert: TITANIC: Add some const prefixes to mover proc2 [00:28] GitHub174 (GitHub174@192.30.252.42) left #scummvm. [00:34] GitHub175 (~GitHub175@192.30.252.42) joined #scummvm. [00:34] [scummvm] dreammaster pushed 1 new commit to master: https://git.io/vHwrK [00:34] scummvm/master cb3f8f3 Paul Gilbert: TITANIC: Rewrite of lockMarker2 [00:34] GitHub175 (GitHub175@192.30.252.42) left #scummvm. [00:50] SylvainTV (~SylvainTV@LFbn-1-8392-241.w81-254.abo.wanadoo.fr) left irc: Read error: Connection reset by peer [01:28] Nick change: rrebello_ -> rrebello [01:39] Joefish (~ident@p200300764F1F6A001A5E0FFFFE1124CA.dip0.t-ipconnect.de) left irc: Ping timeout: 260 seconds [01:44] DominusExult (~dominus@unaffiliated/dominus) joined #scummvm. [01:46] Dominus (~dominus@unaffiliated/dominus) left irc: Ping timeout: 260 seconds [01:46] Nick change: DominusExult -> Dominus [01:57] Littleboy (~littleboy@c-73-4-50-241.hsd1.ma.comcast.net) left irc: Quit: Ętre dans le vent, une ambition de feuille morte. [02:32] Mia (~Mia@78.165.189.152) joined #scummvm. [02:32] Mia (~Mia@78.165.189.152) left irc: Changing host [02:32] Mia (~Mia@unaffiliated/mia) joined #scummvm. [03:48] dreammaster (~dreammast@c-73-149-116-247.hsd1.vt.comcast.net) left irc: [04:17] snover (~snover@unaffiliated/snover) left irc: Ping timeout: 240 seconds [04:22] snover (~snover@unaffiliated/snover) joined #scummvm. [04:22] #scummvm: mode change '+o snover' by ChanServ!ChanServ@services. [04:49] goom (~goom@cpe-173-174-162-201.satx.res.rr.com) joined #scummvm. [04:52] goom (goom@cpe-173-174-162-201.satx.res.rr.com) left #scummvm. [05:06] Lightkey (~Darklock@p200300764C7B171722CF30FFFE083718.dip0.t-ipconnect.de) left irc: Ping timeout: 255 seconds [05:18] Lightkey (~Darklock@p200300764C7B175422CF30FFFE083718.dip0.t-ipconnect.de) joined #scummvm. [06:34] hi ! [06:51] Joefish (~ident@p200300764F295C001A5E0FFFFE1124CA.dip0.t-ipconnect.de) joined #scummvm. [06:51] #scummvm: mode change '+v Joefish' by ChanServ!ChanServ@services. [06:51] hi [06:56] Henke37 (~Henrik@81-227-16-59-no133.bredband.skanova.com) joined #scummvm. [07:10] hey [08:05] Strangerke|work (5bb7582b@gateway/web/freenode/ip.91.183.88.43) joined #scummvm. [08:05] hi guys [08:06] LittleToonCat (~littlecat@47.54.148.237) left irc: Remote host closed the connection [08:26] Henke37 (~Henrik@81-227-16-59-no133.bredband.skanova.com) left irc: Read error: Connection reset by peer [08:26] Henke37 (~Henrik@81-227-16-59-no133.bredband.skanova.com) joined #scummvm. [08:28] TMM (~hp@fsf/member/pdpc.professional.tmm) left irc: Quit: Ex-Chat [08:44] _sev|work (~sev@scummvm/undead/sev) joined #scummvm. [08:44] #scummvm: mode change '+o _sev|work' by ChanServ!ChanServ@services. [08:46] Strangerke (~Strangerk@cable-85.28.84.13.coditel.net) left irc: Ping timeout: 240 seconds [08:51] Axy (~Mia@unaffiliated/mia) joined #scummvm. [08:53] Mia (~Mia@unaffiliated/mia) left irc: Ping timeout: 255 seconds [08:55] Mia (~Mia@88.232.211.30) joined #scummvm. [08:55] Mia (~Mia@88.232.211.30) left irc: Changing host [08:55] Mia (~Mia@unaffiliated/mia) joined #scummvm. [08:56] Mia (~Mia@unaffiliated/mia) left irc: Remote host closed the connection [08:57] Axy (~Mia@unaffiliated/mia) left irc: Ping timeout: 240 seconds [09:10] ajax16384 (~User@109.60.138.138) joined #scummvm. [09:10] #scummvm: mode change '+o ajax16384' by ChanServ!ChanServ@services. [09:17] TMM (~hp@fsf/member/pdpc.professional.tmm) joined #scummvm. [09:17] #scummvm: mode change '+o TMM' by ChanServ!ChanServ@services. [09:22] _sev|work_ (~sev@proxy-gw-l.booking.com) joined #scummvm. [09:22] _sev|work_ (~sev@proxy-gw-l.booking.com) left irc: Changing host [09:22] _sev|work_ (~sev@scummvm/undead/sev) joined #scummvm. [09:22] #scummvm: mode change '+o _sev|work_' by ChanServ!ChanServ@services. [09:25] Mia (~Mia@78.165.135.15) joined #scummvm. [09:25] Mia (~Mia@78.165.135.15) left irc: Changing host [09:25] Mia (~Mia@unaffiliated/mia) joined #scummvm. [09:25] _sev|work (~sev@scummvm/undead/sev) left irc: Ping timeout: 255 seconds [09:30] Axy (~Mia@31.200.10.129) joined #scummvm. [09:30] Axy (~Mia@31.200.10.129) left irc: Changing host [09:30] Axy (~Mia@unaffiliated/mia) joined #scummvm. [09:32] Mia (~Mia@unaffiliated/mia) left irc: Ping timeout: 240 seconds [09:36] Axy (~Mia@unaffiliated/mia) left irc: Ping timeout: 258 seconds [09:50] Mia (~Mia@31.200.10.177) joined #scummvm. [09:50] Mia (~Mia@31.200.10.177) left irc: Changing host [09:50] Mia (~Mia@unaffiliated/mia) joined #scummvm. [09:54] Axy (~Mia@31.200.10.182) joined #scummvm. [09:54] Axy (~Mia@31.200.10.182) left irc: Changing host [09:54] Axy (~Mia@unaffiliated/mia) joined #scummvm. [09:57] Mia (~Mia@unaffiliated/mia) left irc: Ping timeout: 268 seconds [10:39] DJW|Home (~djwillis@cpc2-trow6-2-0-cust204.aztw.cable.virginm.net) left irc: Ping timeout: 260 seconds [10:40] criezy|Work (a5e15040@gateway/web/freenode/ip.165.225.80.64) joined #scummvm. [10:40] #scummvm: mode change '+o criezy|Work' by ChanServ!ChanServ@services. [11:27] user9 (~Thunderbi@leoseb.ujf-grenoble.fr) left irc: Quit: user9 [11:32] user9 (~Thunderbi@leoseb.ujf-grenoble.fr) joined #scummvm. [12:09] waltervn (~waltervn@541B2DBA.cm-5-4a.dynamic.ziggo.nl) joined #scummvm. [12:09] #scummvm: mode change '+o waltervn' by ChanServ!ChanServ@services. [12:17] _sev|work_ (~sev@scummvm/undead/sev) left irc: Quit: This computer has gone to sleep [12:21] _sev|work (~sev@proxy-gw-l.booking.com) joined #scummvm. [12:21] _sev|work (~sev@proxy-gw-l.booking.com) left irc: Changing host [12:21] _sev|work (~sev@scummvm/undead/sev) joined #scummvm. [12:21] #scummvm: mode change '+o _sev|work' by ChanServ!ChanServ@services. [12:56] _sev|work (~sev@scummvm/undead/sev) left irc: Quit: This computer has gone to sleep [13:01] _sev|work (~sev@scummvm/undead/sev) joined #scummvm. [13:01] #scummvm: mode change '+o _sev|work' by ChanServ!ChanServ@services. [14:01] hmm, readline text console is no longer working for me in windows, how odd [14:46] rootfather (~rootfathe@pD9F7EC43.dip0.t-ipconnect.de) joined #scummvm. [14:46] rootfather (~rootfathe@pD9F7EC43.dip0.t-ipconnect.de) left irc: Changing host [14:46] rootfather (~rootfathe@unaffiliated/rootfather) joined #scummvm. [14:46] #scummvm: mode change '+o rootfather' by ChanServ!ChanServ@services. [15:10] I get the debug prompt but I can't type anything... [15:57] _sev|work (~sev@scummvm/undead/sev) left irc: Quit: This computer has gone to sleep [15:58] ajax16384 (~User@109.60.138.138) left irc: Quit: Leaving [16:02] WooShell (~Markus@ipbcc06af5.dynamic.kabel-deutschland.de) joined #scummvm. [16:04] TMM (~hp@fsf/member/pdpc.professional.tmm) left irc: Quit: Ex-Chat [16:08] LittleToonCat (~littlecat@47.54.148.237) joined #scummvm. [16:12] It worked before? [16:22] ny00123 (~ny00123@46-116-13-123.bb.netvision.net.il) joined #scummvm. [16:41] Strangerke|work (5bb7582b@gateway/web/freenode/ip.91.183.88.43) left irc: Quit: Bbl [16:44] yes [16:44] ajax16384 (~User@109.60.130.33) joined #scummvm. [16:44] #scummvm: mode change '+o ajax16384' by ChanServ!ChanServ@services. [16:47] criezy|Work (a5e15040@gateway/web/freenode/ip.165.225.80.64) left irc: Ping timeout: 260 seconds [16:49] t0by (~t0by@host205-247-dynamic.245-95-r.retail.telecomitalia.it) joined #scummvm. [16:49] t0by (~t0by@host205-247-dynamic.245-95-r.retail.telecomitalia.it) left irc: Changing host [16:49] t0by (~t0by@unaffiliated/t0by) joined #scummvm. [16:49] #scummvm: mode change '+o t0by' by ChanServ!ChanServ@services. [16:51] Littleboy (~littleboy@c-73-4-50-241.hsd1.ma.comcast.net) joined #scummvm. [16:51] #scummvm: mode change '+o Littleboy' by ChanServ!ChanServ@services. [16:54] meow =^.^= [16:55] girafe (~girafe@LFbn-1-11729-221.w2-7.abo.wanadoo.fr) joined #scummvm. [17:03] TMM (~hp@fsf/member/pdpc.professional.tmm) joined #scummvm. [17:03] #scummvm: mode change '+o TMM' by ChanServ!ChanServ@services. [17:08] m_kiewitz (~m_kiewitz@scummvm/undead/m-kiewitz) joined #scummvm. [17:08] #scummvm: mode change '+o m_kiewitz' by ChanServ!ChanServ@services. [17:24] DJWillis (~djwillis@cpc123746-trow7-2-0-cust5.18-1.cable.virginm.net) joined #scummvm. [17:24] #scummvm: mode change '+o DJWillis' by ChanServ!ChanServ@services. [17:42] SylvainTV (~SylvainTV@LFbn-1-8392-241.w81-254.abo.wanadoo.fr) joined #scummvm. [17:42] #scummvm: mode change '+o SylvainTV' by ChanServ!ChanServ@services. [18:20] Strangerke (~Strangerk@cable-85.28.84.13.coditel.net) joined #scummvm. [18:38] DJW|Home (~djwillis@cpc123746-trow7-2-0-cust5.18-1.cable.virginm.net) joined #scummvm. [18:38] #scummvm: mode change '+o DJW|Home' by ChanServ!ChanServ@services. [18:41] DJWillis (~djwillis@cpc123746-trow7-2-0-cust5.18-1.cable.virginm.net) left irc: Ping timeout: 255 seconds [18:47] DJW|Badger (~djwillis@cpc123746-trow7-2-0-cust5.18-1.cable.virginm.net) joined #scummvm. [18:51] DJW|Home (~djwillis@cpc123746-trow7-2-0-cust5.18-1.cable.virginm.net) left irc: Ping timeout: 246 seconds [18:54] girafe (~girafe@LFbn-1-11729-221.w2-7.abo.wanadoo.fr) left irc: Read error: Connection reset by peer [19:00] I'm trying to follow these instructions: http://wiki.scummvm.org/index.php/HOWTO-Reverse_Engineering#From_IDA_to_the_Debugger it doesn't seem to be working. [19:00] I followed the steps but it doesn't actually say what to do with the current offset [19:08] #scummvm: mode change '+o Strangerke' by ChanServ!ChanServ@services. [19:35] Current offset? [19:35] of the insn I want to bp on [19:40] Offset is typically linear, but locating the segment may take some work depending on the exe structure [19:41] Although usually it's fairly straightforward to match [19:41] Just look for matching code fragments in dosbox and ida [19:41] Oh yeah [19:43] There's also the idados ida/dosbox debugger plugin, but that can be tricky to set up [19:43] But when it works it uses dosbox as an ida debugger backend [19:44] (The trickiness is largely this same segment translation) [19:49] seems like it's 20e for the start [19:49] err segment 21 [19:49] err 1 [19:50] so segment 3 would be 20e + 2? [19:52] I don't follow [20:03] t0by (~t0by@unaffiliated/t0by) left irc: Ping timeout: 240 seconds [20:04] so the instruction at the start is 020E:0000 in the debugger. this is seg0000:0000 in ida [20:07] no, ida's segment 3 won't be 0211, as one may think [20:09] normally, it would be 020E + (size of segment 0 + size of segment 1 + size of segment 3) / 16 [20:10] but it's not guaranteed, as developers/compiler may use more tricky segments notation [20:11] I don't see any tricky segment code in the disassembly [20:11] so I guess I just don't know how segments work [20:11] stupid 16bit stuff [20:11] come on, it's easy [20:13] ahhh, that worked [20:14] what? [20:15] t0by (~t0by@host205-247-dynamic.245-95-r.retail.telecomitalia.it) joined #scummvm. [20:15] t0by (~t0by@host205-247-dynamic.245-95-r.retail.telecomitalia.it) left irc: Changing host [20:15] t0by (~t0by@unaffiliated/t0by) joined #scummvm. [20:15] #scummvm: mode change '+o t0by' by ChanServ!ChanServ@services. [20:15] segment:offset translates to 16*segment + offset as a linear address [20:15] sure, that's how real mode x86 works :) [20:15] which in particular also means that there are multiple ways of representing a single address [20:15] yes [20:15] 020E + 4FE (segment0 size + segment 1 size) : offset [20:15] the bp fired at the time I wanted [20:15] but then there's segmentation and page tables [20:16] that's why i mentioned trickstery :) [20:18] t0by (~t0by@unaffiliated/t0by) left irc: Client Quit [20:23] oh, screw it, I'm hacking a printf into this binary [20:24] girafe (~girafe@LFbn-1-11729-221.w2-7.abo.wanadoo.fr) joined #scummvm. [20:27] dosbox not doing what you'd want? [20:29] the loop just happens too often to step through [20:30] it doesn't seem to have a count only bp option [20:30] it's also quite doable to hack dumping data when breakpoints get hit into dosbox [20:30] that'd be another option [20:31] girafe2 (~girafe@LFbn-1-11729-221.w2-7.abo.wanadoo.fr) joined #scummvm. [20:32] girafe (~girafe@LFbn-1-11729-221.w2-7.abo.wanadoo.fr) left irc: Ping timeout: 240 seconds [20:33] looks like I never saved my hacks when doing that [20:35] t0by (~t0by@host205-247-dynamic.245-95-r.retail.telecomitalia.it) joined #scummvm. [20:41] ajax16384 (~User@109.60.130.33) left irc: Read error: Connection reset by peer [20:45] t0by (~t0by@host205-247-dynamic.245-95-r.retail.telecomitalia.it) left irc: Quit: t0by [20:57] t0by (~t0by@host205-247-dynamic.245-95-r.retail.telecomitalia.it) joined #scummvm. [20:57] t0by (~t0by@host205-247-dynamic.245-95-r.retail.telecomitalia.it) left irc: Changing host [20:57] t0by (~t0by@unaffiliated/t0by) joined #scummvm. [20:57] #scummvm: mode change '+o t0by' by ChanServ!ChanServ@services. [21:00] t0by (~t0by@unaffiliated/t0by) left irc: Client Quit [21:03] Henke37 (~Henrik@81-227-16-59-no133.bredband.skanova.com) left irc: Quit: ERR_SHUTDOWN [21:07] Axy (~Mia@unaffiliated/mia) left irc: Read error: Connection reset by peer [21:09] Mia (~Mia@31.200.10.182) joined #scummvm. [21:09] Mia (~Mia@31.200.10.182) left irc: Changing host [21:09] Mia (~Mia@unaffiliated/mia) joined #scummvm. [21:10] Mia (~Mia@unaffiliated/mia) left irc: Read error: Connection reset by peer [21:10] Mia (~Mia@31.200.10.182) joined #scummvm. [21:10] Mia (~Mia@31.200.10.182) left irc: Changing host [21:10] Mia (~Mia@unaffiliated/mia) joined #scummvm. [21:11] Mia (~Mia@unaffiliated/mia) left irc: Read error: Connection reset by peer [21:11] waltervn (~waltervn@541B2DBA.cm-5-4a.dynamic.ziggo.nl) left irc: Quit: Leaving [21:12] Mia (~Mia@unaffiliated/mia) joined #scummvm. [21:14] Mia (~Mia@unaffiliated/mia) left irc: Read error: Connection reset by peer [21:20] t0by (~t0by@unaffiliated/t0by) joined #scummvm. [21:20] #scummvm: mode change '+o t0by' by ChanServ!ChanServ@services. [21:29] t0by (~t0by@unaffiliated/t0by) left irc: Quit: t0by [21:30] t0by (~t0by@host205-247-dynamic.245-95-r.retail.telecomitalia.it) joined #scummvm. [21:30] t0by (~t0by@host205-247-dynamic.245-95-r.retail.telecomitalia.it) left irc: Changing host [21:30] t0by (~t0by@unaffiliated/t0by) joined #scummvm. [21:30] #scummvm: mode change '+o t0by' by ChanServ!ChanServ@services. [22:03] ny00123 (~ny00123@46-116-13-123.bb.netvision.net.il) left irc: Quit: Leaving [22:10] DJW|Home (~djwillis@cpc123746-trow7-2-0-cust5.18-1.cable.virginm.net) joined #scummvm. [22:10] #scummvm: mode change '+o DJW|Home' by ChanServ!ChanServ@services. [22:13] DJW|Badger (~djwillis@cpc123746-trow7-2-0-cust5.18-1.cable.virginm.net) left irc: Ping timeout: 240 seconds [22:38] ST (~ScottT@203-227-181-180.cpe.skymesh.net.au) left irc: Read error: Connection reset by peer [22:41] ST (~ScottT@203-227-181-180.cpe.skymesh.net.au) joined #scummvm. [22:41] #scummvm: mode change '+o ST' by ChanServ!ChanServ@services. [22:43] m_kiewitz (~m_kiewitz@scummvm/undead/m-kiewitz) left irc: Quit: technology isn't intrinsically good or evil. It's how it's used. Like the Death Ray. [22:46] girafe2 (~girafe@LFbn-1-11729-221.w2-7.abo.wanadoo.fr) left irc: Read error: Connection reset by peer [22:48] Littleboy (~littleboy@c-73-4-50-241.hsd1.ma.comcast.net) left irc: Quit: Ętre dans le vent, une ambition de feuille morte. [22:50] Joefish (~ident@p200300764F295C001A5E0FFFFE1124CA.dip0.t-ipconnect.de) left irc: Ping timeout: 260 seconds [23:05] after a bunch of research, and all that worrying about resource locks, while some of my concerns are probably still valid, it looks like SSCI prior to GK2 didnt really do anything to manage its locks either. so i think i will just redirect any audio resources locked by kLock to Audio32, and make that component serializable. (GK2+SCI3 serialise lock state on view/pic/sync too; i am uncertain as to why at the moment so i am just ignori [23:05] ng that for now&) [23:06] WooShell (~Markus@ipbcc06af5.dynamic.kabel-deutschland.de) left irc: Quit: If you understand or if you don't, if you believe or if you doubt - There's a universal justice, and the eyes of truth are always watching you. [23:07] (in SSCI, locked memory seems to be either flagged as disposable or transient, and neither of those flags are allowed to be saved into the save game) [23:44] (locked resource memory*) [23:51] dreammaster (~dreammast@c-73-149-116-247.hsd1.vt.comcast.net) joined #scummvm. [23:51] #scummvm: mode change '+o dreammaster' by ChanServ!ChanServ@services. [23:56] t0by (~t0by@unaffiliated/t0by) left irc: Quit: t0by [23:56] SylvainTV (~SylvainTV@LFbn-1-8392-241.w81-254.abo.wanadoo.fr) left irc: Quit: User pushed the X - because it's Xtra, baby [00:00] --- Wed Jun 7 2017