New: XDA launches forum for app developers. Discuss coding, tools, marketing, and more.
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Tip us?
 
tjc2k4
Old
#1  
Junior Member - OP
Thanks Meter 6
Posts: 14
Join Date: Jan 2011
Default [ROM] Emulator / XBox360 Controller Mod 1-21-2011

Here's my first custom ROM for the A7.

It has support for Microsoft's XBox 360 controllers and some bundled emulators. Wired controllers just plug in to the USB port. Wireless controllers need the USB Receiver for PCs. This makes a great combo for a portable gaming station with the HDMI output.

XBox 360 Controller:
The controller can be used for some basic navigation around Android OS. The buttons need to be configured in each emulator.
They are mapped to key presses as follows:
A = A
B = B
X = X
Y = Y
Left Bumper = L
Right Bumper = R
Left Trigger = T
Right Trigger = Z
Left Stick Click = 0
Right Stick Click = 1
DPad = Left/Right/Up/Down (in landscape mode. it will be sideways in portait mode)
Start = ENTER
Back = ESCAPE
Xbox Guide = HOME

Apps:
The emulators included are free/lite ones from the market place. If you like them or to save state, purchase the full versions. The script that installs these is supposed to only do it once, so they should be easy to uninstall if you don't want them.
ConnectBot and Dolphin Mini Browser are also installed on the first boot of this ROM.

ADB:
The ROM automatically sets up ADB to listen over tcp on port 2323. This will make your device a little less secure but makes development and debug much faster for me. To disable this open a command prompt and type:
su
setprop services.adb.tcp.port -1
stop adbd
start adbd
You will have to do that every reboot to disable adb over tcp.

Base:
This is built off Dexter's 1.1 Mod, so all his changes should be in here too. GMail and Market seem to work fine.

To Install:
Copy update.zip to an sdcard and put it in the tablet. Power down the tablet. Enter recovery mode. Wipe the Cache. Wipe user data. Install update.zip from the sdcard.


Known Oddities:
The LED ring on the wireless remotes will flash the entire time, but it functions fine.
The LED ring on a wired controller will advance by 1 section each time the device sleeps/wakes up.
The controller sends all its keys on first connection.
Only 1 controller input is supported for now. The wireless receiver supports upto 4 so hopefully I can get some multiplayer going soon!

Link:
I've uploaded the update.zip file to Mediafire.com since I don't have the webspace anywhere to host a file this size (90mb). The file reference is "2hm8i9jt32btmkw"
This forum will not allow me to post a link direct link since I'm a new user, so if another user could post it ( "mediafire.com" then "/?" then "2hm8i9jt32btmkw" ), I would greatly appreciate it.

Try it out and give me some feedback
The Following 3 Users Say Thank You to tjc2k4 For This Useful Post: [ Click to Expand ]
 
manfly9884
Old
#2  
manfly9884's Avatar
Senior Member
Thanks Meter 14
Posts: 739
Join Date: Sep 2006
Location: Miami
Quote:
Originally Posted by tjc2k4 View Post
Here's my first custom ROM for the A7.

It has support for Microsoft's XBox 360 controllers and some bundled emulators. Wired controllers just plug in to the USB port. Wireless controllers need the USB Receiver for PCs. This makes a great combo for a portable gaming station with the HDMI output.

XBox 360 Controller:
The controller can be used for some basic navigation around Android OS. The buttons need to be configured in each emulator.
They are mapped to key presses as follows:
A = A
B = B
X = X
Y = Y
Left Bumper = L
Right Bumper = R
Left Trigger = T
Right Trigger = Z
Left Stick Click = 0
Right Stick Click = 1
DPad = Left/Right/Up/Down (in landscape mode. it will be sideways in portait mode)
Start = ENTER
Back = ESCAPE
Xbox Guide = HOME

Apps:
The emulators included are free/lite ones from the market place. If you like them or to save state, purchase the full versions. The script that installs these is supposed to only do it once, so they should be easy to uninstall if you don't want them.
ConnectBot and Dolphin Mini Browser are also installed on the first boot of this ROM.

ADB:
The ROM automatically sets up ADB to listen over tcp on port 2323. This will make your device a little less secure but makes development and debug much faster for me. To disable this open a command prompt and type:
su
setprop services.adb.tcp.port -1
stop adbd
start adbd
You will have to do that every reboot to disable adb over tcp.

Base:
This is built off Dexter's 1.1 Mod, so all his changes should be in here too. GMail and Market seem to work fine.

To Install:
Copy update.zip to an sdcard and put it in the tablet. Power down the tablet. Enter recovery mode. Wipe the Cache. Wipe user data. Install update.zip from the sdcard.


Known Oddities:
The LED ring on the wireless remotes will flash the entire time, but it functions fine.
The LED ring on a wired controller will advance by 1 section each time the device sleeps/wakes up.
The controller sends all its keys on first connection.
Only 1 controller input is supported for now. The wireless receiver supports upto 4 so hopefully I can get some multiplayer going soon!

Link:
I've uploaded the update.zip file to Mediafire.com since I don't have the webspace anywhere to host a file this size (90mb). The file reference is "2hm8i9jt32btmkw"
This forum will not allow me to post a link direct link since I'm a new user, so if another user could post it ( "mediafire.com" then "/?" then "2hm8i9jt32btmkw" ), I would greatly appreciate it.

Try it out and give me some feedback
Will try it out. Here is the link: http://www.mediafire.com/?2hm8i9jt32btmkw
Acer Iconia
Rom: ICS Stock

Nexus 4
ROM: ParanoidAndroid

http://twitter.com/ChrisGaldames[/url]

Android: Setting you free.

[CENTER]
Go Here and make a difference!

Do it for Emily and Joe!
 
manfly9884
Old
#3  
manfly9884's Avatar
Senior Member
Thanks Meter 14
Posts: 739
Join Date: Sep 2006
Location: Miami
Nice to see somebody else get involved with the A7.
Acer Iconia
Rom: ICS Stock

Nexus 4
ROM: ParanoidAndroid

http://twitter.com/ChrisGaldames[/url]

Android: Setting you free.

[CENTER]
Go Here and make a difference!

Do it for Emily and Joe!
 
manfly9884
Old
#4  
manfly9884's Avatar
Senior Member
Thanks Meter 14
Posts: 739
Join Date: Sep 2006
Location: Miami
Got any screen shots?
Acer Iconia
Rom: ICS Stock

Nexus 4
ROM: ParanoidAndroid

http://twitter.com/ChrisGaldames[/url]

Android: Setting you free.

[CENTER]
Go Here and make a difference!

Do it for Emily and Joe!
 
hextor_dark
Old
#5  
Member
Thanks Meter 0
Posts: 33
Join Date: Jan 2011
Amazing!!!!!
 
tjc2k4
Old
#6  
Junior Member - OP
Thanks Meter 6
Posts: 14
Join Date: Jan 2011
Default Video

I recorded a short clip of some Super Mario 3.
Can't post direct links yet so take out the spaces here:
youtube.com / watch?v=TCMPpj3pizQ
 
rickycodie
Old
#7  
Junior Member
Thanks Meter 1
Posts: 12
Join Date: Oct 2010
I'm trying it too. Might as well since I'm probably going to return of and get a Adam.
 
masterfred
Old
#8  
Member
Thanks Meter 4
Posts: 67
Join Date: Jun 2008
Just wondering ... this is not a multi-touch screen ... can you control the D-Pad and press like A Button without lifting the D-Pad ?
 
tjc2k4
Old
#9  
Junior Member - OP
Thanks Meter 6
Posts: 14
Join Date: Jan 2011
Quote:
Originally Posted by masterfred
Just wondering ... this is not a multi-touch screen ... can you control the D-Pad and press like A Button without lifting the D-Pad ?
Yeah, it lets you hit multiple buttons at once.
In Mario 3 I could hold the run button and use dpad, then jump/fly without trouble.
In Mario 1 I had trouble changing directions in the air while jumping but I think that is part of the game.
In the PSX emulator I could hold Circle & DPad to run around.

The only strange thing I can think of is that the Left Trigger and Right Trigger are converted from Analog to Digital (they measure 0-255 but only report on/off). Because of how I did that, games probably wont recognize holding down those buttons, only a momentary press.
 
Mr. Clown
Old
#10  
Mr. Clown's Avatar
Senior Moderator - Fear the Clown
Thanks Meter 2011
Posts: 5,545
Join Date: Nov 2008
Location: Tegucigalpa

 
DONATE TO ME
Quote:
Originally Posted by tjc2k4 View Post
I recorded a short clip of some Super Mario 3.
Can't post direct links yet so take out the spaces here:


MOD Edit: You got it

Devices:
Samsung Galaxy SIII I9300 - Stock Rom 4.2.2
T-Mobile SGH-T999 - Stock Rom 4.1.1
HTC HD2 : Nexus HD2 JB 4.1.2