[Back to Index]

  
[00:13] <snover> man, this simple little GK2 but is turning into my own personal nightmare
[00:13] <snover> bug*
[00:15] <snover> 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] <Strangerke> Enough hardcoded logic for today... Bye guys!
[00:28] --> GitHub174 joined #scummvm.
[00:28] <GitHub174> [scummvm] dreammaster pushed 1 new commit to master: https://git.io/vHwrn
[00:28] <GitHub174> 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 joined #scummvm.
[00:34] <GitHub175> [scummvm] dreammaster pushed 1 new commit to master: https://git.io/vHwrK
[00:34] <GitHub175> scummvm/master cb3f8f3 Paul Gilbert: TITANIC: Rewrite of lockMarker2
[00:34] GitHub175 (GitHub175@192.30.252.42) left #scummvm.
[00:50] <-- SylvainTV left irc: Read error: Connection reset by peer
[01:28] Nick change: rrebello_ -> rrebello
[01:39] <-- Joefish left irc: Ping timeout: 260 seconds
[01:44] --> DominusExult joined #scummvm.
[01:46] <-- Dominus left irc: Ping timeout: 260 seconds
[01:46] Nick change: DominusExult -> Dominus

[02:32] --> Mia joined #scummvm.
[02:32] <-- Mia left irc: Changing host
[02:32] --> Mia joined #scummvm.
[03:48] <-- dreammaster left irc:
[04:17] <-- snover left irc: Ping timeout: 240 seconds
[04:22] --> snover joined #scummvm.
[04:22] #scummvm: mode change '+o snover' by ChanServ!ChanServ@services.
[04:49] --> goom joined #scummvm.
[04:52] goom (goom@cpe-173-174-162-201.satx.res.rr.com) left #scummvm.
[05:06] <-- Lightkey left irc: Ping timeout: 255 seconds
[05:18] --> Lightkey joined #scummvm.
[06:34] <cpasjuste> hi !
[06:51] --> Joefish joined #scummvm.
[06:51] #scummvm: mode change '+v Joefish' by ChanServ!ChanServ@services.
[06:51] <TMM> hi
[06:56] --> Henke37 joined #scummvm.
[07:10] <Joefish> hey
[08:05] --> Strangerke|work joined #scummvm.
[08:05] <Strangerke|work> hi guys
[08:06] <-- LittleToonCat left irc: Remote host closed the connection
[08:26] <-- Henke37 left irc: Read error: Connection reset by peer
[08:26] --> Henke37 joined #scummvm.
[08:28] <-- TMM left irc: Quit: Ex-Chat
[08:44] --> _sev|work joined #scummvm.
[08:44] #scummvm: mode change '+o _sev|work' by ChanServ!ChanServ@services.
[08:46] <-- Strangerke left irc: Ping timeout: 240 seconds
[08:51] --> Axy joined #scummvm.
[08:53] <-- Mia left irc: Ping timeout: 255 seconds
[08:55] --> Mia joined #scummvm.
[08:55] <-- Mia left irc: Changing host
[08:55] --> Mia joined #scummvm.
[08:56] <-- Mia left irc: Remote host closed the connection
[08:57] <-- Axy left irc: Ping timeout: 240 seconds
[09:10] --> ajax16384 joined #scummvm.
[09:10] #scummvm: mode change '+o ajax16384' by ChanServ!ChanServ@services.
[09:17] --> TMM joined #scummvm.
[09:17] #scummvm: mode change '+o TMM' by ChanServ!ChanServ@services.
[09:22] --> _sev|work_ joined #scummvm.
[09:22] <-- _sev|work_ left irc: Changing host
[09:22] --> _sev|work_ joined #scummvm.
[09:22] #scummvm: mode change '+o _sev|work_' by ChanServ!ChanServ@services.
[09:25] --> Mia joined #scummvm.
[09:25] <-- Mia left irc: Changing host
[09:25] --> Mia joined #scummvm.
[09:25] <-- _sev|work left irc: Ping timeout: 255 seconds
[09:30] --> Axy joined #scummvm.
[09:30] <-- Axy left irc: Changing host
[09:30] --> Axy joined #scummvm.
[09:32] <-- Mia left irc: Ping timeout: 240 seconds
[09:36] <-- Axy left irc: Ping timeout: 258 seconds
[09:50] --> Mia joined #scummvm.
[09:50] <-- Mia left irc: Changing host
[09:50] --> Mia joined #scummvm.
[09:54] --> Axy joined #scummvm.
[09:54] <-- Axy left irc: Changing host
[09:54] --> Axy joined #scummvm.
[09:57] <-- Mia left irc: Ping timeout: 268 seconds
[10:39] <-- DJW|Home left irc: Ping timeout: 260 seconds
[10:40] --> criezy|Work joined #scummvm.
[10:40] #scummvm: mode change '+o criezy|Work' by ChanServ!ChanServ@services.
[11:27] <-- user9 left irc: Quit: user9
[11:32] --> user9 joined #scummvm.
[12:09] --> waltervn joined #scummvm.
[12:09] #scummvm: mode change '+o waltervn' by ChanServ!ChanServ@services.
[12:17] <-- _sev|work_ left irc: Quit: This computer has gone to sleep
[12:21] --> _sev|work joined #scummvm.
[12:21] <-- _sev|work left irc: Changing host
[12:21] --> _sev|work joined #scummvm.
[12:21] #scummvm: mode change '+o _sev|work' by ChanServ!ChanServ@services.
[12:56] <-- _sev|work left irc: Quit: This computer has gone to sleep
[13:01] --> _sev|work joined #scummvm.
[13:01] #scummvm: mode change '+o _sev|work' by ChanServ!ChanServ@services.
[14:01] <waltervn> hmm, readline text console is no longer working for me in windows, how odd
[14:46] --> rootfather joined #scummvm.
[14:46] <-- rootfather left irc: Changing host
[14:46] --> rootfather joined #scummvm.
[14:46] #scummvm: mode change '+o rootfather' by ChanServ!ChanServ@services.
[15:10] <waltervn> I get the debug prompt but I can't type anything...
[15:57] <-- _sev|work left irc: Quit: This computer has gone to sleep
[15:58] <-- ajax16384 left irc: Quit: Leaving
[16:02] --> WooShell joined #scummvm.
[16:04] <-- TMM left irc: Quit: Ex-Chat
[16:08] --> LittleToonCat joined #scummvm.
[16:12] <wjp> It worked before?
[16:22] --> ny00123 joined #scummvm.
[16:41] <-- Strangerke|work left irc: Quit: Bbl
[16:44] <waltervn> yes
[16:44] --> ajax16384 joined #scummvm.
[16:44] #scummvm: mode change '+o ajax16384' by ChanServ!ChanServ@services.
[16:47] <-- criezy|Work left irc: Ping timeout: 260 seconds
[16:49] --> t0by joined #scummvm.
[16:49] <-- t0by left irc: Changing host
[16:49] --> t0by joined #scummvm.
[16:49] #scummvm: mode change '+o t0by' by ChanServ!ChanServ@services.
[16:51] --> Littleboy joined #scummvm.
[16:51] #scummvm: mode change '+o Littleboy' by ChanServ!ChanServ@services.
[16:54] <WooShell> meow =^.^=
[16:55] --> girafe joined #scummvm.
[17:03] --> TMM joined #scummvm.
[17:03] #scummvm: mode change '+o TMM' by ChanServ!ChanServ@services.
[17:08] --> m_kiewitz joined #scummvm.
[17:08] #scummvm: mode change '+o m_kiewitz' by ChanServ!ChanServ@services.
[17:24] --> DJWillis joined #scummvm.
[17:24] #scummvm: mode change '+o DJWillis' by ChanServ!ChanServ@services.
[17:42] --> SylvainTV joined #scummvm.
[17:42] #scummvm: mode change '+o SylvainTV' by ChanServ!ChanServ@services.
[18:20] --> Strangerke joined #scummvm.
[18:38] --> DJW|Home joined #scummvm.
[18:38] #scummvm: mode change '+o DJW|Home' by ChanServ!ChanServ@services.
[18:41] <-- DJWillis left irc: Ping timeout: 255 seconds
[18:47] --> DJW|Badger joined #scummvm.
[18:51] <-- DJW|Home left irc: Ping timeout: 246 seconds
[18:54] <-- girafe left irc: Read error: Connection reset by peer
[19:00] <TMM> 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] <TMM> 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] <wjp> Current offset?
[19:35] <TMM> of the insn I want to bp on
[19:40] <wjp> Offset is typically linear, but locating the segment may take some work depending on the exe structure
[19:41] <wjp> Although usually it's fairly straightforward to match
[19:41] <wjp> Just look for matching code fragments in dosbox and ida
[19:41] <TMM> Oh yeah
[19:43] <wjp> There's also the idados ida/dosbox debugger plugin, but that can be tricky to set up
[19:43] <wjp> But when it works it uses dosbox as an ida debugger backend
[19:44] <wjp> (The trickiness is largely this same segment translation)
[19:49] <TMM> seems like it's 20e for the start
[19:49] <TMM> err segment 21
[19:49] <TMM> err 1
[19:50] <TMM> so segment 3 would be 20e + 2?
[19:52] <wjp> I don't follow
[20:03] <-- t0by left irc: Ping timeout: 240 seconds
[20:04] <TMM> so the instruction at the start is 020E:0000 in the debugger. this is seg0000:0000 in ida
[20:07] <wanwan> no, ida's segment 3 won't be 0211, as one may think
[20:09] <wanwan> normally, it would be 020E + (size of segment 0 + size of segment 1 + size of segment 3) / 16
[20:10] <wanwan> but it's not guaranteed, as developers/compiler may use more tricky segments notation
[20:11] <TMM> I don't see any tricky segment code in the disassembly
[20:11] <TMM> so I guess I just don't know how segments work
[20:11] <TMM> stupid 16bit stuff
[20:11] <wanwan> come on, it's easy
[20:13] <TMM> ahhh, that worked
[20:14] <wanwan> what?
[20:15] --> t0by joined #scummvm.
[20:15] <-- t0by left irc: Changing host
[20:15] --> t0by joined #scummvm.
[20:15] #scummvm: mode change '+o t0by' by ChanServ!ChanServ@services.
[20:15] <wjp> segment:offset translates to 16*segment + offset as a linear address
[20:15] <wanwan> sure, that's how real mode x86 works :)
[20:15] <wjp> which in particular also means that there are multiple ways of representing a single address
[20:15] <wanwan> yes
[20:15] <TMM> 020E + 4FE (segment0 size + segment 1 size) : offset
[20:15] <TMM> the bp fired at the time I wanted
[20:15] <wjp> but then there's segmentation and page tables
[20:16] <wanwan> that's why i mentioned trickstery :)
[20:18] <-- t0by left irc: Client Quit
[20:23] <TMM> oh, screw it, I'm hacking a printf into this binary
[20:24] --> girafe joined #scummvm.
[20:27] <wjp> dosbox not doing what you'd want?
[20:29] <TMM> the loop just happens too often to step through
[20:30] <TMM> it doesn't seem to have a count only bp option
[20:30] <wjp> it's also quite doable to hack dumping data when breakpoints get hit into dosbox
[20:30] <TMM> that'd be another option
[20:31] --> girafe2 joined #scummvm.
[20:32] <-- girafe left irc: Ping timeout: 240 seconds
[20:33] <wjp> looks like I never saved my hacks when doing that
[20:35] --> t0by joined #scummvm.
[20:41] <-- ajax16384 left irc: Read error: Connection reset by peer
[20:45] <-- t0by left irc: Quit: t0by
[20:57] --> t0by joined #scummvm.
[20:57] <-- t0by left irc: Changing host
[20:57] --> t0by joined #scummvm.
[20:57] #scummvm: mode change '+o t0by' by ChanServ!ChanServ@services.
[21:00] <-- t0by left irc: Client Quit
[21:03] <-- Henke37 left irc: Quit: ERR_SHUTDOWN
[21:07] <-- Axy left irc: Read error: Connection reset by peer
[21:09] --> Mia joined #scummvm.
[21:09] <-- Mia left irc: Changing host
[21:09] --> Mia joined #scummvm.
[21:10] <-- Mia left irc: Read error: Connection reset by peer
[21:10] --> Mia joined #scummvm.
[21:10] <-- Mia left irc: Changing host
[21:10] --> Mia joined #scummvm.
[21:11] <-- Mia left irc: Read error: Connection reset by peer
[21:11] <-- waltervn left irc: Quit: Leaving
[21:12] --> Mia joined #scummvm.
[21:14] <-- Mia left irc: Read error: Connection reset by peer
[21:20] --> t0by joined #scummvm.
[21:20] #scummvm: mode change '+o t0by' by ChanServ!ChanServ@services.
[21:29] <-- t0by left irc: Quit: t0by
[21:30] --> t0by joined #scummvm.
[21:30] <-- t0by left irc: Changing host
[21:30] --> t0by joined #scummvm.
[21:30] #scummvm: mode change '+o t0by' by ChanServ!ChanServ@services.
[22:03] <-- ny00123 left irc: Quit: Leaving
[22:10] --> DJW|Home joined #scummvm.
[22:10] #scummvm: mode change '+o DJW|Home' by ChanServ!ChanServ@services.
[22:13] <-- DJW|Badger left irc: Ping timeout: 240 seconds
[22:38] <-- ST left irc: Read error: Connection reset by peer
[22:41] --> ST joined #scummvm.
[22:41] #scummvm: mode change '+o ST' by ChanServ!ChanServ@services.
[22:43] <-- 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 left irc: Read error: Connection reset by peer

[22:50] <-- Joefish left irc: Ping timeout: 260 seconds
[23:05] <snover> 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] <snover> ng that for now&)
[23:06] <-- WooShell 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] <snover> (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] <snover> (locked resource memory*)
[23:51] --> dreammaster joined #scummvm.
[23:51] #scummvm: mode change '+o dreammaster' by ChanServ!ChanServ@services.
[23:56] <-- t0by left irc: Quit: t0by
[23:56] <-- SylvainTV left irc: Quit: User pushed the X - because it's Xtra, baby
[00:00] --- Wed Jun 7 2017