YomiNinja icon indicating copy to clipboard operation
YomiNinja copied to clipboard

Magpie Support

Open rampaa opened this issue 1 year ago • 3 comments

Magpie is a tool used for up-scaling games. It's especially useful for games with low resolutions. Unfortunately, YomiNinja doesn't seem to work well with Magpie.

For a game up-scaled with Magpie, selecting Entire screen as the Capture source will result red overlays of YomiNinja to be displayed in the correct position but hovering over them doesn't work correctly. See the image below:

YomiNinja_rkDbT3hxSf

I can interact with 爽やか if I move the cursor to the black circle drawn in the image above.

Selecting the game window as the Capture source will result red overlays of YomiNinja to be displayed incorrectly but hovering over 爽やか will interact with the correct overlay. (Kinda, the mouse interaction can be off with a little offset in this case as well.) image

Would it be possible to make YomiNinja work well with Magpie?

rampaa avatar Feb 18 '24 16:02 rampaa

Thanks for reporting this issue! I've found a solution that seems to work.

Magpie settings: image The most important thing is to set the "Capture method" to "Desktop Duplication".

Yomininja settings: image

Follow these steps when you want to use Magpie:

  1. Run YomiNinja as Administrator.
  2. In YomiNinja, select the game window as the capture source.
  3. Click on the game window and press the Magpie hotkey.
  4. Press the Yomininja OCR hotkey.

Give this a try, and let me know if it works for you. Running as admin was necessary for me, but another user confirmed success running it without admin privileges.

I'm not sure if it's possible to make it easier, but I'll look into it.

matt-m-o avatar Feb 25 '24 19:02 matt-m-o

Give this a try, and let me know if it works for you.

Yes, it does seem to work reasonably well, thank you.

Normally I would never prefer Desktop Duplication over Graphics Capture (because of the inconveniences it causes), so if YomiNinja could work well with Graphics Capture capture method as well, I'd really appreciate it. But if it doesn't seem feasible, then you can consider this issue resolved.

rampaa avatar Feb 25 '24 20:02 rampaa

FYI: https://github.com/Blinue/Magpie/blob/dev/docs/Interact%20with%20Magpie%20programally.md

rampaa avatar Apr 23 '24 18:04 rampaa