ScummVM logo Forum Index - ScummVM website - Contact us - Buy Supported Games: GOG.com Rules - Search - Register - Login curved edge
Folder Forum Index > Android Port > Help on NVIDIA Shield: no menu
Help on NVIDIA Shield: no menu
  Author    Thread Reply to topic
dan000



Joined: 19 Feb 2012
Posts: 6
Location: Rockville, MD, USA
Help on NVIDIA Shield: no menu 

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.

 Reply with quote  
Post Tue Dec 31, 2013 7:12 pm 
 View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger ICQ Number
digitall
ScummVM Developer


Joined: 02 Aug 2012
Posts: 799
 

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...

 Reply with quote  
Post Wed Jan 01, 2014 3:18 pm 
 View user's profile Send private message
dan000



Joined: 19 Feb 2012
Posts: 6
Location: Rockville, MD, USA
 

I tried both of them. Can't bring up a menu on either one. Probably something weird with the device itself.

 Reply with quote  
Post Wed Jan 01, 2014 9:45 pm 
 View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger ICQ Number
tristeele



Joined: 03 Jan 2014
Posts: 1
 

I also have a Shield and have the same issue.

I hope someone comes up with a version for the Shield - because it is awesome. It even runs Urban Runner perfectly.

 Reply with quote  
Post Fri Jan 03, 2014 6:04 pm 
 View user's profile Send private message
digitall
ScummVM Developer


Joined: 02 Aug 2012
Posts: 799
 

Hmm...
http://en.wikipedia.org/wiki/Nvidia_Shield

So JKEYCODE_MENU is event code 82:
https://github.com/scummvm/scummvm/blob/master/backends/platform/android/events.cpp#L96

Not dealt with by the normal events translation to OSystem:
https://github.com/scummvm/scummvm/blob/master/backends/platform/android/events.cpp#L227

Ah, we only get the UP event from Menu button...
https://github.com/scummvm/scummvm/blob/master/backends/platform/android/events.cpp#L373

I wonder if the Shield only sends DOWN event or similar... that would break this.

 Reply with quote  
Post Sat Jan 04, 2014 4:19 pm 
 View user's profile Send private message
dan000



Joined: 19 Feb 2012
Posts: 6
Location: Rockville, MD, USA
 

quote:
Originally posted by digitall
I wonder if the Shield only sends DOWN event or similar... that would break this.


I'd be willing to help debug, if you just tell me what information to send you
 Reply with quote  
Post Wed Jan 08, 2014 1:30 am 
 View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger ICQ Number
digitall
ScummVM Developer


Joined: 02 Aug 2012
Posts: 799
 

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/Debugging_ScummVM#Android provides a way of getting access to log output via ADB or alogcat.

http://wiki.scummvm.org/index.php/Compiling_ScummVM/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.

 Reply with quote  
Post Wed Jan 08, 2014 1:48 am 
 View user's profile Send private message
RETROGAMER2014



Joined: 27 Jan 2014
Posts: 1
 

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)

 Reply with quote  
Post Tue Jan 28, 2014 9:46 am 
 View user's profile Send private message
elvvv



Joined: 16 Sep 2014
Posts: 1
 

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!

 Reply with quote  
Post Tue Sep 16, 2014 12:45 pm 
 View user's profile Send private message
tdmendes



Joined: 10 Jan 2015
Posts: 1
Still waiting 

It's 2016 and I'm still hoping for a solution on scummvm and nvidia shield portable

 Reply with quote  
Post Fri Mar 04, 2016 11:49 pm 
 View user's profile Send private message
  Display posts from previous:      
Reply to topic

Forum Jump:
 



Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Powered by phpBB © 2001, 2006 phpBB Group
Forum design by ScummVM team, icons by raina
curved edge   curved edge