Open knulltrollX opened 1 month ago
I had a feeling that the detection was off because I tried a different capture device, tried changing the tv color on the switch settings, I even tried running the program on my Mac rather then my pc. Nothing worked.
Not sure if this will help, but have you by any chance tried changing the numbers by the same amount that you did with the deck cursor element?
After that is done, I’m guessing the game screen needs to be reconfigured as well.
Not sure if this will help, but have you by any chance tried changing the numbers by the same amount that you did with the deck cursor element?
No, I haven't. But even the deck screen has different offsets depending on the elements.
If you compare my screenshot to the ones on the test branch (best to overlay them), you can see everything shifted a bit to the right and a tiny bit to the bottom. But in addition to that they added the title bar above the cards so that shifted even more down. And when you compare the green squares on my screenshot, you can see the spacing between the cards is also different.
After that is done, I’m guessing the game screen needs to be reconfigured as well.
Yes, definitely.
It seem like some UI elements got moved around and the detection isn't working anymore. I could fix the offset for deck_cursor:
ui.py:
DECK_CURSOR_ROI_TOP_LEFT = np.array([285, 415])
But I'm not deep enough into all this to fix deck.py and possible following things.