[Q] Custom overlay keys and joystick.for controlling games - Windows 8 Development and Hacking

There are many many games out there that are playable on the new Atom powered tablets. Mafia 1 for instance looks great, probably better than any sandbox game for tablets.
And there are many more, think of diablo 2 for example.
The problem is, we lack the controls without a keyboard and mouse.
What I have in mind is an overlay control set including mapable keys and directional joysticks, like the ones most Android games come with by default.
Does anybody know if such an app exists? If someone were to make one, I'm sure it would sell like hotcakes provided the vast array of legendary titles windows can boas with.

So far all I have found are Comfort on-screen keyboard and hot virtual keyboard. They're quite expensive but I managed to play Need for Speed 5 and carmageddon TDR
What we need is joystick emulation, to be able to aim, even though without auto aiming, gaming on a tablet can be quite tricky.

Someone make a gummy stickonscreen Bluetooth capable dpad and buttons for our win8 tablets
Thankyou

I've been working on something like this.
It's all in .net, so it runs fine on Windows 8 and Windows RT. I still need to get it loading configs up properly (for customization), but I've got all the hard/tricky parts done.
It doesn't seem to like Quake, but it works great with DosBox.

So where do those keys come from? Are they built in dosbox?

Bec07 said:
So where do those keys come from? Are they built in dosbox?
Click to expand...
Click to collapse
No, it's a program I made. See http://forum.xda-developers.com/showthread.php?t=2142997

Related

Who says we need powerful GPUs? (OnLive available on android)

Something I posted in the Nexus S forums but thought this is quite fitting for Galaxy Nexus guys for obvious reasons...
Yes I understand GPUs are important for other things. Thread title is a joke. But check this out...OnLive . Basically OnLive is going to try running their services to tablets (doing the game computing in the cloud). I am totally willing to try this! Imagine xbox/ps3 like games on your tablet or even your phone.
I tried running the app on my OG Droid, but it just stays at the loading screen.
So I'm still a little confused on how it works.
are the games being computed on the device? or is it all being done on their servers and so the app acts as a VNC or a remote connection?
paOol said:
I tried running the app on my OG Droid, but it just stays at the loading screen.
So I'm still a little confused on how it works.
are the games being computed on the device? or is it all being done on their servers and so the app acts as a VNC or a remote connection?
Click to expand...
Click to collapse
Lucky. I can't even find it on the market. From what I gather, OnLive does all the computing on their servers and sends it to your tablet so basically your tablet is just a screen with controls.
Think remote desktop but with heavy compression and geared for speed. It works fine in some games but probably not so great at reflex games or FPS. Onlive has been around for a while.
Sent from Asus Transformer
I will def get this looks Awesome!!
Sent from my ADR6400L using Tapatalk
When I start games on OnLive it says that I have selected a game that requires controler and the game does not respond. Is there some virtual pad that could simulate controls on the screen? I would like to play games with onscreen controls, shadowgun way, rather than carry pad with my phone.
rokfor2000 said:
When I start games on OnLive it says that I have selected a game that requires controler and the game does not respond. Is there some virtual pad that could simulate controls on the screen? I would like to play games with onscreen controls, shadowgun way, rather than carry pad with my phone.
Click to expand...
Click to collapse
There are 3 different game types. Ones that require a keyboard/mouse, ones that require a game pad, and ones that are optimized for touch. Some games support all three, some support only two and some support only one. You need to find the games that support what hardware you have on hand. Obviously on a phone you're limited to touch and maybe some mouse based games.
I played Dirt 3, which of course is a very fast paced game, on my tablet the other day. It played just fine. No lag at all and very responsive. Only issue were the actual controls. Little hard to use the virtual controls for such a game.
Sent from my DROID RAZR using XDA App

Are there games that support the physical keyboard?

Or is it possible to use games with the physical keyboard?
Only one that I know of is the quake 3 port for android.
Here http://code.google.com/p/kwaak3/
The dev would have to include that functionality in their game unfortunately, nothing we can do on this end. But, you can play Playstation Games using the FPse emulator on the market, and that lets you map buttons to the physical keyboard.
There's an app coming out (out already maybe?) for jailbroken iOS that maps bluetooth controller input to touch regions on the screen.
Basically it takes input from the controller and passes it as if someone had touched the appropriate control area.
Not sure if something similar is doable within the Android system.
Trying to find where I saw this recently, will provide a link to clarify as soon as I do.
E: BAM!
http://www.icontrolpad.com/blutrol/
Something like that would solve the issue in question.
This would be cool for emulators. Sometimes its hard to play games with onscreen buttons on emulators for me at least.
boricua10 said:
This would be cool for emulators. Sometimes its hard to play games with onscreen buttons on emulators for me at least.
Click to expand...
Click to collapse
Personally, I've found that the Desire Z keyboard isn't ideal for playing emulated games. Better than touch screen for sure, but not ideal.
Bluez-ime + a wiimote is my preferred choice.
Replica island supports keyboard too, can be found on market.
Ozzy's Odessey is controllable with the hardware keyboard. I found the game very enjoyable
https://market.android.com/details?...SwxLDEsImNvbS5jYXJib25jcnlzdGFsLm9keXNzZXkiXQ..
muriani said:
There's an app coming out (out already maybe?) for jailbroken iOS that maps bluetooth controller input to touch regions on the screen.
Basically it takes input from the controller and passes it as if someone had touched the appropriate control area.
Not sure if something similar is doable within the Android system.
Trying to find where I saw this recently, will provide a link to clarify as soon as I do.
E: BAM!
http://www.icontrolpad.com/blutrol/
Something like that would solve the issue in question.
Click to expand...
Click to collapse
Thought of developing something similar hundred times, but there were problems (can't remember which exactly.. Nice to know that if it has been done, it's possible to do it!
INC by OrangePixel is also playable using the keyboard
Turbofly 3D is great to play with the keyboard!
Greetings ivifly
You can use your physical keyboard with emulators. I use it for my snes.
Sent from my T-Mobile HTC G2 using xda premium app
Rooted w/ S-OFF
Current ROM : G2Slim 1.6
Radio : 26.13.04.19_M.
So far I've found:
Cordy,
Spectral Souls (configurable layout, I assume Generation of Chaos does that too),
Zenonia 4 (weird layout but playable).
other games too
Games like gta 3 can also be controlled through an external keyboard.
Sonic the Hedgehog 1 uses WASD and some odd key for jump (I forget which) on my Desire Z. Not really tried many other as I'm not really a gamer.
I just wondering in forum and found that topic.
Very nice physical keyboard working on all rogue like games , angband etc.
The best experiance with physical keyboard.
I find that the Desire Z keyboard is rather nice for gaming. It's just that the keyboard layout isn't parallel like normal keyboards so using WASD is pretty difficult.
games using physical keyboard: Andrio's World, Ozzy's Odyssey Trial
brianlzf said:
I find that the Desire Z keyboard is rather nice for gaming. It's just that the keyboard layout isn't parallel like normal keyboards so using WASD is pretty difficult.
Click to expand...
Click to collapse
??? It's like a normal keyboard? what's the problem?
there is no problems for some people with undersized fingers...
mrbelou said:
there is no problems for some people with undersized fingers...
Click to expand...
Click to collapse
What does that have to do with the statement "It's just that the keyboard layout isn't parallel like normal keyboards"?

[Q] Ouya touch sensor the same as a touch screen?

I just started reading up on Ouya, and I'm thinking about porting my games to there, but they don't work well with a joystick/controller.
I read that Ouya has a touch sensor of some kind.
Does anyone know if this is the same as a touchscreen on a phone/tablet?
Would i have to change my code in my html5 games to detect this touch sensor, or would it just work with events like ontouchstart etc.?
The controller has a touch sensor in the middle - for moving a mouse pointer around. I'm not sure what you will have to do to adapt your games to it, but OUYA is more aimed at controller input.
~Troop
is it really possible to port console games?
I would suggest downloading and looking at their dev kit. It's free. Probably give more insight into the controllers capabilities.
With that said, if the game was designed with touch inputs to start, it probably isn't a controller friendly game. Just like most third/first person shooter games are not that touch input user friendly. Thus, part of the question and answer is going to depending on your game.
Yes it is just the same, you can use it on other games ^^
At the moment it simply acts as a mouse. in fact, nobody at OUYA knows how to NOT use it as just a mouse. also, for the first half-second after activating the touch-pad... the OUYA doesnt differentiate between which controller is in use, and returns the feedback for all players in that time.
As OUYA didn't realise it was necesarry to have a pause/menu button on their controllers, some devs caught touchpad movement as a menu-activation, but that has since changed, and really, so has most community support for the very low res touchpad
You can use it for touch feedback ingame provided you use YOUR OWN methods to determine which player used it, and that you can adjust the resolution of the touchpad to the different screen resolutions yourself, as OUYA also doesnt calculate that part (ie 720lines vs 1080)
Hicsy said:
At the moment it simply acts as a mouse. in fact, nobody at OUYA knows how to NOT use it as just a mouse. also, for the first half-second after activating the touch-pad... the OUYA doesnt differentiate between which controller is in use, and returns the feedback for all players in that time.
As OUYA didn't realise it was necesarry to have a pause/menu button on their controllers, some devs caught touchpad movement as a menu-activation, but that has since changed, and really, so has most community support for the very low res touchpad
You can use it for touch feedback ingame provided you use YOUR OWN methods to determine which player used it, and that you can adjust the resolution of the touchpad to the different screen resolutions yourself, as OUYA also doesnt calculate that part (ie 720lines vs 1080)
Click to expand...
Click to collapse
My experience as well. It's a very crude laptop type trackpad, with horrible sensitivity. It gets the job done, but I wouldn't use it for anything game related. Only navigating UI that isn't controller friendly (especially if you install a new launcher such as Nova, like I did). And yes, I have actually already found a couple games on the Ouya store that are difficult/impossible to navigate with the controller without the trackpad.. High quality stuff..

Gamekeyboard+ doesn't work... Any alternatives?

I've recently rooted my phone just to try out Gamekeyboard+ with a bluetooth keyboard I happen to own. For those of you who don't know - Gamekeyboard+ is an app which gives you a plethora of features to remap physical keys, emulate joysticks, and tamper with controls in many other ways. Probably the biggest feature is the ability to emulate touchscreen actions with physical keys, for example a gamepad. This makes it possible to make virtually any game compatible with physical controllers. Unfortunately, this last function does not work with Zenfone 2, from what I just learned. Upon attempting to use touchscreen emulation, the phone freezes for a couple of seconds and the app crashes.
I've contacted Locnet, the company behind Gamekeyboard+, and they replied that the cause is probably that the app requires an ARM processor, while Zenfone 2 has an Intel processor.
That is a real bummer... since game makers for Android are usually extremely reluctant to add control mapping options in their games, forcing you to rely on the touchscreen, which is a disaster when playing a fast paced action games.
I'm here to ask, are the any alternatives to this app? I just ordered a gamepad for my Zenfone, but since games rarely support gamepads, it's gonna be mostly useless without a solution like GK+.
Hmm
Sent from my Z00D using Tapatalk

Emulators - which one

Been using the command line for just about everything.
I do quite a bit of work as I have 2 rooted boxes and one running the Google Play store (among other things).
What emulator seems to be best - time to move from the CL to a GUI.
Which is best?
Emulators for what? (Command line?) On what Box? You've been using a CLI for everything so far? Like what? You do quite a lot of work? Thats remarkable. Let me congratulate you on that.
If you want recommendations on emulators for old video game systems - ask again, I might provide you with a detailed answer - even though this thread so far seems like it wants to bait information by sounding like you are a techy person yourself (ey, buddy, buddy) although none of the statements above makes much sense.
If I am mistaken and you want recommendations for the best Terminal emulator out there, I don't know. But try "Terminal Emulator" first, because thats usually what everyone uses when it comes to terminal emulators..
---------- Post added at 09:09 AM ---------- Previous post was at 08:35 AM ----------
Oh, what the - I have the time, so why not...
If other people read this thread, looking for video game emulator recommendations.
Retroarch for everything thats not CPU intensive to emulate. Because it is a one stop setup solution for many (most) systems. Also it has the only implementation of ScummVM thats actually usable with a controller. (If you use scummvm - swapping to the new GUI theme (you have to find it as a zip file on the web) is much easier on the eyes, just fyi)
I use version 1.3.0 - because newer versions produced slowdowns on PCSX Rearmed. Havent tested the most recent builds though.
If you are on a Fire TV Stick, use either Snes9xEX version 1.5.1. or 1.5.27 (I think I stuck to 1.5.1) for SNES games as using other emulators/builds might result in performance issues http://www.explusalpha.com/home/snes9x-ex/downloads
If you are on a Fire TV 2 (as supposed to a Fire TV Stick, havent tested the Fire TV 1):
For most PSX games use ePSXe, most recent version.
For PSP Games use PPSSPP, most recent version.
For DS Emulation use DraStic (hard to set up, because its a paid emu, and Play Store licensing doesn't work in this case - had to resort to illicit means to get it working)
For Dreamcast emulation, use reicast (most recent beta build ( http://builds.reicast.com/ ), but it also depends on the game).
For N64 emulation use Mupen64Plus FZ Edition - its by far the best one. Most recent build should be fine as well.
Dolphin is a non starter on the AFTV2.
As for PPSSPP and ePSXe, learn what the settings do - which setting enables hardware acceleration, which setting disables certain effects - it usually is the difference between a game being perfectly playable or dropping frames. Don't resort to Youtube tutorials. Read up on the settings instead.
Result:
http://imgbox.com/g/hcG8Ulv2QY
You can use the n and b keys on your keyboard to navigate forwards and backwards in the single image view.
edit: Also - consider buying a Xiaomi Game Controller, because it is cheap and has a great digipad. To get the best results out of this controller, be rooted and change line 42 in the Vendor_2836_Product_0001.kl file in /system/usr/keylayout/ from
key 0x13f HOME ALT #Long Press
to
key 0x13f BUTTON_START #Long Press
Otherwise, you will end up in the Amazon launcher in a few emulators that don't prevent this from happening. (It prevents this isue: https://www.reddit.com/r/fireTV/comments/5d9ptb/amazon_fire_tv_box_xbox_360_dongle_issues/ - but understand, that there are different kl files you have to edit for different controllers)
If you have issues with the controller going to sleep and then refusing to reconnect within an emulator - use a rubber band to pin the right stick to a tilt. Most games you emulate won't use the right stick, and this prevents the controller from turning off.
Not sure, if it helps in every case, but also google for
Bluetooth Auto Connect lag
and read up on how to potentially minimize the input lag from a Bluetooth controller using the Bluetooth Auto Connect app. Understand that in more recent versions the layout of the app has changed.
Also - just FYI, all the games you see in the images above are perfectly playable - for the beat em ups this means no framedrops whatsoever, on the other games - if there are framedrops, I havent noticed them.
The only exception is Tekken 3 running with upscaling on ePSXe. If you use Retroarch and PCSX Rearmed to emulate it (even with scanlines ) it runs frame perfect. (on Retroarch 1.3.0 that is - I just checked it out with 1.3.6 on a much beefier Android device, and it still drops frames - although the textures look better. If you wan't better playability, stick to 1.3.0) Tekken 6 also runs without dropping frames, even with some upscaling, although you have to disable graphical effects, or you will get noticable drops. All other PSP games I tested play perfectly fine with effects enabled. All Dreamcast games I tested also run without dropping frames.

Categories

Resources