I've used ScummVM on several Android devices before without problems, but have one pretty big problem on my new Shield: I can't get the menu to open.
The Shield doesn't have a dedicated menu button, but in apps that don't natively support the gamepad, the Y button functions as a menu button. This works in every other app I've tried (even very old ones), but not in ScummVM, it seems.
I can't find any other way to open the Scumm menu, which obviously limits my gameplay. Any ideas? I have the stable version from the Play store, but can easily sideload another version, if need be.
Help on NVIDIA Shield: no menu
Moderator: ScummVM Team
Try the latest development master for Android from:
http://buildbot.scummvm.org/builds.html
You may want to try the OUYA build as well, as I think this may support Gamepad input...
http://buildbot.scummvm.org/builds.html
You may want to try the OUYA build as well, as I think this may support Gamepad input...
Hmm...
http://en.wikipedia.org/wiki/Nvidia_Shield
So JKEYCODE_MENU is event code 82:
https://github.com/scummvm/scummvm/blob ... ts.cpp#L96
Not dealt with by the normal events translation to OSystem:
https://github.com/scummvm/scummvm/blob ... s.cpp#L227
Ah, we only get the UP event from Menu button...
https://github.com/scummvm/scummvm/blob ... s.cpp#L373
I wonder if the Shield only sends DOWN event or similar... that would break this.
http://en.wikipedia.org/wiki/Nvidia_Shield
So JKEYCODE_MENU is event code 82:
https://github.com/scummvm/scummvm/blob ... ts.cpp#L96
Not dealt with by the normal events translation to OSystem:
https://github.com/scummvm/scummvm/blob ... s.cpp#L227
Ah, we only get the UP event from Menu button...
https://github.com/scummvm/scummvm/blob ... s.cpp#L373
I wonder if the Shield only sends DOWN event or similar... that would break this.
dan000: You will need to be able to compile the Android build yourself and be familar enough with C++/Java to add debug output to the log in the source code at the point I indicated.
http://wiki.scummvm.org/index.php/Debug ... VM#Android provides a way of getting access to log output via ADB or alogcat.
http://wiki.scummvm.org/index.php/Compi ... VM/Android and the rest of http://wiki.scummvm.org/index.php/Developer_Central should help you setup a development environment and get our current source code via Git.
Please note that since the OUYA merge to v1.7.0git, the Android build will fail at runtime on Android prior to v3.1.
This is due to the use of an API which is only present in 3.1+. If this provides a problem, then use the v1.6.0 branch as a base or revert the OUYA changes to investigate this.
http://wiki.scummvm.org/index.php/Debug ... VM#Android provides a way of getting access to log output via ADB or alogcat.
http://wiki.scummvm.org/index.php/Compi ... VM/Android and the rest of http://wiki.scummvm.org/index.php/Developer_Central should help you setup a development environment and get our current source code via Git.
Please note that since the OUYA merge to v1.7.0git, the Android build will fail at runtime on Android prior to v3.1.
This is due to the use of an API which is only present in 3.1+. If this provides a problem, then use the v1.6.0 branch as a base or revert the OUYA changes to investigate this.
-
- Posts: 1
- Joined: Mon Jan 27, 2014 12:14 pm
I too have an nvidia shield, the current 1.5 build is perfect on the shield as the virtual mouse (which is controlled by the right joystick) works a dream, button "a" left clicks - not sure what right clicks but the biggest drawback for me is that no button on the shield will bring the menu up.
Developing scummvm to incorporate this is out of my league and was wondering if there is anybody else willing to map the scummvm menu to a different button? (i can probably get keycodes etc off my own shield)
Thankyou all for your time!
(ps i have tried the SDL version but the joystick control is broken)
Developing scummvm to incorporate this is out of my league and was wondering if there is anybody else willing to map the scummvm menu to a different button? (i can probably get keycodes etc off my own shield)
Thankyou all for your time!
(ps i have tried the SDL version but the joystick control is broken)
Hello everyone
Just came around to share my solution with Scummvm 1.7.0 and lack of menu button in Nvidia Shield.
*warning: works on rooted and unlocked devices only*
I installed Xposed framework + gravity box module, then remapped "Home" button to bring up the menu by longpress (which launched Google Now by default) in Gravity box options, result works flawlessly for me as i'm able to show the menu in games and load/save/whatever.
Probably there is also some other way to remap the button, but i didn't try them.
Both Xposed and Gravity box can be found on XDA-developers site.
Cheers!
Just came around to share my solution with Scummvm 1.7.0 and lack of menu button in Nvidia Shield.
*warning: works on rooted and unlocked devices only*
I installed Xposed framework + gravity box module, then remapped "Home" button to bring up the menu by longpress (which launched Google Now by default) in Gravity box options, result works flawlessly for me as i'm able to show the menu in games and load/save/whatever.
Probably there is also some other way to remap the button, but i didn't try them.
Both Xposed and Gravity box can be found on XDA-developers site.
Cheers!
Still waiting
It's 2016 and I'm still hoping for a solution on scummvm and nvidia shield portable