melonDS icon indicating copy to clipboard operation
melonDS copied to clipboard

Touch input stuck in top-left when using DSi mode

Open ALANVF opened this issue 2 years ago • 15 comments

When using DSi mode to play a game, the touch input appears to be stuck in the top-left corner. I only noticed this after trying to play Rabbids: Go Home, which has a touch indicator (yellow sparkles) when navigating the main menu:

https://github.com/melonDS-emu/melonDS/assets/16247881/af32d133-003b-46e8-8700-e36cd93acc46

I have confirmed that this behavior is consistent for any game booted in DSi mode. Interestingly, this is not an issue when using the firmware (DSi menu), as I was even able to do a calibration test.

MelonDS version: 0.9.5 OS: Windows 10

ALANVF avatar Sep 16 '23 23:09 ALANVF

Direct boot in DSi mode is still very WIP, the game doesn't find the touchscreen calibration data.

RSDuck avatar Sep 17 '23 09:09 RSDuck

Any idea how hard it would be to get that working? I'm not familiar with the melonds codebase yet, but I could take a look if it'll only take like 20 minutes

ALANVF avatar Sep 17 '23 22:09 ALANVF

it's definitely not trivial.

RSDuck avatar Sep 18 '23 10:09 RSDuck

Unfortunate but I guess that's expected. Is there any timeframe for implementing it then? I have not gotten this game to work in any emulator yet and melonds seems to be the most promising

ALANVF avatar Sep 18 '23 13:09 ALANVF

just start it through the DSi menu or use DS mode.

RSDuck avatar Sep 18 '23 13:09 RSDuck

DSi menu does not show any carts when inserted, though I'm not entirely sure why.

I'd love to run it in DS mode, but this game specifically can't run in DS-only emulators, as you'll just get a blue (top) and black (bottom) screen when loading the game

ALANVF avatar Sep 18 '23 17:09 ALANVF

That sounds a lot like your rom is a bad dump/out of region/a rom hack. The DSi menu has additional checks and doesn't let you lanuch games when they aren't met.

EDIT:

there seem to be several bad dumps of your game floating around

try comparing hashes with those found here: https://datomatic.no-intro.org/index.php?page=show_record&s=28&n=5220 https://datomatic.no-intro.org/index.php?page=show_record&s=28&n=4376

RSDuck avatar Sep 18 '23 17:09 RSDuck

I cannot reproduce the "Touch input stuck in top-left" with my dump, tried both dsi menu and direct boot.

edit: I can reproduce the "blue/black screen issue when booting in DS mode"

image

KostaSaizo7 avatar Sep 18 '23 17:09 KostaSaizo7

Unfortunately, even with a good dump, I am still getting the blue/black screen issue when booting in DS mode (after making it past the language selection screen).

image

(I have no clue why the modified date is from 1996 but whatever)

https://github.com/melonDS-emu/melonDS/assets/16247881/091010d2-960c-41f1-ad54-a7d520fac0f5

Additionally, the DSi menu will not show inserted cartridges from roms that I know are perfectly fine, so that's a bit weird.

The only other thing I could try is to dump my own cartridge, but I don't have the resources necessary to do that.

ALANVF avatar Sep 19 '23 02:09 ALANVF

@KostaSaizo7 Are you by chance using a newer build of melonds than the 0.9.5 release? I find it weird that you aren't having the cursor issue on your end

ALANVF avatar Sep 20 '23 02:09 ALANVF

@KostaSaizo7 Are you by chance using a newer build of melonds than the 0.9.5 release? I find it weird that you aren't having the cursor issue on your end

Yeah, I am using the latest master dev build

KostaSaizo7 avatar Sep 20 '23 03:09 KostaSaizo7

I just tried the latest master dev build as well, and I am still having the cursor issue (and like before, nothing will show up in the cartridge slot either (EDIT: it did show up, but when starting it, the game instantly crashes)). I have also confirmed that this is not a bios/firmware/etc issue.

Could you send a recording of you successfully starting and navigating the game?

ALANVF avatar Sep 21 '23 00:09 ALANVF

Sure https://www.youtube.com/watch?v=GxjumepX-rY

KostaSaizo7 avatar Sep 21 '23 04:09 KostaSaizo7

After trying a different dump of the game and a different emulator (No$GBA), I think this might be a hardware (HiDPI?) issue. I don't know what else to do here, so here are my computer specs:

Model Inspiron 7506 2n1 (with 4k display) Processor 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz 2.80 GHz Installed RAM 16.0 GB (15.7 GB usable) System type 64-bit operating system, x64-based processor Pen and touch Pen and touch support with 10 touch points

Edition Windows 10 Home Version 20H2 Installed on ‎8/‎22/‎2021 OS build 19042.1586 Experience Windows Feature Experience Pack 120.2212.4170.0

ALANVF avatar Sep 22 '23 05:09 ALANVF

Isn't this fixed now? I'm able to use touch screen in DSi mode in 7ac2eb2, without having to run games through the launcher (which, also works now, games show up on launcher that didn't before. Although maybe unlaunch is helping a bit for that, I don't remember if I had it on my nand before.)

Ammako avatar Sep 17 '24 22:09 Ammako