Opened 4 years ago

Closed 3 years ago

#12011 closed defect (fixed)

BACKENDS: ANDROID: Tony Tough - cannot bring up the action wheel on Android

Reported by: Torohak Owned by: antoniou79
Priority: normal Component: Port: Android
Version: Keywords:
Cc: antoniou79 Game: Tony Tough

Description

I downloaded the latest scummvm version and downloaded Tony Tough game. I use a Samsung a51 android.

Game starts fine. Mouse moves but when I click it doesn't show the little pop up for actions i.e. Take, see etc.

Change History (15)

comment:1 by lotharsm, 4 years ago

"Downloaded" as in "grabbed from GoG/Steam" or as in "grabbed from a shady website for free"? Please note that we can't do any support for illegitimate game copies, sorry.

comment:2 by antoniou79, 4 years ago

Since the ticket creator has clarified that they got the game from an official source (Tony Tough Official Webshop), I should add that I can reproduce the issue in the Steam version of the game, with the Android port.

The issue seems to be that in our current Android port there is no support for click-and-hold for the right mouse button, which the game expects for the user to use the action wheel.

(There is support for left mouse click and hold, but this does not work in this game -- it does in Curse of Monkey Island!)

So an idea would be to:

  • either figure out a convenient and practical way to implement right click and hold with finger gestures (two finger tap and hold could be cumbersome though)
  • or have an optional toggle button to change the behavior of the one finger tap between left click, and right click (or even support middle click in this way).

I am more in favor of the second option.

comment:3 by Torohak, 4 years ago

How do you create this optional toggle button?

Thanks

comment:4 by antoniou79, 4 years ago

I will have to implement it.
I don't think it will required much work, but I could be wrong.

I will try to do this within the next few days, but no promises as of yet.

I'll update here when I have something ready.

The new option, when implemented, will be available in the daily development builds first.

comment:5 by antoniou79, 4 years ago

Cc: antoniou79 added
Component: --Unset--Port: Android
Game: Tony Tough
Summary: Tony ToughTony Tough - cannot bring up the action wheel on Android

comment:6 by Torohak, 4 years ago

Thanks Antonio,

I appreciate your help! Ok, I will wait for a message from you. It would be great to be able to play this game again through Scummvm.

Thanks

comment:7 by sev-, 4 years ago

Summary: Tony Tough - cannot bring up the action wheel on AndroidANDROID: Tony Tough - cannot bring up the action wheel on Android

comment:8 by sev-, 4 years ago

Summary: ANDROID: Tony Tough - cannot bring up the action wheel on AndroidBACKENDS: ANDROID: Tony Tough - cannot bring up the action wheel on Android

comment:9 by Torohak, 4 years ago

Hey guys :)

I see a couple of summary comments but not sure what do they mean.

Any news?

By the way, HAPPY NEW YEAR :)

in reply to:  9 comment:10 by antoniou79, 4 years ago

Replying to Torohak:

Hey guys :)

I see a couple of summary comments but not sure what do they mean.

Any news?

By the way, HAPPY NEW YEAR :)

Happy new Year. I am still working on it. The recent "comments" are basically some modifications to the ticket report to make it easier to find and parse for developers.

I am currently testing a few changes locally to the touch gestures. There is still some work to be done.

I've moved away from the toggle button idea, since it introduces some complexities (with our keymapper and other Android port specific stuff) that I don't want to deal with. Maybe I will revisit that at a later point.

comment:11 by antoniou79, 4 years ago

I've pushed a fix with the recent commit: https://github.com/scummvm/scummvm/commit/987becc5297b29fd8fb30c43aff25105e917bc08

The way to bring up the action wheel is with a two fingers touch, hold and then when the action wheel comes up, move around your second finger (the finger that was last put down on the surface) in order to select the proper verb.

This commit also fixes some issues physical mouse behavior (if you connect a usb or bluetooth mouse to your android device), mainly mouse button handling other than the left mouse button click.

Let me know if the issue persists for you, or there are related issues with this behavior.

comment:12 by Torohak, 4 years ago

Hi Antonio,

Thanks a lot for what you've done 🙂 you can't imagine how much I appreciate your work

What am I suppose to do now? I mean, do I need to update scummvm and install specific extra files? I've opened the commit link but not sure what to do.

Thanks again!

in reply to:  12 comment:13 by antoniou79, 4 years ago

Replying to Torohak:

Hi Antonio,

Thanks a lot for what you've done 🙂 you can't imagine how much I appreciate your work

What am I suppose to do now? I mean, do I need to update scummvm and install specific extra files? I've opened the commit link but not sure what to do.

Thanks again!

If you don't build ScummVM from the source files, you just need to wait until our buildbot provides the next daily *development build* (this is done on a daily basis, so normally you just have to wait at most 24 hours).

I am assuming that you are testing with *development* builds, ie. builds available from the ScummVM site that are not yet on the Play Store. Keep in mind that *running a development build means that your aded games' list, ScummVM config and saved games might be lost when you upgrade to or from a version from the Play Store*. It also requires that the user enables a setting on their Android device to allow installing 3rd party apps that do not originate from the Play Store.

If you are ok with this, download tomorrow's development Android APK for your device (most likely the "Android (ARM64)" one) and then install it -- it will replace your current ScummVM installation.
Daily development builds are provided here under the column:
https://buildbot.scummvm.org/builds.html

If you are testing only with official Play Store builds, you will need to wait until the next official release of ScummVM. There is not current ETA for that, so it could be a few months.

comment:14 by sev-, 3 years ago

Priority: highnormal

comment:15 by sev-, 3 years ago

Owner: set to antoniou79
Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.