[00:02] don't get your hopes up that much :) [00:03] doesn't look like SM is actually doing anything [00:03] weird [00:03] SylvainTV (~SylvainTV@LFbn-1-8392-241.w81-254.abo.wanadoo.fr) left irc: Read error: Connection reset by peer [00:04] not just the screen [00:04] but data overview [00:04] I feel likewise. It's good to have another reverse engineerer around :) [00:04] DosBox can be a bit fiddly about the data view on the memory screen. It can take a bit before the "hardware" refresh kicks in, and sometimes, the game's own code gets in the way, and repaints over the pixels you changed :P [00:06] so heres an important question: are you running dosbox with normal core? [00:06] Oh.. yes.. that's a very good point [00:07] I've been using the same self-built version of DosBox with heavy debug for the last five years at least, passing it from system to new system, so I haven't had to think about the build settings in ages [00:12] Nor the dosbox.conf file, in this case [00:13] IIRC you always get the normal core regardless of build, it just needs to be set in the dosbox.conf [00:25] good question [00:25] i'm using the build linked from the wiki [00:26] http://source.dosbox.com/dosbox-74-debug.exe [00:27] nm [00:28] thats not a build setting [00:28] just a conf [00:28] auto, should it be normal? [00:28] and i missed your whole last line [00:29] :) [00:29] http://www.dosbox.com/wiki/Configuration:CPU#core_.3D_simple_.7C_normal.7C_dynamic_.7C_auto information about the different options [00:39] ok i definitely manager to scramble some pixels [00:39] but not in a way i'd expect [00:40] i've set the first few pixels in a row to white, but i'm seeing a weird patter [00:40] so getting somewhere [00:42] there's definitely an offset [00:43] Entirely possible. The VGA card had registers allowing for shifting screen offsets so to allow for smooth scrolling, shaking the screen, and so on [00:44] Though uncommon to see it in action unless scrolling was actually in progress, so it's likely not relevant in this case [01:02] ST1 (~ScottT@203-227-181-180.cpe.skymesh.net.au) left irc: Ping timeout: 255 seconds [01:19] omer_mor (~Omer@46-117-132-33.bb.netvision.net.il) joined #scummvm. [01:21] omer_mor_ (~Omer@46-117-132-33.bb.netvision.net.il) left irc: Ping timeout: 258 seconds [01:55] DominusExult (~dominus@unaffiliated/dominus) joined #scummvm. [01:57] Dominus (~dominus@unaffiliated/dominus) left irc: Ping timeout: 260 seconds [01:57] Nick change: DominusExult -> Dominus [03:28] i've set a000:5cd6-5cdd to FF and i see a change in the pixel at a000:7359 and every 4 bytes after that [03:28] for the 8 bytes i changed [03:29] sorry not byte, pixel [03:35] and looking at the BMP, i can't fin any of the surrounding pixels [03:36] mataniko: what are you looking to find out by poking at the vram? [03:36] how these BMPs are drawn [03:37] non-standard BMPs [03:37] and also how to find a pixel, since it doesn't seem to be a 1:1 mapping with memory [03:37] just going in the direction http://wiki.scummvm.org/index.php/HOWTO-Reverse_Engineering recommends [03:39] Hey. From the sounds of it, it's using a non-standard mode where every pixel in sets of 4 gets mapped to a different plane [03:40] With plane mapping, you output a special value to one of the ports, and it swaps in a different plane to occupy the same memory addresses. [03:41] As you can imagine, in cases like this, it gets much more complicated to keep track of any drawing the game does :P [03:41] yep that sounds complicated [03:42] It's the same kind of problems faced when dealing with EGA code, since the EGA uses planes as well [03:42] Though in the EGA's case, it uses four planes which represent each bit of pixels, which can be one of 16 colors (4 bits). [03:42] looking at some freevga documentation it seems like this could be verified by inspecting the graphics mode registers write mode [03:43] So each byte handles 8 pixels, with the plane select determining which bit of each of the 8 pixels will be altered [03:43] At least in this case, it sounds like bytes are mapping to single pixels at a time, it's just the plane select is being used to select which pixels are being altered. So it's somewhat simpler [03:44] luckily i have been able to avoid most of this hardware stuff so far by not working on such old games ;) [03:44] so basically we're in planar mode and not linear [03:44] i think i understand, 2 bits control the plane and 2 bits control the color [03:45] so you have plane 0-3 to control which pixel is colored [03:51] ok not really, 0f 0f is the same patter, but now white [03:51] pattern [03:55] That's weird. But it may still be a case of planes selecting pixel. Unless setting a byte to FF changes the color of multiple pixels. In which case, it's just a standard bit-plane display mode [03:58] Anyway, bed time for me. So goodnight. And good luck with your experiments [03:58] thanks [03:58] dreammaster (~dreammast@c-73-149-116-247.hsd1.ma.comcast.net) left irc: [04:02] ok i don't understand whats going on here yet, every few frames the changes i do in memory reset and the picture looks good, and then my changes appear again [04:02] so if the program is running full speed there's a flicker [04:02] anyway, bed tim [04:03] e [05:02] omer_mor_ (~Omer@46-117-132-33.bb.netvision.net.il) joined #scummvm. [05:05] omer_mor (~Omer@46-117-132-33.bb.netvision.net.il) left irc: Ping timeout: 260 seconds [05:20] omer_mor (~Omer@46-117-132-33.bb.netvision.net.il) joined #scummvm. [05:22] omer_mor_ (~Omer@46-117-132-33.bb.netvision.net.il) left irc: Ping timeout: 240 seconds [05:45] waltervn (~waltervn@541B2DBA.cm-5-4a.dynamic.ziggo.nl) joined #scummvm. [05:45] #scummvm: mode change '+o waltervn' by ChanServ!ChanServ@services. [05:45] Lightkey (~Darklock@p200300764C7B179922CF30FFFE083718.dip0.t-ipconnect.de) left irc: Ping timeout: 255 seconds [05:57] omer_mor_ (~Omer@46-117-132-33.bb.netvision.net.il) joined #scummvm. [05:59] omer_mor (~Omer@46-117-132-33.bb.netvision.net.il) left irc: Ping timeout: 246 seconds [05:59] Lightkey (~Darklock@p200300764C7B177422CF30FFFE083718.dip0.t-ipconnect.de) joined #scummvm. [06:07] _sev_ (~sev@scummvm/undead/sev) joined #scummvm. [06:07] #scummvm: mode change '+o _sev_' by ChanServ!ChanServ@services. [06:08] _sev (~sev@scummvm/undead/sev) left irc: Ping timeout: 258 seconds [06:32] m_kiewitz (~m_kiewitz@x4d03eb45.dyn.telefonica.de) joined #scummvm. [06:32] m_kiewitz (~m_kiewitz@x4d03eb45.dyn.telefonica.de) left irc: Changing host [06:32] m_kiewitz (~m_kiewitz@scummvm/undead/m-kiewitz) joined #scummvm. [06:32] #scummvm: mode change '+o m_kiewitz' by ChanServ!ChanServ@services. [06:49] LittleToonCat (~littlecat@47.54.148.237) left irc: Remote host closed the connection [07:18] omer_mor (~Omer@46-117-132-33.bb.netvision.net.il) joined #scummvm. [07:20] omer_mor_ (~Omer@46-117-132-33.bb.netvision.net.il) left irc: Ping timeout: 246 seconds [07:29] _sev|work (~sev@scummvm/undead/sev) left irc: Quit: This computer has gone to sleep [07:42] exmensa (~exmensa@66.43.202.238) joined #scummvm. [07:42] exmensa_ (~exmensa@66.43.202.238) left irc: Read error: Connection reset by peer [08:02] omer_mor_ (~Omer@46-117-132-33.bb.netvision.net.il) joined #scummvm. [08:04] omer_mor (~Omer@46-117-132-33.bb.netvision.net.il) left irc: Ping timeout: 268 seconds [08:10] TMM (~hp@fsf/member/pdpc.professional.tmm) left irc: Quit: Ex-Chat [08:23] t0by (~t0by@host155-56-dynamic.183-80-r.retail.telecomitalia.it) joined #scummvm. [08:23] t0by (~t0by@host155-56-dynamic.183-80-r.retail.telecomitalia.it) left irc: Changing host [08:23] t0by (~t0by@unaffiliated/t0by) joined #scummvm. [08:23] #scummvm: mode change '+o t0by' by ChanServ!ChanServ@services. [08:26] Yay 3ds. [08:35] Cheeseness (~cheesenes@ppp14-2-188-154.bras1.hba2.internode.on.net) joined #scummvm. [08:42] user9 (~Thunderbi@leoseb.ujf-grenoble.fr) left irc: Ping timeout: 240 seconds [08:50] what's with 3ds? [08:50] scummvm now renders games in 3ds layering.... [08:51] oh man... I just wanted to suggest exactly that [08:51] seems unlikely, just scummvm running on a 3ds in 2d :) [08:51] I had already started typing "heh, crazy idea", then I saw what you wrote [08:51] oh, ok... but "normal scummvm" on 3ds has been around for quite some time, hasn't it? [08:52] huh, not on the dl page, I must be confused [08:52] I have no idea, hardly tried any custom stuff on my 3ds [08:53] ST (~ScottT@203-227-181-180.cpe.skymesh.net.au) joined #scummvm. [08:53] #scummvm: mode change '+o ST' by ChanServ!ChanServ@services. [08:53] Stormkpr (~kvirc@2.26.112.88) joined #scummvm. [08:54] I built/played scummvm a bit for the nds in 2008 or so, that was the last time I played it on a mobile platform [08:54] (other than a laptop) [08:56] Stormkeeper (~kvirc@2.26.112.88) left irc: Ping timeout: 240 seconds [08:56] yeh I tried scummvm with dott on my nds back then, but I remember nds having issues with executable size, must have been a hell to build/maintain :) [08:57] Strangerke_ (~Strangerk@cable-85.28.84.13.coditel.net) joined #scummvm. [08:59] Strangerke (~Strangerk@cable-85.28.84.13.coditel.net) left irc: Ping timeout: 240 seconds [08:59] Nick change: Strangerke_ -> Strangerke [09:08] TMM (~hp@fsf/member/pdpc.professional.tmm) joined #scummvm. [09:08] #scummvm: mode change '+o TMM' by ChanServ!ChanServ@services. [09:16] Harekiet (~harekiet@kittens.harekiet.com) left irc: Remote host closed the connection [09:17] Harekiet (~harekiet@kittens.harekiet.com) joined #scummvm. [09:44] t0by (~t0by@unaffiliated/t0by) left irc: Quit: t0by [09:46] salty-horse (~salty-hor@unaffiliated/salty-horse) joined #scummvm. [09:46] #scummvm: mode change '+o salty-horse' by ChanServ!ChanServ@services. [10:22] Begasus (~begasus@ptr-4p6jpimt9m6dhrab442.18120a2.ip6.access.telenet.be) joined #scummvm. [10:31] user9 (~Thunderbi@leoseb.ujf-grenoble.fr) joined #scummvm. [10:31] ajax16384 (~User@109.60.138.138) joined #scummvm. [10:31] #scummvm: mode change '+o ajax16384' by ChanServ!ChanServ@services. [10:37] Harekiet: yeah, I seem to remember that there were two builds, one that supported the dig, the other that supported the rest or something [10:38] and that was back when scummvm was scumm-only, not even agi (at least that's how I recall it, that might be not exactly right...) [10:39] mh, agi was merged in back in 2006, so perhaps it actually already did support agi when I tried it on the nds [10:48] Strangerke|work (5bb7582b@gateway/web/freenode/ip.91.183.88.43) left irc: Ping timeout: 260 seconds [11:39] logix probably easier on 3ds indeed, but now they just gotta add that 3d effect :) [11:40] Strangerke|work (5bb7582b@gateway/web/freenode/ip.91.183.88.43) joined #scummvm. [11:54] scummvm on the 3ds is frustrating :( [11:54] the top screen always looks like theres a filter applied [11:54] and not pixel perfect [12:04] hm, as there are no recent scummvm builds for the DS, I decided to give it a try and start by building 1.2.0 (the last for which a build is available) - _host-alias there is set to arm-eabi, but in my devkitarm it's arm-none-eabi... [12:05] I wonder if I messed up that devkitarm build or if they changed that at some point [12:13] rootfather (~rootfathe@212.88.136.142) joined #scummvm. [12:17] Begas_VBox (~Begasus@d54C3C8C2.access.telenet.be) joined #scummvm. [12:20] probably changed at some point [12:21] yeah, I *just* found it, it was changed in june 2012 [12:21] https://github.com/devkitPro/buildscripts/commit/c9b0f0a9931b6045ca72f35e1b2aad5614ee4078#diff-a1c5a54201f9ec5041441aaec962b7ad [12:39] rootfather (~rootfathe@212.88.136.142) left irc: Read error: Connection reset by peer [13:53] Mia (~Mia@unaffiliated/mia) left irc: Read error: Connection reset by peer [13:55] Mia (~Mia@unaffiliated/mia) joined #scummvm. [13:59] Begasus (~begasus@ptr-4p6jpimt9m6dhrab442.18120a2.ip6.access.telenet.be) left irc: Ping timeout: 246 seconds [14:12] Begasus (~begasus@ptr-4p6jpimt9m6dhrab442.18120a2.ip6.access.telenet.be) joined #scummvm. [15:01] Henke37 (~Henrik@81-227-16-59-no133.bredband.skanova.com) joined #scummvm. [15:18] Strangerke_ (~Strangerk@cable-85.28.84.13.coditel.net) joined #scummvm. [15:20] Strangerke (~Strangerk@cable-85.28.84.13.coditel.net) left irc: Ping timeout: 258 seconds [15:20] Nick change: Strangerke_ -> Strangerke [15:24] TMM (~hp@fsf/member/pdpc.professional.tmm) left irc: Quit: Ex-Chat [15:37] Joefish (~ident@p200300C6F3C6EC0021695A4E8F5382AD.dip0.t-ipconnect.de) joined #scummvm. [15:37] #scummvm: mode change '+v Joefish' by ChanServ!ChanServ@services. [15:45] LittleToonCat (~littlecat@47.54.148.237) joined #scummvm. [15:49] ny00123 (~ny00123@93.172.95.60) joined #scummvm. [16:04] ajax16384 (~User@109.60.138.138) left irc: Quit: Leaving [16:07] WooShell (~Markus@ipbcc06af5.dynamic.kabel-deutschland.de) joined #scummvm. [16:09] meow =^.^= [16:11] WooShell: Mooh [16:12] zog zog [16:13] Harekiet (~harekiet@kittens.harekiet.com) left irc: Ping timeout: 272 seconds [16:26] ajax16384 (~User@109.60.130.33) joined #scummvm. [16:26] #scummvm: mode change '+o ajax16384' by ChanServ!ChanServ@services. [16:33] madmoose: møø? [16:35] møø indeed [16:44] Begasus (~begasus@ptr-4p6jpimt9m6dhrab442.18120a2.ip6.access.telenet.be) left irc: Ping timeout: 255 seconds [16:55] Joefish (~ident@p200300C6F3C6EC0021695A4E8F5382AD.dip0.t-ipconnect.de) left irc: Ping timeout: 245 seconds [16:57] Begasus (~begasus@ptr-4p6jpimt9m6dhrab442.18120a2.ip6.access.telenet.be) joined #scummvm. [17:05] Farmboy0 (~quassel@p5DD10473.dip0.t-ipconnect.de) joined #scummvm. [17:05] Farmboy0 (~quassel@p5DD10473.dip0.t-ipconnect.de) left irc: Changing host [17:05] Farmboy0 (~quassel@xoreos/farmboy0) joined #scummvm. [17:07] Vampire0_ (~Vampire@jEdit/Vampire) joined #scummvm. [17:07] omer_mor (~Omer@46-117-132-33.bb.netvision.net.il) joined #scummvm. [17:08] Vampire0 (~Vampire@jEdit/Vampire) left irc: Ping timeout: 260 seconds [17:09] omer_mor_ (~Omer@46-117-132-33.bb.netvision.net.il) left irc: Ping timeout: 258 seconds [17:13] TMM (~hp@fsf/member/pdpc.professional.tmm) joined #scummvm. [17:13] #scummvm: mode change '+o TMM' by ChanServ!ChanServ@services. [17:47] SylvainTV (~SylvainTV@LFbn-1-8392-241.w81-254.abo.wanadoo.fr) joined #scummvm. [17:47] #scummvm: mode change '+o SylvainTV' by ChanServ!ChanServ@services. [17:56] Strangerke_ (~Strangerk@cable-85.28.84.13.coditel.net) joined #scummvm. [17:58] Strangerke (~Strangerk@cable-85.28.84.13.coditel.net) left irc: Ping timeout: 246 seconds [17:58] Nick change: Strangerke_ -> Strangerke [18:26] Joefish (~ident@p200300C6F3C6EC0021695A4E8F5382AD.dip0.t-ipconnect.de) joined #scummvm. [18:26] #scummvm: mode change '+v Joefish' by ChanServ!ChanServ@services. [18:30] girafe (~girafe@LFbn-1-11729-221.w2-7.abo.wanadoo.fr) joined #scummvm. [18:32] frankyboy_ (~franky@ppp109-252-73-98.pppoe.spdop.ru) joined #scummvm. [19:26] salty-horse (~salty-hor@unaffiliated/salty-horse) left irc: Quit: Leaving [19:40] omer_mor_ (~Omer@46-117-132-33.bb.netvision.net.il) joined #scummvm. [19:42] omer_mor (~Omer@46-117-132-33.bb.netvision.net.il) left irc: Ping timeout: 240 seconds [19:50] aaaaaaaaaaaaa! [19:50] so much trouble caused by someone writing `ObjMap objects` instead of `ObjMap &objects` [19:54] i am surprised this didnt break many more things [19:55] Harekiet (~harekiet@kittens.harekiet.com) joined #scummvm. [19:55] ouch [19:56] the one for 'Failed to locate base object' ? [19:57] there, and earlier in the same function [19:57] but the earlier one looks harmless (but inefficient) [19:58] oh, it's when loading [19:59] wow [20:00] scary [20:00] 5969c6bd2e141799d35d68559b9222772917e950 is a bit shocking [20:05] twitch.tv/gogcom the LoLing continues [20:05] i spent so much time being utterly dumbfounded about why i could not seem to get names to stay restored on objects when loading from a save game, even though i *knew* they were being applied, until i finally put in a memory watchpoint and saw that HashMap was copying everything :\ [20:24] Begas_VBox (~Begasus@d54C3C8C2.access.telenet.be) left irc: Quit: Vision[0.9.8]: i've been blurred! [20:25] Begasus (~begasus@ptr-4p6jpimt9m6dhrab442.18120a2.ip6.access.telenet.be) left irc: Quit: Ex-Chat [20:32] ajax16384 (~User@109.60.130.33) left irc: Read error: Connection reset by peer [20:44] i will push a fix one i go back through all my other changes and figure out what *really* needs to be done to set up object names [20:44] failed to locate base object is finally solved? [20:47] probably, since that syncBaseObject call is running on a copy of the object owned by the ObjMap on the stack [20:48] (instead of running on the actual object owned by the script) [20:53] though& i actually might walk back that statement, since the initBaseObject call returns false only if getSpeciesSelector() doesnt return the address of a valid object [20:54] (that objects.erase call isnt doing anything at all though) [20:59] Henke37 (~Henrik@81-227-16-59-no133.bredband.skanova.com) left irc: Quit: ERR_SHUTDOWN [21:05] _sev|work (~sev@cpc91242-cmbg18-2-0-cust894.5-4.cable.virginm.net) joined #scummvm. [21:05] _sev|work (~sev@cpc91242-cmbg18-2-0-cust894.5-4.cable.virginm.net) left irc: Changing host [21:05] _sev|work (~sev@scummvm/undead/sev) joined #scummvm. [21:05] #scummvm: mode change '+o _sev|work' by ChanServ!ChanServ@services. [21:10] PSA: Dead in Bermuda currently free on Origin [21:29] waltervn (~waltervn@541B2DBA.cm-5-4a.dynamic.ziggo.nl) left irc: Quit: Leaving [21:31] ny00123 (~ny00123@93.172.95.60) left irc: Quit: Leaving [21:35] snover: i think we should implement the gk1 hires mouse cursors, but only optionally because afaik they were limited to b/w like the win311 cursors [21:36] im not 100% sure, but even if they had color, imo they also feel weird - like way too tiny. we already have an option to enable windows mouse curors for (some) SCI games [21:51] Farmboy0 (~quassel@xoreos/farmboy0) left irc: Remote host closed the connection [22:16] m_kiewitz: so this will probably sound like an ignorant question but: what gk1 hires cursors? [22:21] frankyboy_ (~franky@ppp109-252-73-98.pppoe.spdop.ru) left irc: Quit: ... [22:26] snover: there should be hires cursors, or well maybe they simply used the original 320x200 cursors but without upscaling them [22:26] i have to check that. in any case, we upscale mouse cursors, so that do not look out of place [22:27] the upscaling is intentional, see the comment at cursor32.cpp:188 [22:27] yes i know [22:27] i actually implemented original sci16 mouse cursor upscaling back then if I remember correctly :P [22:28] it seems as if sierra simply used the regular cursors but without upscaling [22:28] they are in color, for sci16 windows versions including kq6 they were black + white [22:29] so maybe we should make it possible that users can disable said upscaling optionally [22:29] girafe (~girafe@LFbn-1-11729-221.w2-7.abo.wanadoo.fr) left irc: Read error: Connection reset by peer [22:29] or well, wait a moment, the look cursor actually looks hires [22:32] nah, optical illusion [22:32] its simply not upscaled and looks sorta hires because of that [22:39] Strangerke_ (~Strangerk@cable-85.28.84.13.coditel.net) joined #scummvm. [22:39] ced117 (~ced117@opensuse/member/ced117) left irc: Ping timeout: 255 seconds [22:41] Strangerke (~Strangerk@cable-85.28.84.13.coditel.net) left irc: Ping timeout: 240 seconds [22:41] Nick change: Strangerke_ -> Strangerke [22:41] ced117 (~ced117@opensuse/member/ced117) joined #scummvm. [22:52] i dont know why they bothered to create high-resolution assets for the menu bar but then didnt redraw the cursors, but it is what it is. [23:00] yeah it's weird [23:00] ced117 (~ced117@opensuse/member/ced117) left irc: Ping timeout: 240 seconds [23:02] Joefish (~ident@p200300C6F3C6EC0021695A4E8F5382AD.dip0.t-ipconnect.de) left irc: Ping timeout: 258 seconds [23:02] ced117 (~ced117@opensuse/member/ced117) joined #scummvm. [23:04] oh nice, Loom FM Towns [23:04] http://www.ebay.de/itm/Loom-FM-Towns-LucasArts-Lucasfilm-Games-/332220752373?hash=item4d59e661f5:g:HtMAAOSwLEtYl4iq [23:04] is this a good price? [23:04] dreammaster (~dreammast@c-73-149-116-247.hsd1.ma.comcast.net) joined #scummvm. [23:04] #scummvm: mode change '+o dreammaster' by ChanServ!ChanServ@services. [23:05] 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:28] 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. [23:33] Nick change: Vampire0_ -> Vampire0 [23:54] SylvainTV (~SylvainTV@LFbn-1-8392-241.w81-254.abo.wanadoo.fr) left irc: Read error: Connection reset by peer [00:00] --- Thu May 18 2017