maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Games (https://talk.maemo.org/forumdisplay.php?f=12)
-   -   PS3 controller (DS3) & Game Gripper for WebOS (scripts) (https://talk.maemo.org/showthread.php?t=69263)

hadjistyllis 2011-02-02 16:03

PS3 controller (DS3) & Game Gripper for WebOS (scripts)
 
3 Attachment(s)
Update 2/6: Added Full Moon GameGripper and Dualschock.


Hi guys:)
Thanks to Jflat and Javispedro we can now play some games with PS3 controller using the analog stick and accelerometer.

1)Remove
/usr/share/hal/fdi/policy/20thirdparty/20-x11-sony-sixaxis.fdi
to use Sisaxis as original joystick without button emulation.

2)Install or upgrade Preenv hd if you haven't already.
http://www.mediafire.com/?qvfh13ajnj3kf0a

3)Download and copy libsdlpre.so it to MyDocs http://www.mediafire.com/?853oeu9tvwawa89
Open Xterm
sudo gainroot
mv /home/usr/MyDocs/libsdlpre.so /opt/preenv/lib/libsdlpre.so
This install latest Jflat patch(required to use keyboard & sixaxis mapping)
NOTE:for touchpad games http://www.mediafire.com/?9ek2emk2am67n8l}

4)Download The Game sh files you want From

http://www.mediafire.com/?bze4kjp8k6uzf (SIXAXIS)
http://www.mediafire.com/?g1ixg7i26109n (Gamegripper)


5) Send the "sh" file you want to your N900 via Bluetooth and save to MyDocs

6)Open Xterm
sudo gainroot
cd MyDocs
sh xxxx.sh
xxxx the name of the sh you download.

7) All done. Enjoy

In case You want to reset all settings just use "Clear_all.sh"


Games sh files for PS3 Controller-FULL VERSION:

Avatar: (analog stick for move,start for pause,O to resume,Δ to jump, square fire,X bomb,r1 to show the way to go)
Blades: (analog stick for move,start for pause,triangle square circle and X for other)
Castle of Magic: (D-pad for move,start for pause,square&circle (jump), triangle&X for fire,R2 for skip)
Earthwormjim: (analog stick for move(change control scheme to analog),start for pause,triangle square and X as show on screen)
NOVA: control scheme 3 (left analog stick for move,right to look,start for pause,select to resume,R2 L2 to change weapons, l1 fire, l2 jump,x bomb,O flash bomb)
NOTE: Control scheme 3 game error, you cant use jump,download my interface.dat (from downloads)unzip and copy to game folder and replace-I just move the jump button to the right,ok with sixaxis sh.
Driver: (D-Pad for left and right(change control scheme to D-Pad),start for pause,select for map,triangle=burnout, square=stopper circle=handbrake X=accelerate,R2&L2 change radio channel,R1&L2 right and left burnout,analog1&2 buttons left&right handbrake)
Rockband: (colours with this sequence:down,right,X,O - start for pause,microphone:left,up,square,Δ)
NOTE: Use this to rotate screen to landscape to work
gconftool-2 --set --type int /apps/preenv/rockband.na.en.ipk/screen_rotation 0

Games NEED FIX.
Fifa: control sceme 2.(analog stick 1 for move,start for pause,O button B ,X button A,L2 A->B->A,hold L2 A->B,R2 B->A->B,hold R2 B->A,L1&R1 foul move,analog stick 2 for foul & penalty kicks-NEED FIX)
Driver: (analog stick for left and right(change control scheme to analog)-NOT WORKING ON LATEST JFLATT PATCH,start for pause,select for map,triangle square circle and X as show on screen,R2&L2 change radio channel)

Accelerometer Games using DS3 accelerometer or Dpad
Asphalt 5 & Raging thunder 2 & Driver ("Accelometer or Dpad" folder on sixaxis link)
Square-X-circle-Start other buttons

Any fixes and update acceptable.:D
Also upload your own configuration to upload it here.

The GameGripper scripts are not mine except Asphalt and Raging thunder-I don't own a Game Gripper to check them.
FOR Game Gripper Games scripts:
http://www.mediafire.com/?g1ixg7i26109n

FOR SIXAXIS Games scripts:
http://www.mediafire.com/?bze4kjp8k6uzf

Keyboard keys are like this

306 113 119 101 114 116 121 117 105 111 112 44 8
313 97 115 100 102 103 104 106 107 108 46 273 271
304 122 120 99 118 98 110 109 32 276 274 275


If someone want to change the Sixaxis keys inside the script here is the keymap:

AgogData 2011-02-02 16:26

Re: PS3 controller (DS3) for WebOS (scripts)
 
very nice, i liked the (Clear_all.sh) you took care of everything :)

Boemien 2011-02-02 16:30

Re: PS3 controller (DS3) for WebOS (scripts)
 
Nice Job! i would also suggest a new thread for Basic sh keymapping files for each games which work for current preenv release!

hadjistyllis 2011-02-09 16:39

Re: PS3 controller (DS3) & Game Gripper for WebOS (scripts)
 
Added Asphalt & Raging Thunder Accelerometer support for DualShock 3

HtheB 2011-02-13 21:22

Re: PS3 controller (DS3) & Game Gripper for WebOS (scripts)
 
1 Attachment(s)
Found an error on Asphalt5 Game Gripper.
Left button is assigned to brake :P

See attachment for fixed buttons

MINKIN2 2011-02-13 22:08

Re: PS3 controller (DS3) & Game Gripper for WebOS (scripts)
 
Thanks, this will definitly help any of the new guys to boards. The preenv threads are a night mare to keep up with even if you miss a few days of posts.

Has the Nova.sh script been updated with Right Analogue stick controlls yet?

Au{R}oN 2011-02-13 23:26

Re: PS3 controller (DS3) & Game Gripper for WebOS (scripts)
 
thaaaanks :P

hadjistyllis 2011-02-14 18:15

Re: PS3 controller (DS3) & Game Gripper for WebOS (scripts)
 
Quote:

Originally Posted by MINKIN2 (Post 945422)
Thanks, this will definitly help any of the new guys to boards. The preenv threads are a night mare to keep up with even if you miss a few days of posts.

Has the Nova.sh script been updated with Right Analogue stick controlls yet?

Unfortunately you cant use the two analog until jflat update his patch to do this. Just wait, It unplayable with dual shock 3 without using the two analogue stick.
Be sure I will post it if i make it possible

hadjistyllis 2011-02-14 18:28

Re: PS3 controller (DS3) & Game Gripper for WebOS (scripts)
 
Updates:
Update avatar on sixaxis: added special power button
update avatar and asphalt(thanks HtheB) on gamegripper

athame 2011-02-17 15:02

Re: PS3 controller (DS3) & Game Gripper for WebOS (scripts)
 
fifa.sh is keyboard config, not joystick!
Change this file please.


All times are GMT. The time now is 23:48.

vBulletin® Version 3.8.8